HLASM Language Reference
HLASM Language Reference HLASM Language Reference
CATTR Instruction | statements for the class, the attribute is ignored and diagnostic | message ASMA191W is issued. | If the PART attribute has been specified on the first CATTR statement | for the class, but is not specified on subsequent CATTR statements for | the class, the diagnostic message ASMA155S is issued. | Multiple parts may be defined within a class. | PRIORITY(nnnnn) | The binding priority to be attached to this part. The value must be | specified as an unsigned decimal number and must lie between 0 and | 2 31 −1. An invalid priority is ignored and diagnostic message 'ASMA062E | Illegal operand format xxxxxx' is issued. | The PRIORITY attribute may be specified on the first CATTR instruction for | the part. If the PRIORITY attribute is specified on second and subsequent | CATTR instructions for the part it is ignored and the diagnostic message | ASMA191W is issued. | The PRIORITY attribute is ignored if there is no PART attribute on the | CATTR instruction and the diagnostic message 'ASMA062E Illegal operand | format xxxxxx' is issued. READONLY The text is storage-protected. REFR The text is marked refreshable. RENT The text is marked reenterable. REUS The text is marked reusable. RMODE(24) The text has a residence mode of 24. RMODE(31) The text has a residence mode of 31. RMODE(ANY) The text may be placed in any addressable storage. Refer to the z/OS MVS Program Management: User's Guide and Reference, SA22-7643 for details about the binder attributes. Default Attributes: When you don't specify attributes on the CATTR instruction the defaults are: ALIGN(3),EXECUTABLE,NOTREUS,RMODE(24) The LOAD attribute is the default if neither DEFLOAD nor NOLOAD are specified. Where to Use the CATTR Instruction: Use the CATTR instruction anywhere in a source module after any ICTL or *PROCESS statements. The CATTR instruction must be preceded by a START, CSECT, or RSECT statement, otherwise the assembler issues diagnostic message ASMA190E. 114 HLASM V1R5 Language Reference
CCW and CCW0 Instructions If several CATTR instructions within a source module have the same class name, the first occurrence establishes the class and its attributes, and the rest indicate the continuation of the text for the class. If you specify attributes on subsequent CATTR instructions having the same class name as a previous CATTR instruction, the assembler ignores the attributes and issues diagnostic message ASMA191W. If you specify conflicting attributes on the same instruction, the assembler uses the last one specified. In the following example, the assembler uses RMODE(ANY): MYCLASS CATTR RMODE(24),RMODE(ANY) Syntax Checking Only: If you code a CATTR instruction but don't specify the GOFF or XOBJECT option, the assembler checks the syntax of the instruction statement and does not process the attributes. CCW and CCW0 Instructions The CCW and CCW0 instructions define and generate an 8-byte, format-0 channel command word for input/output operations. A format-0 channel command word allows a 24-bit data address. The CCW and CCW0 instructions have identical functions. If a control section has not been established, CCW and CCW0 will initiate an unnamed (private) control section. ►►──┬────────┬──┬─CCW──┬────────────────────────────────────────────► └─symbol─┘ └─CCW─┘ ►──command_code,data_address,flags,data_count──────────────────────►◄ symbol is one of the following: An ordinary symbol A variable symbol that has been assigned a character string with a value that is valid for an ordinary symbol A sequence symbol command_code is an absolute expression that specifies the command code. This expression's value is right-justified in byte 0 of the generated channel command word. data_address is a relocatable or absolute expression that specifies the address of the data to operate upon. This value is treated as a 3-byte, A-type address constant. The value of this expression is right-justified in bytes 1 to 3 of the generated channel command word. flags is an absolute expression that specifies the flags for bits 32 to 37, and zeros for bits 38 and 39, of the generated channel command word. The value of this expression is right-justified in byte 4 of the generated channel command word. Byte 5 is set to zero by the assembler. Chapter 5. Assembler Instruction Statements 115
- Page 84 and 85: Addressing | The System/390® and z
- Page 86 and 87: Addressing | Parts must always be r
- Page 88 and 89: Addressing Literal Pools ALPHA LR 3
- Page 90 and 91: Addressing If the symbol is the nam
- Page 92 and 93: Addressing External Symbol Dictiona
- Page 94 and 95: Addressing 74 HLASM V1R5 Language R
- Page 96 and 97: Part 2. Machine and Assembler Instr
- Page 98 and 99: General Instructions Chapter 4. Mac
- Page 100 and 101: Input/Output Operations For further
- Page 102 and 103: Branching with Extended Mnemonic Co
- Page 104 and 105: Symbolic Operation Codes variations
- Page 106 and 107: Operand Entries Registers You can s
- Page 108 and 109: Operand Entries “Program Structur
- Page 110 and 111: Operand Entries Format │ Coded or
- Page 112 and 113: Examples of Coded Machine Instructi
- Page 114 and 115: Examples of Coded Machine Instructi
- Page 116 and 117: Examples of Coded Machine Instructi
- Page 118 and 119: Examples of Coded Machine Instructi
- Page 120 and 121: Chapter 5. Assembler Instruction St
- Page 122 and 123: *PROCESS Statement *PROCESS Stateme
- Page 124 and 125: ACONTROL Instruction ►►──
- Page 126 and 127: ACONTROL Instruction FLAG(PAGE0) in
- Page 128 and 129: AINSERT Instruction character_strin
- Page 130 and 131: AMODE Instruction alias_string is t
- Page 132 and 133: CATTR Instruction Figure 25. AMODE/
- Page 136 and 137: CCW1 Instruction data_count is an a
- Page 138 and 139: CEJECT Instruction If symbol is an
- Page 140 and 141: CNOP Instruction Figure 29 (Page 2
- Page 142 and 143: COPY Instruction In the following e
- Page 144 and 145: CSECT Instruction symbol in the nam
- Page 146 and 147: DC Instruction ROUTINE B GAMMA DXD
- Page 148 and 149: DC Instruction duplication_factor c
- Page 150 and 151: DC Instruction Figure 33 (Page 2 of
- Page 152 and 153: DC Instruction With EBCDIC spaces
- Page 154 and 155: DC Instruction Further information
- Page 156 and 157: DC Instruction | Symbols used in su
- Page 158 and 159: DC Instruction The length attribute
- Page 160 and 161: DC Instruction Notes: 1. Don't conf
- Page 162 and 163: DC Instruction—Character Constant
- Page 164 and 165: DC Instruction—Character Constant
- Page 166 and 167: DC Instruction—Graphic Constant r
- Page 168 and 169: DC Instruction—Fixed-Point Consta
- Page 170 and 171: DC Instruction—Fixed-Point Consta
- Page 172 and 173: DC Instruction—Decimal Constants
- Page 174 and 175: DC Instruction—Address Constants
- Page 176 and 177: DC Instruction—Address Constants
- Page 178 and 179: DC Instruction—Offset Constant re
- Page 180 and 181: DC Instruction—Length Constant Le
- Page 182 and 183: DC Instruction—Hexadecimal Floati
CATTR Instruction<br />
| statements for the class, the attribute is ignored and diagnostic<br />
| message ASMA191W is issued.<br />
| If the PART attribute has been specified on the first CATTR statement<br />
| for the class, but is not specified on subsequent CATTR statements for<br />
| the class, the diagnostic message ASMA155S is issued.<br />
| Multiple parts may be defined within a class.<br />
| PRIORITY(nnnnn)<br />
| The binding priority to be attached to this part. The value must be<br />
| specified as an unsigned decimal number and must lie between 0 and<br />
| 2 31 −1. An invalid priority is ignored and diagnostic message 'ASMA062E<br />
| Illegal operand format xxxxxx' is issued.<br />
| The PRIORITY attribute may be specified on the first CATTR instruction for<br />
| the part. If the PRIORITY attribute is specified on second and subsequent<br />
| CATTR instructions for the part it is ignored and the diagnostic message<br />
| ASMA191W is issued.<br />
| The PRIORITY attribute is ignored if there is no PART attribute on the<br />
| CATTR instruction and the diagnostic message 'ASMA062E Illegal operand<br />
| format xxxxxx' is issued.<br />
READONLY<br />
The text is storage-protected.<br />
REFR<br />
The text is marked refreshable.<br />
RENT<br />
The text is marked reenterable.<br />
REUS<br />
The text is marked reusable.<br />
RMODE(24)<br />
The text has a residence mode of 24.<br />
RMODE(31)<br />
The text has a residence mode of 31.<br />
RMODE(ANY)<br />
The text may be placed in any addressable storage.<br />
Refer to the z/OS MVS Program Management: User's Guide and <strong>Reference</strong>,<br />
SA22-7643 for details about the binder attributes.<br />
Default Attributes: When you don't specify attributes on the CATTR instruction<br />
the defaults are:<br />
ALIGN(3),EXECUTABLE,NOTREUS,RMODE(24)<br />
The LOAD attribute is the default if neither DEFLOAD nor NOLOAD are specified.<br />
Where to Use the CATTR Instruction: Use the CATTR instruction anywhere in a<br />
source module after any ICTL or *PROCESS statements. The CATTR instruction<br />
must be preceded by a START, CSECT, or RSECT statement, otherwise the<br />
assembler issues diagnostic message ASMA190E.<br />
114 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>