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
is this a rpg channel?
what is data area and how it is used in rpg program ?
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...
how do I preserve and clean the array?
How to declare the pull button in AS/400..
what was the robotech rpg?
what is *place and *auto keyword in prtf ?plz explain
Interviewer asked me write down DDS for load all subfile .can anybody write dds
how does the rpg element work?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
how do I declare a table or array in rpg iv?
What is the difference between iter and do?
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?
What is file identifier where we can use?
how do I play {insert rpg system here}?