|
-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Christen, Duane
Personally though I would pass a pointer to a data structure,
which may/could be different for each pgmId that the router
program would handle with a length and formatId, similar to
many IBM APIs, also known as the poor man's procedure overloading.
router PR ExtPgm('ROUTER')
pgmid 10I 0 Const
errormessage 50A Const Varying
dsBase * Const
dsSize 10I 0 Const
dsFormat 10A Const
router PR ExtPgm('ROUTER')
pgmid 10I 0 Const
errormessage 50A Const Varying
parm1 LIKE( reffld1 )Const
parm2 LIKE( reffld2 )Const
parm....
dsFormat 10A Const
parmsout *
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.