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
which are the relational operators in rpg?
WHAT IS FERERENTIAL INTRIGRITY ?
different type of cursor?
what does vldcmdkey means?
describe the difference between the dowxx and douxx operations?
What is the Difference between command attention key and command function key ?
define subsystem?
Apart from opening of a file do we have any other use of USROPN?
Difference Between Interactive & Batch Job?
what is the favicon.ico request that my site receives now and then?
Difference Between Call & Sbmjob?
how many specifications are there in rpg/400? What are they?
what is the maximum number of subroutines allowed in rpg?
What is the use of jdftval in as400?
what is the purpose of ovrdta (override data) keyword?