&SYSPUNCH_MEMBER System Variable Symbol

z/VSE®
The value of &SYSPUNCH_MEMBER is always null.

The value of the type attribute is O, and the value of the count attribute is 0.

z/VM® and z/OS®
You can use &SYSPUNCH_MEMBER in a macro definition to obtain the name of the data set member to which the assembler is writing the object records when the assembler option DECK is specified.

The local system variable symbol &SYSPUNCH_MEMBER is assigned a read-only value each time a macro definition is called.

If the data set to which the assembler is writing the object records is not a z/OS partitioned data set, &SYSPUNCH_MEMBER is assigned a null character string.

Notes:
  1. If the PUNCH user exit provides the punch data set information then the value in &SYSPUNCH_MEMBER is the value extracted from the Exit-Specific Information block described in the section Exit-Specific Information Block in the HLASM Programmer's Guide.
  2. The value of the type attribute of &SYSPUNCH_MEMBER (T'&SYSPUNCH_MEMBER) is U, unless &SYSPUNCH_MEMBER is assigned a null character string, in which case the value of the type attribute is O.
  3. The value of the count attribute of &SYSPUNCH_MEMBER (K'&SYSPUNCH_MEMBER) is equal to the number of characters assigned as a value to &SYSPUNCH_MEMBER. If &SYSPUNCH_MEMBER is assigned a null character string, the value of the count attribute is 0.