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 |
How can we sort an array?
what is the difference between sflclr and sflinz?
How can we arrange duplicate records in a file?
What is the purpose of the following? FORDHDR1 IF E K DISK ORDHDRF KRENAMEORDHDRF1
What are the different types of access paths maintained on the file?
Q.1.What is differences in STRDBG and STRISDB debugging commands? 2.Where we should use STRDBG and STRISDB Debugging commands?
For AS/400 Freshers good website is
What is the purpose of SFLFOLD and SFLDROP keywords?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
how will you add a field to physical file already containing data?
pf named karthik 3members jan feb mar cmd must executed create mbr ar ap
Difference Between Interactive & Batch Job?