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
what does vldcmdkey means?
in conjunction with what other keyword must ovrdta and ovrata be used?
How to add 99 menu (page down) option in menu creation..
what is the purpose of overrides?
how many specifications are there in rpg/400? What are they?
what is the use of data structures?
how can I control from my cgis the cache of a remote browser?
how can you execute a command from within an rpg program without calling a clp program?
how can I predict the performance of my cgis?
what is the maximum number of subfiles that can specified in a display file ?
what is *iso date format?
what is the difference between sflclr and sflinz?
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
what does dfu program you to do on a record?
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?