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 the difference between packed decimal and zoned decimal?
What is the difference between array and a multiple occurrence data structure?
what is lokup opcode?
when would you use or not use this approach?
What is the difference between a Physical File & a Logical?
28 Answers Accenture, ACS, IBM,
what are indicators?
Describe about Query/400?
which are the figurative constants used in rpg?
How can we update a specific field in RPG?
What are the different definition levels in Data Description Specifications?
What is the purpose of USROPN keyword?
what is a program described file in rpg?