On 8/14/2015 1:31 PM, Dan wrote:
(Buck, the RNF3755 is a syntax error. EXTPGM keyword and return length on
the PR line not allowed.)
Yes, I understood that. The question to hand is this:
Are you designing something new or prototyping something that is already
in existence? The point of my question being that you might be making a
prototyping error (ie using EXTPGM where you want EXTPROC) or you might
be misunderstanding how a *PGM 'returns' a value to a caller.
I'm guessing that you are creating something new. If you really are
going to use this subprocedure in just this one place, why not put it
there, within PGMA? One doesn't need a service program to use
subprocedures - drop the EXTPROC and put the PI within the same source
as the PR (ie PGMA) and that should handle the situation (as I
understand it, anyway).
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.