|
I wouldn't have thought it'd be possible - wouldn't the beginning and
ending
P-specs be out of sequence?
Intrigued to know why you would want to embed one sub-proc into another,
when if you define it within the same source member it'll still be
exposed
to the other procedures within that module even if you don't export it.
Getting old, I can't remember if this is possible or not.
I know subroutines can be defined and used locally in a subprocedure.
If it is possible, please point to an RPG manual reference if you can.
I've
looked through the V5R3 ILE RPG Reference, didn't see anything (at
least I
didn't recognize it as being possible). If this support was added at a
later
release, please let me know.
As an Amazon Associate we earn from qualifying purchases.
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.