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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the limitations of cl (compare to rpg) ?

1534


give three main purposes of file specification ?

975


What Does Lokup Does In Tables & Arrays?

722


Using %check we are checking monika in mona what is output? What is %SCAN?

983


define the rcvf command?

973






name few ibm supplied libraries?

1199


can a indexed file be accessed in arrival sequence in rpg program?

930


the maximum number of subfiles that can be active for a single file is ____ .

1171


what are different types of substems?

1329


What Is The Purpose Of The "n" In The Following Calculation Specification?

665


Can we debug the MSGW JOBS?

925


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

576


which cl command can be used at program execution to redirect the file named in an rpg program?

696


what is sflrolval?

639


how can you detect overflow for a print program that prints multiple lines per cycle?

946