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

which are the relational operators in rpg?

0 Answers   IBM,


What Is Default Data Type (if You Define Decimals '0') In Physical File?

1 Answers   IBM,


Can we debug the MSGW JOBS?

0 Answers  


What is RETURN CURSER LOCATION in subfile?

0 Answers  


what is the purpose of DMPCLPGM IN CL?

3 Answers   IBM, Wipro,






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

1 Answers   IBM,


Hi.can any body give me the code for this quesiton please.Because i dont have to try to enter the code in to the AS/400 server.Please can anybody give the answer for this question with complete code? A smple RPLE pgm which accepts the starting number and ending number as parameter.It then has to count all the odd numbers b/w the accepted range of numbers and display the results/ Ex:if the input parameters are 11 and 30 the result should be 10(11,13,15,17,19,21,23,25,27,29) Please explain and give me the complete code?

2 Answers   Bally Technologies,


List and explain the different type of data structures?

1 Answers  


define the purpose of the leave operation?

1 Answers   IBM,


how can we run a batch job?

0 Answers   IBM,


what is the maximum number of record formats in dspf?

1 Answers   IBM,


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