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
Interviewer asked me write down DDS for load all subfile .can anybody write dds
how can I tell when to replace the array?
can I touch the array during treatments?
Explain mdt?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what are the key words you must use when using a subfile?
What is the purpose of record level identifier?
how do I declare a table or array in rpg iv?
When it is desirable to describe files Internally?
what do you mean by an input subfile, what are the keywords required?
what is the rpg system?
how do I preserve and clean the array?
How can we override a file during runtime in rpg?
How to declare the pull button in AS/400..
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?