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 maximum number of elements in an array?
what is the function of cpyf command?
what key word is used when screen is re-display?
Which command we can use to update a physical file using c.l pgm?
For AS/400 Freshers good website is
(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these keywords is necessary. (2)If we will not define these two keywords (PGMand ENDPGM) then any error will be come or not.
Hi,while writing a program, what is the mandatory specification using rpg/400 (in7 specification)?And please tell me what is the difference between SCAN AND CHECK opcodes?can any body tell me in real time senario?with example?
what is match field indicator?
Define the purpose of the following code (If you know, how would this be written in RPG ILE) HI LO EQ C *IN66 DOUEQ *OFF C KEY1 CHAIN FILEA 90 66 C 66 CALL PGM1 PRM C ENDDO
Difference between NOPASS & OMIT?
what are the two record formats a subfile contain ?
Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?