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?
Answers were Sorted based on User's Feedback
Answer / babbi
1) We can delcare a Display file.
2) Under V5R2 its 1
V5R3 its 5
3) Nothing but a simple logical file.
We can update data thru Non-join LF, contrary to Join
LFs.
| Is This Answer Correct ? | 34 Yes | 0 No |
1.) Yes. WE declare Display file using DCLF command.
2.)Guess you can have 5 DCLF command in a CL.
3.)
| Is This Answer Correct ? | 25 Yes | 2 No |
Answer / 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 |
Answer / kiran
1)YES USING DCLF COMMAND
2)ONLY ONE FILE CAN BE DECLARED
| Is This Answer Correct ? | 3 Yes | 11 No |
What is keyword PFILE specifies ?
how can you check for a records existence without causing and i/o (chain/read)?
it is possible declare variable values as variable using cl ? any cl command is there to declare values as variable
during input operation which indicator position is seton if there is a record lock?
How many types of jobs?what is difference between interactive and batch and submited jobs?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
I am working in session1 ans session2. In session1 3 jobs are running. In session2 2 jobs are running. How many LDA and temporary files will be created?
Pgm A is invoked through HTTP. It is in Activtion group QILE. Pgm A calls Pgm B and Pgm C. Pgm B is in activation group TEMPACTGRP. Pgm A ends in error. Pgm A is called again. But it gives an error that TEMPACTGRP still exists and files are present in QTEMP. What is the cause and how will u fix?
what is the version of os/400 that we have?
What is library is as400? What are the types of library?
What does SDA stands for ?
What are the mandatory keywords of sub file?