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?
Answer Posted / 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 |
Post New Answer View All Answers
can error messages as a result of a comp, range or values keyword be overridden?
how do you use commitment control in rpg program ?
writing an sql statement from selecting records from two files using single statement and nested select statement.
define what a data queue is along with a brief example of what it may be used for?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
what is term cua , saa?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
Difference Between Source Physical File & Physical File?
Why we are not able to perform insert delete and update operation in Join logical file?
can a indexed file be accessed in arrival sequence in rpg program?
how can you check for a records existence without causing and i/o (chain/read)?
what is externally described file ?
What Is Ddm ?
under given circumstances, my cgi should link to another site. How to implement this?
how you will find an error which is not in the first page of the subfile without using rolldown key?