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 |
what is match field indicator?
how can u check no of records in a file?
Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?
how do you read changed records backward in subfile?
Why would you prefer OPNQRYF than logical file?
What are all the compiler directive statements?
what is scan and xlate?
how can you detect and handle a record lock situation?
How to increase 3 days from my current date in RPG Program?
Describe the function of SETGT operation in RPG language?
How do you combine two record formats in RLU ?
what are the different types of data areas?