How to override the defaults

To override the defaults, specify AMODE or RMODE using one of the mechanisms as described in this topic.

  • EXEC statement of your link-edit job step, where programname refers to the program binder (linkage-editor), such as IEWBLINK, IEWL or HEWL:
    //LKED     EXEC     PGM=programname,
    //         PARM='AMODE=xx,RMODE=yy'
  • The linkage-editor MODE control statements:
    MODE AMODE(xx),RMODE(yy)
  • One of the following TSO commands LINK or LOADGO:
    LINK(dsn-list)
    AMODE(xx) RMODE(yy)
    LOADGO(dsn-list) AMODE(xx) RMODE(yy)

For more information about allowable xx and yy and binder MODE control statements, see your MVS Program Management: User's Guide and Reference.

The loader that uses information set by the binder uses a program's AMODE attribute to determine whether a program invoked using ATTACH, LINK, XCTL, or LOAD/BASSM is to receive control in 24-bit or 31-bit addressing mode. The loader uses the RMODE attribute to determine whether a program must be loaded into virtual storage under 16 MB, or can reside anywhere in virtual storage (beyond or under 16 MB).