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 to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
How to Define a Procedure in RPG?
4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge which only 2 persons at a time can cross. its night and they have only one flashlight with them. Flashlight cannot be thrown. one person should return with the flashlight all 4 person have different speed. a = crosses bridge in 1 min. b = crosses bridge in 2 min. c = crosses bridge in 5 min. d = crosses bridge in 10 min how can they all reach in time.?? Ex- suppose a and d crosses bridge which will take 10 mins and then d returns back with a flashlight which will make 20 mins and mission is failed.
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
Can we add or remove the module object from service Program..and how...?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
How to know message id (errorid) in msgfile when error is occurred on screen ? WRKMSF will display all error id but i want to know error id based on error msg only?
1 Answers IBM, Ignis Technologies, SSR,
define subsystem?
how to run other job when one job is active?
What is the as400 called now?
What are all the compiler directive statements?
how can I control the way a remote browser uses its cache?