(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 meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

5935


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

1534


WHAT IS FERERENTIAL INTRIGRITY ?

1095


what is arrival sequence?

1097


in conjunction with which statements can orxx and andxx conditions be used ?

1123






what are the different types of variables available in cl?

996


how do you specify page overflow indicator for printer files in rpg?

1456


difference between sflrcdnbr and sflnxtchg?

692


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

1710


how do handle file exception/error?

641


what is the favicon.ico request that my site receives now and then?

626


What Is The Object Type Of Pf, Lf, Printer File & Display File?

693


how can database records be read without lock ?

1202


when do you use f-spec. Continuation line ?

967


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

946