Q. 1.What would be structure of CL PGM.
2. What are the levels of CL PGM.
3.How many files can be defined in new CLLE program?

Answers were Sorted based on User's Feedback



Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be ..

Answer / swetha p rao

1. Structure of CL prgm

PGM

declare variables
declare files
program processing statements

ENDPGM

3. 5 Files can be declared in CLLE ,we have to use file
open identifiers(OPNID) to read these programs

Is This Answer Correct ?    14 Yes 2 No

Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be ..

Answer / abhishek

You can also declare file before declaring variable. i.e.

PGM

Declare files
Declare variables
Program processing statements

ENDPGM

Is This Answer Correct ?    8 Yes 1 No

Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be ..

Answer / uttam

1.structure of cl pgm

PGM
DECLARE VARIABLES
DECLARE DISPLAYFILES
DECLARE FILES
PROCESS STATENTS

ENDPGM

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is logical file?

0 Answers   IBM,


at what level s,o are defined and what they will do?

1 Answers   IBM,


how can we run a batch job?

0 Answers   IBM,


what are the different types of data areas?

1 Answers   IBM,


what is the syntax for plist?

0 Answers   IBM,






I have to execute 12000 CL Commands one by one.. So, I have created a file called COMMAND. This file has only 1 field called STRING. This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc) I have written a CL which will read all the record and do sbmjob.. But it is not working... Plz help me to exexute all these 12000 commands..

2 Answers   ISE,


What is the purpose of the following? FORDHDR1 IF E K DISK ORDHDRF KRENAMEORDHDRF1

1 Answers  


Job is running in production 24/7 how do u debug that running job ?

1 Answers   Wipro,


What does the keyword UNIQUE mean ?

1 Answers  


how can you execute a command from within an rpg program without calling a clp program?

1 Answers   IBM,


What is the purpose of "A CSRLOC (F1ROW F1COL)"?

1 Answers  


What is array in as400? What are the types of array?

0 Answers  


Categories