|
I ran this program and got 18.
D tharteau PR extpgm('THARTEAU')
D Yodude 25a varying
D tharteau PI
D InOrd 25a varying *entry plist
D WkOrd s 15s 5
D SvOrd s 6s 0
/free
*inlr=*on;
WkOrd=%dec(InOrd:5:2);
SvOrd=WkOrd;
return;
dsply wkOrd;
dsply SvOrd;
/end-free
Here is how I called it:
CALL PGM(THARTEAU) PARM(X'0002F1F8')
Rob Berendt
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.