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?

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


Please Help Members By Posting Answers For Below Questions

How can we override a file during runtime in rpg?

1135


what is the difference between do while and do until?

1184


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

2266


can I touch the array during treatments?

1113


how do I preserve and clean the array?

1080


what is kids-rpg?

1058


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...

1817


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.

2458


what do you mean by an input subfile, what are the keywords required?

1194


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

1246


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?

1197


is this a rpg channel?

1118


are there any useful c runtime apis that I can call from rpg iv?

1111


What is a record lock error?

1694


Explain mdt?

1065