*entry plist

5 pts.
Tags:
RPG IV
How to use rpgiv d-list instead of *entry plist?
ASKED: July 30, 2008  5:39 PM
UPDATED: July 31, 2008  2:33 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following