(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
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 |
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 |
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 |
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 |
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 |
what is the difference between packed decimal and zoned decimal?
what is logical file?
How to see active jobs of the system.
What are the functions of Remote Job Entry (RJE) ?
How can u create a temporary file in CLP @ how to access that temporary file in RPG program?
explain the purpose of keep and assume keywords?
what is xfoot opcode ?
What is the function of RJE Conversion Utility?
What is source physical file?
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
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)
What is the difference between Physical and Logical files ?