Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


RMODE

The RMODE option setting influences the RMODE (residency mode) of your generated object program.

Read syntax diagramSkip visual syntax diagram
RMODE option syntax

          .-AUTO-.     
>>-RMODE(-+-24---+-)-------------------------------------------><
          '-ANY--'     

Default is: AUTO

Abbreviations are: None

A program compiled with the RMODE(AUTO) option will have RMODE 24 if NORENT is specified, and RMODE ANY if RENT is specified. RMODE(AUTO) is compatible with older compilers such as VS COBOL II, which produced RMODE 24 for programs compiled with NORENT and RMODE ANY for programs compiled with RENT.

A program compiled with the RMODE(24) option will have RMODE 24 whether NORENT or RENT is specified.

A program compiled with the RMODE(ANY) option will have RMODE ANY whether NORENT or RENT is specified.

DATA and RENT: The RMODE option interacts with other compiler options and runtime options that affect storage and its addressability. See the related concepts for information about passing data between programs with different modes.

Link-edit considerations: When the object code that COBOL generates has an attribute of RMODE 24, you must link-edit it with RMODE 24. When the object code that COBOL generates has an attribute of RMODE ANY, you can link-edit it with RMODE ANY or RMODE 24.

related concepts  
Storage and its addressability


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)