Macro Libraries
You can create your own macro libraries or use the macro libraries on the CMS system disk. (For more information on creating your own macro libraries, see Creating and Using a Callable Services Library.) The macro libraries that are on the system disk contain CMS, OS/MVS, and CP assembler language macros that you may want to use in your programs.
These MACLIBs are:
- DMSGPI contains the CMS programming interface macros. In prior releases, these macros were in DMSSP MACLIB and CMSLIB MACLIB, which no longer exist.
- DMSOM contains mostly CMS internal macros. The TEOVEXIT, IO, CMSCB, and DMSJNEPL macros are the only macros in DMSOM that you can use as a programming interface.
- OSMACRO contains the macros that CMS provides for execution of programs using MVS interfaces in 370, XA, or XC virtual machines.
- MVSXA contains the simulated MVS/XA versions of the OS/MVS macros for the execution of programs using MVS interfaces in XA or XC virtual machines.
- OSMACRO1 contains the non-simulated versions of OS/MVS macros that are used only for assembly on CMS.
- OSVSAM contains the subset of OS/VSAM macros which CMS supports.
- HCPGPI contains CP programming interface macros.
- HCPPSI contains CP programming interface macros.
To obtain a list of macros in any of these libraries, use either the MACLIST command or the MACLIB command with the MAP function. In the MACLIST environment, you can issue CMS commands against the members directly from the displayed list. For more information on these commands, see the z/VM: CMS Commands and Utilities Reference.
Note: You should not use OS/MVS macros to create or update
CMS macro libraries. OS/MVS partitioned data sets and CMS MACLIBs
have different formats and use certain common fields differently.
For example, OS defines directory size in blocks and CMS MACLIB defines
directory size in bytes.