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 / nd

Use EXTPROC on the prototype defination.

The EXTPROC keyword indicates the external name of the
procedure whose prototype is being defined. The name can be
a character constant or a procedure pointer. When EXTPROC
is specified, a bound call will be done.

D SQLEnv PR EXTPROC(’SQLAllocEnv’)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to call one program from another program in RPG? please help me with the code

1261


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2374


How can we override a file during runtime in rpg?

690


what was the robotech rpg?

686


is this a rpg channel?

681






what is an online rpg?

731


what is the use of sflnxtchg?

805


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

1022


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

739


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

1971


How to select highest score of each subject or how to select highest income of every month?

1297


what is file information data structure?

1376


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

758


Explain mdt?

667


How many program bind in one module....

2125