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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the as400 called now?

546


Difference Between Skip Before & Space Before?

674


what does check opcode do ?

1069


What is the difference between crtdupobj and copyf?

687


what is sflinz and sflrna?

1017






what are the different types of variables available in cl?

1007


what is the maximum number of records you can specify in a display file?

1127


explain the purpose of keep and assume keywords?

1065


if we tried to move year part of *iso date into a field of length 3, what will happen ?

656


when would you prefer logical file than opnqryf?

1379


what is the maximum number of files allowed in rpg?

942


how does union file maintains record formats?

631


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1120


what does dfu program you to do on a record?

738


how to get the cursor position?

718