what is the difference between the procedure and module in
ILERPG?
Answers were Sorted based on User's Feedback
Answer / paras
A module is a non executable program and it contains one or
more procedures. If you have modules without procedure then
it means that it is having only one default procedure and
in case we can use CALLB. But if a module is having more
than one procedure then we can give explicitly the
procedure name to be called in case of CALLP
Out of these three Callp is the most efficient one.
| Is This Answer Correct ? | 29 Yes | 7 No |
Answer / bhupendra tomar
WE COMPILE A MODULE BUT WE RUN A PROCEDURE.
| Is This Answer Correct ? | 14 Yes | 5 No |
Answer / 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 |
Answer / lama
Module is a object ( output of compiler) which is non runable.
Procedure is a set of language statements which perform
certain action and return to the calling program . we
genrally store procedure into copybook programs.
| Is This Answer Correct ? | 8 Yes | 9 No |
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
what is the difference between the procedure and module in ILERPG?
Need a sql query: retrieve all duplicate records in table?
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
Maximum how many files declare in rpgle
How to declare the more than one file in cl/400.
Errors in Sql query will be in which state?
what are the array operations?
As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to declare the pull button in AS/400..