Bill Fairchild wrote One should always initialize the entire remote parameter list for any system service. The IBM books that describe Assembler language services say this in the Using the Services section that appears prior to the first service explained in that book. E.g., here is some of the verbiage from the unauthorized Assembler services book: "1. Use the list form of the macro, which expands to the parameter list. Place the list form in the section of your program where you keep non-executable data, such as program constants. Do not code it in the instruction stream of your program. 2. In the instruction stream, code a GETMAIN or a STORAGE macro to obtain some virtual storage. 3. Code a move character instruction that moves the parameter list from its non-executable position in your program into the virtual storage area that you obtained."
Please note that the next section in this book also applies to this question. It is entitled "Alternative List Form Macro". The alternative list form macro does not require, indeed it precludes, initialization from a "static" form of the macro. These macros fully initialize on the execute form. Most macro services provided iby the "MVS" part of z/OS in the past 15-20 years fit into this category. A subset of these macros also provide a modify form in which case it is the COMPLETE option of the Modify or Execute form that does the full initialization. Most "tradtional" list form macros do work OK if the initialization is with zeroes. But not all. WTO is one that in some cases will not work properly with an initialized area of all zeroes. And ESTAE is another. They might complete successfully but you might not get the default options that you intend. I personally view this as non-optimal implementation way back when, but that is water under the bridge as it cannot be changed for compatibility reasons. Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- 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

