× 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.




-----Message d'origine-----
J.Beckeringh@xxxxxxxxxxxxxxxxxxxxxxxxxx

You have to distinguish between two different ways of using a
prototype with EXTPGM:
1) As a prototype for calling other programs. The EXTPGM name
determines the program that gets called;
2) As a way to define your own *ENTRY PLIST (in combination
with a procedure interface) - here the EXTPGM name does not
really matter. You will get an RNF3776 message with severity
10 in your compiler listing.

How about this :

D MAIN PR EXTPGM ( 'bloggs' )

Although I have no RNF3776 message after compiling. I thought it was clear that the compiler didn't check that the program 'bloggs' exists.

What Rob was trying to point out to you is that you will get
into trouble if you start using this prototype in other
programs. But before you do that you should at least change
the internal name ('prc') to something more useful. Using the
program name for internal as well as external name seems obvious here.

Understood perfectly what Rob was saying. What I was trying to say was that as all our programs with procedure interfaces use the EXTPGM keyword, we don't know if any other programs have the same error.




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.