(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or
not .If yes, please tell me why these keywords is necessary.
(2)If we will not define these two keywords (PGMand ENDPGM)
then any error will be come or not.
Answers were Sorted based on User's Feedback
Answer / yamuna
PGM and ENDPGM is mandatory only in case of parameter is
used in the CL program.
| Is This Answer Correct ? | 31 Yes | 2 No |
Answer / nups
PGM amd ENDPGM are not mandatory until we dont use
parameters
It will generate a low level error but program would
compile and run
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / yamuna
No error will come if PGM and ENDPGM is not used when there
is no parameter in the CL Program.
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / vinu sharad
1.PGM and ENDPGM are not mandtory until we dont use
Parameters.
2.No error would come if no parameter used
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / kishore reddy gopal
Yes but what if u r not using PGM and END-PGM, do we get any error at run time?
| Is This Answer Correct ? | 0 Yes | 0 No |
define the purpose of the *cat function?
How do you read a subfile record which is in output mode?
records can be read/update/deleted with which file?
WHAT IS AS/400 SYNORIO?
What are the different types of specification available in RPG/400 ?
during input operation which indicator position is seton if there is a record lock?
How to retrieve data from data area?
Job is running in production 24/7 how do u debug that running job ?
what is the purpose of data structure?
Using %check we are checking monika in mona what is output? What is %SCAN?
what is a physical file?
WHAT IS FERERENTIAL INTRIGRITY ?