Every program that runs in z/OS is assigned two attributes, an AMODE (addressing mode) and an RMODE (residency mode):
z/OS uses a program's AMODE attribute to determine whether a program invoked using ATTACH, LINK, or XCTL is to receive control in 24-bit or 31-bit addressing mode.
z/OS uses the RMODE attribute to determine whether a program must be loaded into virtual storage below 16 megabytes, or can reside anywhere in virtual storage (above or below 16 megabytes).
Valid AMODE and RMODE specifications are:
| Attribute | Meaning |
|---|---|
| AMODE=24 | 24-bit addressing mode |
| AMODE=31 | 31-bit addressing mode |
| AMODE=64 | 64-bit addressing mode |
| AMODE=ANY | Either 24-bit or 31-bit addressing mode |
| RMODE=24 | The module must reside in virtual storage below 16 megabytes. Use RMODE=24 for programs that have 24-bit dependencies. |
| RMODE=ANY | Indicates that the module can reside anywhere in storage, which includes addresses above the 16 megabyte line. |
If you don't specify the AMODE or RMODE in the assembler program or when you link the program, both AMODE and RMODE default to 24.
[ Top of Page | Previous Page | Next Page | Contents | Index ]