>        L    R15,16                      GET CVT ADDRESS
>        L    R15,X'8C'(R15)              GET ECVT ADDRESS
>        L    R15,X'384'(R15)              GET ECVTXTSW ADDRESS
>        LA    R1,=A(*+10)                  PARAMTER LIST

Macros such as IHAPSA, CVT, and IHAECVT are provided for a reason -- so 
that you don't need to hard-code offsets and in so doing make your code 
less readable and less maintainable.

Why do you avoid them?  z/OS macros themselves might hard-code offsets 
because we don't necessarily want to impose a requirement on the invoker 
that they include other macros. But if you're writing your own code, you 
should insist on imposing that requirement on yourself.

Peter Relson
z/OS Core Technology Design


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

Reply via email to