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 you check for a records existence without causing and i/o (chain/read)?
what is the purpose of putovr (put with explicit override) keyword?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
what is *iso date format?
what keyword must be used with protect keyword ?
define the purpose of the %sst function?
Write a logic program for knowing the repeated number of a vowels in a given program?
what is the use of unique keyword and what level it is defined?
What Does Lokup Does In Tables & Arrays?
what is overlay?
what if my system I runs with system value qccsid 65535?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
what does the ovrdbf command do?
In 'o' Specs What Is The Opcode For Write?
what is the purpose of the indara keyword?