(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 ? | 11 Yes | 0 No |
Post New Answer View All Answers
what is join logical file?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
What is the maximum number of subfiles that can be specified in a display file?
How to Define a Procedure in RPG?
What is a query can be displayed without saving it?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
how many files, printer files you can describe in a rpg?
What Is The Error If We Don't Get Login Screen?
writing an sql statement from selecting records from two files using single statement and nested select statement.
What is RETURN CURSER LOCATION in subfile?
what does vldcmdkey means?
how can a message from a message file appear as a constant on the screen?
how can u check no of records in a file?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
Apart from opening of a file do we have any other use of USROPN?