11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

&SYSECT System Variable Symbolv Statement 8 is the last program sectioning statement processed before statement9 is processed. Therefore, &SYSECT is assigned the value MAINPROG for macroinstruction OUTER1 in statement 9. MAINPROG is substituted for &SYSECT when itappears in statement 6.v Statement 3 is the program sectioning statement processed before statement 4 isprocessed. Therefore, &SYSECT is assigned the value CSOUT1 for macroinstruction INNER in statement 4. CSOUT1 is substituted for &SYSECT when itappears in statement 2.v Statement 1 is used to generate a CSECT statement for statement 4. This is thelast program sectioning statement that appears before statement 5. Therefore,&SYSECT is assigned the value INA for macro instruction INNER in statement 5.INA is substituted for &SYSECT when it appears in statement 2.v Statement 1 is used to generate a CSECT statement for statement 5. This is thelast program sectioning statement that appears before statement 10. Therefore,&SYSECT is assigned the value INB for macro instruction OUTER2 in statement 10.INB is substituted for &SYSECT when it appears in statement 7.&SYSIN_DSN System Variable SymbolUse &SYSIN_DSN in a macro definition to obtain the name of the data set fromwhich the assembler is reading the source module.The local system variable symbol &SYSIN_DSN is assigned a read-only value eachtime a macro definition is called.z/OSIf concatenated data sets are used to provide the source module, &SYSIN_DSN hasa value equal to the data set name of the data set that contains the open codesource line of the macro call statement, irrespective of the nesting depth of themacro line containing the &SYSIN_DSN reference.When the assembler runs on the z/OS operating systems, the value of thecharacter string assigned to &SYSIN_DSN is always the value stored in the JFCBfor SYSIN.End of z/OSz/VMWhen the assembler runs on the CMS component of the z/VM operating systems,the value of the character string assigned to &SYSIN_DSN is determined asfollows:Table 39. Contents of &SYSIN_DSN on CMSSYSIN Allocated To: Contents of &SYSIN_DSN:CMS file The 8-character filename, the 8-characterfiletype, and the 2-character filemode of thefile, each separated by a spaceReaderTerminalREADERTERMINALLabeled tape file The data set name of the tape fileUnlabeled tape file TAPn, where n is a value from 0 to 9, or A toF.266 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

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

Saved successfully!

Ooh no, something went wrong!