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

Answers were Sorted based on User's Feedback



(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

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

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

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

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

Answer / yamuna

No error will come if PGM and ENDPGM is not used when there
is no parameter in the CL Program.

Is This Answer Correct ?    9 Yes 3 No

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

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

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

Answer / kishore reddy gopal

Yes but what if u r not using PGM and END-PGM, do we get any error at run time?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What is %CHECK?

0 Answers  


What is the purpose of the following? I 'CLOSED' C STAT01 I 'OPEN' C STAT02

1 Answers  


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

0 Answers  


WHAT IS THE DISPLAY CMD FOR DATAQ, HOW IT CAN BE USED?

2 Answers  


write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")

6 Answers   Bally Technologies, Cognizant, Vertex,






What is the necessary keyword used in a physical file to refer field definitions from the field reference file?

1 Answers  


Is it possible to add an keyfield or field to an Physical file without changing its file identifier. Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.

2 Answers  


What the purpose of the keywords FIFO, LIFO, FCFO?

1 Answers  


Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?

2 Answers   CTS,


what is default data type for the fields(sub fields) defined in data structures in rpg?

2 Answers   IBM,


what is the use of sflend keyword?

1 Answers   IBM,


what is the maximum number of subroutines allowed in rpg?

1 Answers   IBM,


Categories