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



I've been doing it for some time now. This is QTSTSRC, member EXTPROCC:

       dcl-pr myproc extproc end-pr;

       myproc();
       return;

This compiles fine with no errors.

CRTRPGMOD MODULE(EXTPROCC) SRCFILE(QTSTSRC)

Module EXTPROCC placed in library QGPL. 00 highest severity. Created on 04/16/19 at 23:12:31.



On 4/16/2019 4:33 PM, Barbara Morris wrote:
On 2019-04-16 4:27 PM, Joe Pluta wrote:
Thanks, Barbara!

I'm not sure about the definition of "can't".  EXT, EXTPGM and EXTPROC can all be coded without a parameter, and they default to the name of the RPG definition (uppercase).


True for EXTPGM and EXT, but I get an error from the compiler for EXTPROC without a parameter.



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.