Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between the procedure and module in
ILERPG?

Answers were Sorted based on User's Feedback



what is the difference between the procedure and module in ILERPG?..

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

what is the difference between the procedure and module in ILERPG?..

Answer / bhupendra tomar

WE COMPILE A MODULE BUT WE RUN A PROCEDURE.

Is This Answer Correct ?    14 Yes 5 No

what is the difference between the procedure and module in ILERPG?..

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

what is the difference between the procedure and module in ILERPG?..

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

Post New Answer

More RPG400 Interview Questions

1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


what is the difference between the procedure and module in ILERPG?

4 Answers  


Need a sql query: retrieve all duplicate records in table?

1 Answers  


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.

1 Answers  


What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?

1 Answers   IBM,


Maximum how many files declare in rpgle

3 Answers   TCS,


How to declare the more than one file in cl/400.

13 Answers   IBM,


Errors in Sql query will be in which state?

1 Answers  


what are the array operations?

1 Answers   IBM,


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

5 Answers   CTS,


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

0 Answers  


How to declare the pull button in AS/400..

0 Answers  


Categories