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

which program rpg or cl is efficent to update a transaction onto a database file and why ?

734


explain sflclr, sflend, sfldlt, and sflcsrrrn?

878


What are the types of identifiers?

564


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

689


what is kids-rpg?

659






what is the use of sflnxtchg?

795


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

494


What is ment by record level identifier?

645


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?

754


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

1009


How to handle duplicate error handling in RPG?

1666


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

1283


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

748


Explain mdt?

657


is this a rpg channel?

668