(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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between seton lr and retrn?

1269


what are different types of substems?

1335


how do you use exceptional write in c specs?

1138


define what a data area is along with a brief example of what it may be used for?

954


what is the purpose of putovr (put with explicit override) keyword?

925






What are the record format field mapping options in cpyf?

607


In 'o' Specs What Is The Opcode For Write?

699


how can you detect and handle a record lock situation?

1210


what is the maximum number of subroutines allowed in rpg?

1053


how can I automatically refresh a web page?

628


a multiple format logical file is also known as?

587


what the purpose of ovrdta, ovrata keywords?

1163


why is as/400 called object oriented machine?

945


what is logical file?

600


how you get the relative record in a subfile in which cursor is located?

611