HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


RMODE instruction

HLASM Language Reference
SC26-4940-06

The RMODE instruction specifies the residence mode to be associated with control sections in the object deck.
Read syntax diagramSkip visual syntax diagram
>>-+------+--RMODE--+-24--+------------------------------------><
   '-name-'         +-31--+   
                    +-64--+   
                    '-ANY-'   

name
Is the name field that associates the residence mode with a control section. If there is a symbol in the name field, it must also appear in the name field of a START, CSECT, RSECT, or COM instruction in this assembly. If the name field is space-filled, there must be an unnamed control section in this assembly. If the name field contains a sequence symbol (see Symbols for details), it is treated as a blank name field.
24
Specifies that a residence mode of 24 is to be associated with the control section; that is, the control section must be resident below 16 MB.
31
Specifies that a residence mode of either 24 or 31 is to be associated with the control section; that is, the control section can be resident above or below 16 MB.
64
Specifies that a residence mode of 64 is to be associated with the control section (see 64 bit addressing mode).
ANY
Is understood to mean RMODE 31.
Any field of this instruction can be generated by a macro, or by substitution in open code.
Notes:
  1. RMODE can be specified anywhere in the assembly. It does not initiate an unnamed control section.
  2. An assembly can have multiple RMODE instructions; however, two RMODE instructions cannot have the same name field.
  3. The valid and invalid combinations of AMODE and RMODE are shown in Table 1. Combinations involving AMODE 64 and RMODE 64 are subject to the support outlined in 64 bit addressing mode.
  4. AMODE or RMODE cannot be specified for an unnamed common control section.
  5. The defaults used when zero or one MODE is specified are shown in Table 2. Combinations involving AMODE 64 and RMODE 64 are subject to the support outlined in 64 bit addressing mode.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014