(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 |
why is as/400 called object oriented machine?
how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?
which are the query selection criteria, which can be given in a query?
What Does Lokup Does In Tables & Arrays?
what are two types of record are used in subfile?
how will you find a string using pdm?
how to insert the data in pf by using cl program
Difference Between Source Physical File & Physical File?
What is a query can be displayed without saving it?
Hello friends, i am having 1 year experience in AS/400. Can any one send me the as400 interview questions to my email id:nagaraju20087@gmail.com
What controls which printer a report goes to?
what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?