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 |
Difference Between Interactive & Batch Job?
Define a Batch Job?
what is a keyed physical file?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
What is data structure in as400? What is the use of data structure?
What is field reference file?
What is the maximum number of subfiles that can be specified in a display file?
How to inner join more than 2 PFs in a CL program using OPNQRYF command?
what is the use of CPYFRMQRYF?
What is the difference between keys of a Physical file and the keys of a logical file?
2 Answers Bank Of America, BoA,
i have two pfs it contains "Status" fields in the same name "status in both the pf's...But i used the same name in display file...when i enter a status thru disp file it willbe added to pf1...so i want to rename "Staus " field in pf2 through program...............wat will do..give coding?
Q. Soppose one job is running in a batch mode for long time now i want to kill(end)this batch job.How you will achive this?