Hi,
Can we use Redefines in linkage section?
My answer was yes but then I was aksed what can be such a need to use Redefines in linkage section, which I could not answer, Could someone please help on that.
Can we use Redefines in linkage section?
-
- Registered Member
- Posts: 12
- Joined: Wed Dec 11, 2013 1:34 pm
- Robert Sample
- Global Moderator
- Posts: 1899
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Can we use Redefines in linkage section?
One possibility would be that a variable in the parameter list may be alphanumeric or numeric depending upon the program calling the subprogram. A REDEFINES in this case would allow both definitions to be used without needing any variables in WORKING-STORAGE.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute