(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 the difference between packed decimal and zoned decimal?

1 Answers   IBM,


what is logical file?

0 Answers   IBM,


How to see active jobs of the system.

1 Answers  


What are the functions of Remote Job Entry (RJE) ?

1 Answers  


How can u create a temporary file in CLP @ how to access that temporary file in RPG program?

4 Answers  






explain the purpose of keep and assume keywords?

1 Answers   IBM,


what is xfoot opcode ?

1 Answers   IBM,


What is the function of RJE Conversion Utility?

1 Answers  


What is source physical file?

1 Answers  


1.What is the difference between regular join logical file and non join logical file? 2.what are the nessasary keywords for non join logical file

3 Answers   ANZ,


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

0 Answers   TCS,


What is the difference between Physical and Logical files ?

1 Answers  


Categories