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
what do you mean by an input subfile, what are the keywords required?
what are the key words you must use when using a subfile?
What is the difference between copybooks and subprocedures in as400?
what is an online rpg?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How many program bind in one module....
How can we override a file during runtime in rpg?
what is data area and how it is used in rpg program ?
how do I play {insert rpg system here}?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
What is difference between bind by copy and bind by reference?
How to call one program from another program in RPG? please help me with the code
How would display prime numbers using CL program?
how do you use commitment control in rpg?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?