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



1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) W..

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) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) W..

Answer / rashmimalpani

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

1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) W..

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

1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) W..

Answer / kiran

1)YES USING DCLF COMMAND

2)ONLY ONE FILE CAN BE DECLARED

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the maximum number of elements in an array?

1 Answers  


what is the function of cpyf command?

1 Answers   IBM,


what key word is used when screen is re-display?

0 Answers   IBM,


Which command we can use to update a physical file using c.l pgm?

19 Answers   Ocwen,


For AS/400 Freshers good website is

3 Answers   HCL, HP,






(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.

5 Answers   FIS, IBM, Virtusa,


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?

3 Answers  


what is match field indicator?

1 Answers   IBM,


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

1 Answers  


Difference between NOPASS & OMIT?

0 Answers  


what are the two record formats a subfile contain ?

1 Answers   IBM,


Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?

3 Answers   Keane India Ltd,


Categories