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
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 |
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 |
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 |
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
what is the difference between packed decimal and zoned decimal?
why we use binding directory and service pgm
how can you execute a command from within an rpg program without calling a clp program?
when you are defining a flat file in your program in f specs which format will you specify?
how do you pass parameters in cl?
How do you set the keywords SFLSIZ and SFLPAG if you want the subfile to dynamically expand?
How many types of jobs?what is difference between interactive and batch and submited jobs?
What is SDA used for?
how can you detect and handle a record lock situation?
How to add 99 menu (page down) option in menu creation..
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