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 difference between physical file and logical file?

0 Answers  


What is the purpose of USROPN keyword?

1 Answers   CTS,


What is binder language ?

0 Answers  


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help...

1 Answers  


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






what are the limitations of cl (compare to rpg) ?

1 Answers   IBM,


. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?

1 Answers   Wipro,


What is the native language of AS/400?

1 Answers  


what is the sequence when using cursor?

0 Answers   IBM,


In RPG How to read a records from a file without using read opcodes?

0 Answers  


what is a logical file?

1 Answers   IBM,


what is logical file?

0 Answers   IBM,


Categories