On Sun, 2013-02-17 at 13:45 -0500, zMan wrote:
> Can you do that for fields in an existing copybook?

ADDRESS OF (sender) works for anything that isn't level 66 or 88.  It
even works for reference modification:
        SET MY-POINTER TO ADDRESS OF CHAR-FIELD(5:1)

While you're able to do limited pointer arithmetic with REDEFINES
COMP-5, be wary: there's no code portability here, and it's a hack.
When/if Tom gets around to implementing 64-bit support that'll bite you.

-- 
David Andrews
A. Duda & Sons, Inc.
[email protected]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to