(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 ? | 30 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 ? | 10 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 |
how to see the error messages for each command in cl?
which are control break logic indicators?
how will you add a field to physical file already containing data?
in conjunction with which statements can orxx and andxx conditions be used ?
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?
we have 2 PF files with same name, how to copy data's from one file to another through RPG program logic?
what is the difference between sflclr and sflinz?
HOW CAN WE ENTIRE OBJECTS& IT'S TYPE IN PGM?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
What is difference between rename and prefix?
What would be the output of the variable result? D RESULT S 5S O INZ(00011) C EVAL RESULT = %TRIM(RESULT) Please give me the correct answer for this A.0001 b.compile time error c.11 d.Runtime error
what is subfile?