(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 maximum number of arrays allowed in rpg?

1180


what is a composite key?

1002


What is file access opcodes?

751


can a join logical file be updated?

586


What Does Lokup Does In Tables & Arrays?

731






how can a message from a message file appear as a constant on the screen?

927


is it possible to create a physical file without dds?

1184


how many files can be defined in f specs?

1382


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

1061


how can you detect and handle a record lock situation?

1210


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

984


what are indicators?

634


how to define to define a hidden filed in dspf ?

772


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

1116


How to Define a Procedure in RPG?

1220