Reputation:
I am trying to understand the way parameter variables are declared in Procedure Prototype (PR) and Procedure Interface (PI) in an RPG program. Why is it that the parameter variables need to be defined in both the PR and PI? Declaring it both places is necessary but why the need to redefine?
Upvotes: 1
Views: 770
Reputation: 448
You do not need a Dcl-Pr
for procedures within the same module. You only need a prototype for procedures which are either
Upvotes: 2