While we're here, I would like to politely dispute the IBMer's implication
(and I apologize for forgetting his name and for paraphrasing) that all you
have to do is code the macros as documented and all will be well. I would
suggest that one cannot write reentrant or otherwise "special" assembler
code (and if you're not writing "special" code -- why are you writing in
assembler rather than COBOL or the like to begin with?) without sometimes
using hand-coded assembler rather than macros, or at least without carefully
checking the PRINT GEN output, rather than just coding macros "as
documented" in COBOL-like bliss that all will be well. In many cases one
must do both: code the macros, check the PRINT GEN output to reverse
engineer how the interface works, and then hand-code equivalent assembler
that will actually assemble without error and/or work.

One GREAT example is the IBM macros' use of branch rather than jump
instructions. Yes, they work as documented, but they conflict with the
exploitation of the (wonderful!) new base-register-constraint-relief jump
instructions.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Edward Jaffe
Sent: Thursday, March 22, 2007 5:03 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Macro List/Execute Forms (Was: Need help with Assembler ...)

Ray Mullins wrote:
> Steve, welcome to MF=L/E land.
>
> Note - the following is really simple, and merely a starting point.
>   

[snip]

> It's good practice to generate an MF=L list in your constant area so you
can
> define the MF=E area properly.  It's not so important for OPEN, but for
> things like ATTACH that have a lot of bits set, it's a lifesaver.
>   

There are actually two different macro list/execute techniques.

1. The older macros use what is known as the "conventional" list form. 

Etc.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to