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



 >> D AA47R001        PR

/Free is not an issue really since CALLP requires this when used in fixed
form too.

First you need to specify EXTPGM like so:

D AA47R001        PR       ExtPgm('ProgNameGoesHereInUpperCase)

The you need to specify the parms just as for a subproc listing them one
after the other.  Not sure if P1USER in your example is supposed to be a
parm or the name of the program to call.  Check the RPG Redbook for examples
on this stuff.

You might also want to take advantage of the fact that the proto name and
the program to call don't have to match - so the proto name can be
meaningful!!  Like GetCustDetail or WriteSubfilerec or .....

Jon Paris
Partner400
www.Partner400.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.