On 12/4/2013 2:27 PM, Jon Perryman wrote:
Implementing relative instructions into your macro's won't buy you much. In fact, you can 
skip this step until you make your programs optimized to using relative instruction by 
including "COPY IEABRC" at the beginning of the program will change offset 
branches into relative branches without modifying anything else.

On z/OS 1.10 and higher, you might consider using IEABRCX instead. Example:

         IEABRCX DEFINE            Define B-to-J conversion macros
         IEABRCX DISABLE           (same)

Then you can easily enable/disable only where needed. Example:

     IEABRCX ENABLE                Enable B-to-J conversion
     IKJRLSA POPTANSP              Release IKJPARS storage
     IEABRCX DISABLE               Disable B-to-J conversion

IEABRCX also supports PUSH/POP so you can easily enable/disable the
conversion in a macro without having to know what's going on in the open
code.

None of this works on z/VSE. :-( It's one reason why we do our z/VSE
product assemblies on z/OS.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

Reply via email to