(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 Object Type Of Pf, Lf, Printer File & Display File?

693


what is join logical file?

1032


what is the version of os/400 that we have?

945


why is as/400 called object oriented machine?

940


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

576






WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)

1710


define a output queue?

926


when do you use f-spec. Continuation line ?

967


when should I use method get, and when should I use method post in my cgis?

600


what are the different opcodes available in rpg for database access ?

801


define the purpose of the iter operation?

1011


what is the purpose of the indara keyword?

1115


in conjunction with what other keyword must ovrdta and ovrata be used?

902


How do you check object lock

362


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

1104