&SYSLIN_DSN System Variable Symbol

Use &SYSLIN_DSN in a macro definition to obtain the name of the data set to which the assembler is writing the object records when assembler option OBJECT, GOFF or XOBJECT is specified.

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

z/OS

The value of the character string assigned to &SYSLIN_DSN is always the value stored in the JFCB for SYSLIN. If SYSLIN is allocated to DUMMY, or a NULLFILE, the value in &SYSLIN_DSN is "NULLFILE".

End of z/OS
z/VM

The value of the character string assigned to &SYSLIN_DSN is determined as follows:

Table 41. Contents of &SYSLIN_DSN on CMS
SYSLIN Allocated To: Contents of &SYSLIN_DSN:
CMS file The 8-character filename, the 8-character filetype, and the 2-character filemode of the file, each separated by a space
Dummy file (no physical I/O) DUMMY
Punch PUNCH
Labeled tape file The data set name of the tape file
Unlabeled tape file TAPn, where n is a value from 0 to 9, or A to F.
End of z/VM
z/VSE

The value of the character string assigned to &SYSLIN_DSN is determined as follows:

Table 42. Contents of &SYSLIN_DSN on z/VSE
SYSLNK Assigned To: Contents of &SYSLIN_DSN:
Disk file The file-id
Labeled tape file The file-id of the tape file
Unlabeled tape file SYSLNK
End of z/VSE

Examples:

On z/OS, &SYSLIN_DSN might be assigned a value such as:

IBMAPC.OBJ

On CMS, &SYSLIN_DSN might be assigned a value such as:

SAMPLE   TEXT     A1

Notes:
  1. If the OBJECT user exit provides the data set information then the value in &SYSLIN_DSN 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 &SYSLIN_DSN (T'&SYSLIN_DSN) is always U.
  3. The value of the count attribute of &SYSLIN_DSN (K'&SYSLIN_DSN) is equal to the number of characters assigned as a value to &SYSLIN_DSN.

[ Top of Page | Previous Page | Next Page | Contents | Index ]