(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 / 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 |
Post New Answer View All Answers
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)
how many printer files can be defined in f specs ?
what does check opcode do ?
using dfu, user will be able to ___________ from physical file?
what does dfu program you to do on a record?
at what level s,o are defined and what they will do?
how can I control the way a remote browser uses its cache?
what does vldcmdkey means?
what the purpose of ovrdta, ovrata keywords?
Why we are not able to perform insert delete and update operation in Join logical file?
What are the types of data structure in as400?
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
what is the function of crtdupobj command?
what do we can do with the embedded sql statements?
name few ibm supplied libraries?