× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Possibly a binding directory either in the H spec, In the H Spec Data
area, or in the CRTBNDRPG command.

Mark Walter
Paragon Consulting Services, Inc.
IBM Certified System i Specialist
717-764-7909 Ext. 26
mwalter@xxxxxxxxxxxxxxx
www.paragon-csi.com



Adam Glauser <adamglauser@xxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
04/25/2008 12:08 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
Re: Prototyped call question?






Emily Smith wrote:
In the program I'm looking at there is a prototype defined as follows:

Dprogram pr n
D 10a
D 2a
D 1a
D

Then later in the program...

c callp program(field1:field2:field3)

I've searched the source and there is no other reference in the source
for 'Program'. There are also no copy directives. When the callp is
executed, an external program is called. How is this possible when their
is no extpgm keyword in the prototype?

Is there another module bound in to the program? Perhaps it has a
procedure called "program" that actually does the call?


Also, what is the significance of the 'N' indicator datatype in the
prototype definition?

That means that the program is returning an indicator.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.