11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

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

Create successful ePaper yourself

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

XATTR instructionXATTR instruction (z/OS and CMS)The XATTR instruction enables attributes to be assigned to an external symbol.This instruction is only valid when you specify the GOFF assembler option.►► symbol XATTR ▼ ,attribute►◄symbolis a symbol which has been declared implicitly or explicitly as an externalsymbol. Further, if the PSECT attribute is specified, must be a RSECT, CSECTor START name or an ENTRY name (where the entry is in one of the precedingtypes of section)attributeis one or more attributes from the group of attributes described below. Theassembler sets the appropriate attribute flags in the GOFF External SymbolDirectory record.Notes:1. If more than one value is specified for a given attribute, no diagnostic is issuedand only the last value is used.2. All attributes of an external symbol must be specified in a single XATTRstatement (which may be continued).ATTRIBUTES►► ATTRIBUTES(label) ►◄ATTRIBUTES(label), abbreviation ATTR(label)is a symbol (internal or external) known in the declaring program. It names thelocation of the extended attribute information to be associated with symbol.Instructs the assembler to place the ESDID and offset of the label in the GOFFExternal Symbol Dictionary record.LINKAGE►► LINKAGE( OS )XPLINK►◄LINKAGE(OS), abbreviation LINK(OS)Instructs the assembler to set the “Linkage Type” attribute to standard OSlinkage.LINKAGE(XPLINK), abbreviation LINK(XPLINK)Instructs the assembler to set the “Linkage Type” attribute to indicate “ExtraPerformance Linkage”.228 <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!