1) Can we declare a Display file in CL?
2) How many no. of files can be declared in a CL?
3) What is Non-Join Logical file and its importance?
Answers were Sorted based on User's Feedback
Answer / babbi
1) We can delcare a Display file.
2) Under V5R2 its 1
V5R3 its 5
3) Nothing but a simple logical file.
We can update data thru Non-join LF, contrary to Join
LFs.
| Is This Answer Correct ? | 34 Yes | 0 No |
1.) Yes. WE declare Display file using DCLF command.
2.)Guess you can have 5 DCLF command in a CL.
3.)
| Is This Answer Correct ? | 25 Yes | 2 No |
Answer / jay choudhari
* To declare frist physical file.
CL CODE:
DCLF FILE(PHYSICAL FILE NAME)
READ: RCVF RCDFMT(PF RECORD FMT NAME)
MONSMS MSGID(CPF0864) EXEC(GOTO CMDLBL(END))
OPERATIONS
GOTO CMDLBL(READ)
END: ENDPGM
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / kiran
1)YES USING DCLF COMMAND
2)ONLY ONE FILE CAN BE DECLARED
| Is This Answer Correct ? | 3 Yes | 11 No |
WHAT IS ACTIVATION GROUP IN ILE?
10 Answers Accenture, HSBC, TCS,
List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased
what is a non-join logical file?
what is the maximum number of parameters allowed in clp?
Describe the function of SETLL operation in RPG language?
what is flatfile?what is the use of this file?where we can use usualy?what is the advantage of this?
What is the purpose of OVRDTA keyword ?
What is the use purpose of CRTCMD?
how a varible can be passed to a subfile...accnt1 contain data in a data area..ie Daccnt1 uds,Daccnt2 3 overlay(accnt1:1), DNo 4 overlay(accnt1:4)..we want to transfer this dataarea value from acnt0001 to a subfile..that means to enter each record we have to incriment account no,, i normal window we can do move accnt1 account_no eval account_no=accnt1 eval no=no+1 exfmt usr_account how it possible with Subfile????????.Please do answer? (Thank you for all your answers dear friends!!)
what is elastic and non elastic subrile?
what is the purpose of putovr (put with explicit override) keyword?
What is an ICF file?