Whether a module can consists of many procedures or it can
consist of subprocedures having a main procedure?If it is
possible that it can contain many individual procedures than
can we have different name for complete module and how do
we call this module in main modul?

Answer Posted / ps

There can be many apprach . It's depend upon user requirement

Those containing only a main procedure and no sub procedures
Those containing a main procedure and one or more sub procedures
Those with no main procedure but with one or more sub
procedures.

If Your question is can we have many independent procedure
in one module.then answer is YES.
No we can not give it different name . If you do not have
MAIN procudure then you have to specify NO main at H spec
other wise you will not able to compile.

About call i believe In your module if you have specified
EXPORT on prototype definition of procedure then you can
call it outside , You gonna call procedure not complete module.


PS i m new to ILE so could be wrong in understanding your
question.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

is this a rpg channel?

667


what is data area and how it is used in rpg program ?

748


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

1302


how do I preserve and clean the array?

667


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

1868






what was the robotech rpg?

675


what is *place and *auto keyword in prtf ?plz explain

2712


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1009


how does the rpg element work?

711


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1553


how do I declare a table or array in rpg iv?

727


What is the difference between iter and do?

663


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?

504


What is file identifier where we can use?

635


how do I play {insert rpg system here}?

576