|
>Has anyone writtena choice program for a command ?
>
>The stumbling block is the 2000 character parameter -
>not how to populate it, but what language I can use to
>populate it. I really can't CL as the answer, I'm
>mystified as to how to do it in RPG and I haven't
>dabbled in RPGLE as yet, though I've been reading
>about it with interest.
I'd suggest RPG IV: convert a program you are familiar
with to use as a template to learn about the "D" specs.
You'll love it!
If you really want to use RPG III, use the old
"array over data structure" trick. Overlay a large data
structure with an array. Use the DS as your *ENTRY
PLIST and manipulate the array...
E AR 2000 1
ILONG DS 2000
I 12000 AR
C *ENTRY PLIST
C PARM LONG
C MOVELAR,1 NAME 20
Buck Calabro
CommSoft, Albany, NY
mailto:mcalabro@commsoft.net
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
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.