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

Hi i have one question In my srvpgm one module ADDM is there now i want to add new module i.e SUBM , please answer me IN STEPS how to write bndlanguage and how it was attach to SRVPGM

2 Answers   IBM, Satyam,


what is the difference between packed decimal and zoned decimal?

1 Answers   IBM,


why we use binding directory and service pgm

4 Answers   TCS,


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

1 Answers   IBM,


when you are defining a flat file in your program in f specs which format will you specify?

1 Answers   IBM,






how do you pass parameters in cl?

1 Answers   IBM,


How do you set the keywords SFLSIZ and SFLPAG if you want the subfile to dynamically expand?

1 Answers  


How many types of jobs?what is difference between interactive and batch and submited jobs?

3 Answers   IBM,


What is SDA used for?

7 Answers  


how can you detect and handle a record lock situation?

1 Answers   IBM,


How to add 99 menu (page down) option in menu creation..

0 Answers  


I/o error detected,Record Out of sequence,Permanent I/o error occured....I mean give one eg for these errors...i understand only,update/delete operation without prior read oprn..give details of remaining

1 Answers   CTS,


Categories