22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

&SYSPRINT_DSN System Variable Symbol<br />

When the assembler runs on the CMS component of the VM operating systems,<br />

the value of the character string assigned to &SYSPRINT_DSN is determined as<br />

follows:<br />

Figure 72. Contents of &SYSPRINT_DSN on CMS<br />

SYSPRINT Allocated To:<br />

CMS file<br />

Dummy file (no physical I/O)<br />

Printer<br />

Labeled tape file<br />

Contents of &SYSPRINT_DSN:<br />

The 8-character filename, the<br />

8-character filetype, and the<br />

2-character filemode of the file, each<br />

separated by a space<br />

DUMMY<br />

PRINTER<br />

The data set name of the tape file<br />

Unlabeled tape file TAPn, where n is a value from 0 to 9,<br />

or A to F.<br />

Terminal<br />

TERMINAL<br />

When the assembler runs on VSE, the value of the character string assigned to<br />

&SYSPRINT_DSN is determined as follows:<br />

Figure 73. Contents of &SYSPRINT_DSN on VSE<br />

SYSLST Assigned To:<br />

Contents of &SYSPRINT_DSN:<br />

Disk file (not for dynamic partitions) The file-id<br />

Printer<br />

SYSLST<br />

Labeled tape file<br />

The file-id of the tape file<br />

Unlabeled tape file<br />

SYSLST<br />

Examples:<br />

On MVS, &SYSPRINT_DSN might be assigned a value such as:<br />

IBMAPC.IBMAPCA.JOB6734.D12.?<br />

On CMS, &SYSPRINT_DSN might be assigned a value such as:<br />

SAMPLE LISTING A1<br />

Notes:<br />

1. If the LISTING user exit provides the listing data set information then the value<br />

in &SYSPRINT_DSN is the value extracted from the Exit-Specific Information<br />

block described in the <strong>HLASM</strong> Programmer's Guide.<br />

2. The value of the type attribute of &SYSPRINT_DSN (T'&SYSPRINT_DSN) is<br />

always U.<br />

3. The value of the count attribute of &SYSPRINT_DSN (K'&SYSPRINT_DSN) is<br />

equal to the number of characters assigned as a value to &SYSPRINT_DSN.<br />

Chapter 7. How to Specify Macro Definitions 287

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!