what is the difference between the procedure and module in
ILERPG?
Answer Posted / svankipu
A module is a non-runnable entity and it contains 1 or
more procedures. If there's no procedure in the module, then
it means it has only one default procedure with the same
name as that of Module.
Any way one needs to compile the module with
opt-15(CRTRPGMOD) & then compile the program, binding the
module created above with the program using opt-14(CRTPGM).
Only then you can execute/run the program-object, which has
the behavior defined in the above created procedure.
But as such both procedures and modules are non-runnable
piece of code.(& ofcourse u have a object-type for
Module(*MOD), whereas there's no even object for procedure.
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
How can we override a file during runtime in rpg?
what is the difference between do while and do until?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
can I touch the array during treatments?
how do I preserve and clean the array?
what is kids-rpg?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
what do you mean by an input subfile, what are the keywords required?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
is this a rpg channel?
are there any useful c runtime apis that I can call from rpg iv?
What is a record lock error?
Explain mdt?