Only commands and programs that do not require the services of MVS™ task termination can run on the
command/program invocation platform.
The PLATCMD statement in SYS1.SAMPLIB member IKJTSO00 contains
a list of recommended commands that you can run on the command/program
invocation platform. Unauthorized commands are:
- ALLOCATE
- ALTLIB
- ATTRIB
- CALL
- EXEC
- FREE
- PRINTDS
- PROFILE
- STATUS
- SUBMIT
Authorized commands are:
- CONSPROF
- LISTBC
- PARMLIB
- RACONVRT
- RECEIVE
- SEND
- SYNC
- TRANSMIT
The PLATPGM statement in SYS1.SAMPLIB member IKJTSO00 contains
a list of recommended programs you can run on the command/program
invocation platform.
IEFBR14 is an unauthorized program you can run.
IKJEFF76 is an authorized program you can run.
You can also add installation-written commands and programs to
platform support statements in SYS1.PARMLIB, member IKJTSOxx. Before
adding commands or programs to a platform support statement, the following
must be considered:
- Any task-related resources that the command or program obtains
must be explicitly released during normal processing (for example,
subpool 0 storage or ENQ serialization).
When a command or program
that is running on the command/program invocation platform abnormally
terminates or terminates due to an attention interruption, the system
releases any task-related resources.
- If an installation-supplied command or program invokes dynamic
allocation, it is the responsibility of the command or program to
provide its own remove in-use processing, which is normally provided
by the terminal monitor program (TMP).
To properly invoke remove
in-use processing, you must be aware of the level of the task that
is issuing the dynamic allocation. If the allocation occurs at the
primary task level, you must invoke remove in-use processing (SVC
99 with verb code 05) using the IEFZB4D2 mnemonic DRITCBAD and specifying
the current TCB address. The current TCB address is in the PSATOLD
field of the PSA. The mnemonic DRITCBAD specifies that the in-use
attribute is to be used from all resources associated with the specified
TCB address.
When the allocation occurs below the primary task
level you invoke, remove in-use processing and the IEFZB4D2 mnemonic
DRICURNT. DRICURNT specifies that the in-use attribute is to be removed
from all resources except those associated with the current task and
those associated with higher-level tasks.
For more information
about dynamic allocation and remove in-use processing, see .