5 pts.
 *entry plist
How to use rpgiv d-list instead of *entry plist?

Software/Hardware used:
ASKED: July 30, 2008  5:39 PM
UPDATED: July 31, 2008  2:33 PM

Answer Wiki:
Check the IBM reference book. Gives good examples. *************** Here's a quick example. Basically, you need to set up a prototype for the *Entry parameters, and refer back to the same program in the prototype. (I can't get this to format correctly, so the column positions may not line up when you view this.) <pre> D SomePrototype PR D 9A D 10A D N * these are the *Entry parameters D SomePrototype PI D Parameter1 9A D Parameter2 10A D Parameter3 N Or you can do the procedure section like this, where you can name it anything you want and just reference the program or module name via the EXTPGM keyword. D Main PR EXTPGM('SOMEPROGRAM') D 9A D 10A D N * *Entry parameters D Main PI D Parameter1 9A D Parameter2 10A D Parameter3 N </pre> CWC
Last Wiki Answer Submitted:  July 31, 2008  2:33 pm  by  Cwc   4,275 pts.
All Answer Wiki Contributors:  Cwc   4,275 pts. , graybeard52   3,115 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _