Data Structure Parameters in RPG Prototypes
November 15, 2002 Hey, Ted
Hey, Ted:
Back in my RPG III (RPG/400) days, it was easy to define an entry parameter as a data structure.
IPARM1 DS I 1 8 ACTION I 9 10 CODE I 11 120RTNVAL I* C *ENTRY PLIST C PARM PARM1
I used this same method in RPG IV before I started prototyping entry parameters.
D Parm1 DS D Action 1 8 D Code 9 10 D RtnVal 11 12 0 I* C *entry plist C parm Parm1
|
Now I prototype entry parameters, as you described in the November 16, 2001 issue of Midrange Guru. Since the D-spec for …
Read more