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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between sflclr and sflinz?

1031


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

956


what are the different methods to access seu?

624


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1732


what is the maximum number of subroutines allowed in rpg?

1054






Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

603


How to reverse a string using RPG?

684


can a indexed file be accessed in arrival sequence in rpg program?

934


Difference Between Call & Sbmjob?

770


What are the types of data structure in as400?

537


Using %check we are checking monika in mona what is output? What is %SCAN?

985


distinguish between terminating a program through seton lr and return?

560


what is the command to know key fields of file?

619


what is the difference between normal upddta to pf and updating using dfu program?

751


records can be read/update/deleted with which file?

634