Interview Questions

What is AMODE(24), AMODE(24), AMODE(31), RMODE(24) and RMODE(any)? (applicable to only MVS/ESA Enterprise Server).

COBOL Interview Questions


(Continued from previous question...)

What is AMODE(24), AMODE(24), AMODE(31), RMODE(24) and RMODE(any)? (applicable to only MVS/ESA Enterprise Server).

These are compile/link edit options. Basically AMODE stands for Addressing mode and RMODE for Residency mode.
AMODE(24) - 24 bit addressing;
AMODE(31) - 31 bit addressing;
AMODE(ANY) - Either 24 bit or 31 bit addressing depending on RMODE.
AMODE(24) - Resides in virtual storage below 16 Meg line. Use this for 31 bit programs that call 24 bit programs.
(OS/VS Cobol pgm use 24 bit addresses only).
AMODE(ANY) - Can reside above or below 16 Meg line.

(Continued on next question...)

Other Interview Questions