gtps1m07 | System Macros |
Macros in this publication are restricted to system use and are known as system macros. System macros must not be used by application programs. There are 3 types of system macros:
These macros are guarded by the macro checking process. Programs using them must be authorized in the program allocation table (PAT) during installation or by the system operator.
There is no mechanism for authorizing use of these macros. They only operate in a system environment.
These macros only operate correctly when invoked by the CP. For example, R9 might not point to an entry control block (ECB) (this is a violation of the application interface for E-type programs), reserved hardware control sequences are being executed (operation of hardware is restricted to the CP), or privileged instructions are being processed (also restricted to the CP). Macros restricted to the CP do not require authorization.
Explanations of macro authorization appear in the $CKMAC macro and in the allocation section of TPF System Installation Support Reference. See $CKMAC-Validate Use of Restricted Macro for more information about the $CKMAC macro.
An additional category of macros appears in this publication - those that relate specifically to a particular package and are not usable outside that package.