&SYSADATA_MEMBER System Variable Symbol

z/VSE®
The value of &SYSADATA_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 &SYSADATA_MEMBER in a macro definition to obtain the name of the data set member to which the assembler is writing the associated data.

The local-scope system variable symbol &SYSADATA_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 associated data is not a z/OS partitioned data set, &SYSADATA_MEMBER is assigned a null character string.

Notes:
  1. The value of the type attribute of &SYSADATA_MEMBER (T'&SYSADATA_MEMBER) is U, unless &SYSADATA_MEMBER is assigned a null character string, in which case the value of the type attribute is O.
  2. The value of the count attribute of &SYSADATA_MEMBER (K'&SYSADATA_MEMBER) is equal to the number of characters assigned as a value to &SYSADATA_MEMBER. If &SYSADATA_MEMBER is assigned a null character string, the value of the count attribute is 0.