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
How can we read file using curser? how to define a curser?
what does check opcode do ?
define the purpose of the iter operation?
what is the difference between seton lr and retrn?
Difference Between Ca & Cf?
define the purpose/use for sflrna?
why is the declare cursor statement is used for?
what is the function of cpyf command?
name few ibm supplied libraries?
how do you read changed records backward in subfile?
how to define global parameter in ile ?
which cl command is used to trap error messages during program execution?
how to toggle between single line and multi - line display of a particular record in a subfile?
define the purpose of the *cat function?
In Which Specs Arrays, Tables & Constants Are Defined?