This technique works great for reserving space for all the MF=L forms of macros in working storage, where they are initialized before usage from the MF=L forms in the literal pool. As long as you're not multi-threading use of the working storage.

Gary

On 2015-06-17 18:04, zMan wrote:
Nice.

On Wed, Jun 17, 2015 at 5:55 PM, David Cole <[email protected]> wrote:

Excellent! Just stuff that into an ignorable dsect, and there you go! I
never thought of this method. Very creative.

Dave







At 6/17/2015 05:46 PM, Robert Ngan wrote:

Based on a technique I use to reserve space large enough for (say) X, Y or
Z:

BUFFER   DS    0X
          DS    (L'X)X
          ORG   BUFFER
          DS    (L'Y)X
          ORG   BUFFER
          DS    (L'Z)X
          ORG   ,
BUFLEN   EQU   *-BUFFER

So MAX(Y,Y,Z) is BUFLEN
Where X, Y and Z are equate, just omit the L'

Robert Ngan
CSC Financial Services Group


Reply via email to