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 do you read data area in an rpg program?
which are the member types which seu supports?
what is a composite key?
how will you display a particular page in subfile ?
what is the use of dspatr(mdt) keyword?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
how you get the relative record in a subfile in which cursor is located?
Can you summarize the steps I have to go through in writing my first cgi?
WHAT IS FERERENTIAL INTRIGRITY ?
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
what is a program described file in rpg?
which cl command is used to trap error messages during program execution?
how to validate input values in display file ?
What Does Lokup Does In Tables & Arrays?