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

Is it necessary to define all formats ? Which are mandatory and which are Optional ?

1 Answers  


What is field reference file?

1 Answers  


How to create files dynamically without DDS?

1 Answers  


why is as/400 called object oriented machine?

1 Answers   IBM,


what is externally described file ?

1 Answers   IBM,






what is the rpg and cl life cycle?Please tell me any body

4 Answers  


how to get the particular field's records in CL without using OVRDBF,OPNQRY? tell me the concept?

2 Answers  


I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?

13 Answers   Mind Tree,


Explain The Keywords Edtcde & Edtwrd?

0 Answers   IBM,


What is an Array Data Structure?

1 Answers  


How to create a user defined (general) data area?

1 Answers  


Define an Interactive Job?

1 Answers  


Categories