22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

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

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

CATTR Instruction<br />

Figure 25. AMODE/RMODE Combinations<br />

RMODE 24 RMODE 31 RMODE 64<br />

AMODE 24 OK invalid invalid<br />

AMODE 31 OK OK invalid<br />

AMODE ANY|ANY31 OK OK invalid<br />

| AMODE 64|ANY64 OK OK OK<br />

5. AMODE or RMODE cannot be specified for an unnamed common control<br />

section.<br />

6. The defaults used when zero or one MODE is specified are shown in the<br />

following table. Note that combinations involving AMODE 64 and RMODE 64<br />

are subject to the support outlined in “64-bit Addressing Mode” on page 101.<br />

Figure 26. AMODE/RMODE Defaults<br />

Specified<br />

Default<br />

Neither AMODE 24, RMODE 24<br />

AMODE 24 RMODE 24<br />

AMODE 31 RMODE 24<br />

AMODE ANY|ANY31 RMODE 24<br />

RMODE 24 AMODE 24<br />

RMODE 31 (was ANY) AMODE 31<br />

AMODE 64 RMODE 31<br />

| AMODE ANY64<br />

RMODE 31<br />

RMODE 64 AMODE 64<br />

CATTR Instruction (MVS and CMS)<br />

The CATTR instruction establishes a program object external class name, and<br />

assigns binder attributes for the class. This instruction is valid only when you<br />

specify the GOFF or XOBJECT assembler option.<br />

┌─,─────────┐<br />

►►──class_name──CATTR─── ▼ ─attribute─┴───────────────────────────────►◄<br />

class_name<br />

is a valid program object external class name. The class name must follow the<br />

rules for naming external symbols, except that:<br />

Class names are restricted to a maximum of 16 characters<br />

Class names with an underscore (_) in the second character are reserved<br />

for IBM use; for example B_TEXT. If you use a class name of this format,<br />

it might conflict with an IBM-defined binder class.<br />

attribute<br />

is one or more binder attributes that are assigned to the text in this class:<br />

112 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!