Restricting a Module to a Specific Virtual Machine Mode
You can use the 370, XA, and XC options of the GENMOD command to specify that a
module run only in a 370 virtual machine or in an XA or XC virtual
machine. For example, to specify that ODDJOB run only in an XA virtual
machine, enter
load oddjob
genmod (XANote:
- You can override the 370 option of the GENMOD command by issuing the CMS SET GEN370 OFF command. This allows a module generated with the 370 option of the GENMOD command to run in an XA or XC virtual machine. See the z/VM: CMS Commands and Utilities Reference for more information on the SET GEN370 command.
- Only CMS levels prior to CMS Level 12 will execute in a 370 virtual machine.