JCL API
There are a number of API calls that you can call from a COBOL program to carry out JCL-type tasks.
MFJZABND
MFJZABND abends the current job step with a system or user abend.
MFJZLOG
MFJZLOG writes a message to the syslog and/or the joblog.
MFJZS099
MFJZS099 issues an SVC 99 call.
MFJZLPSA
MFJZLPSA locates the Prefixed Save Area (PSA).
MFJZS099
Enables you to use DYNamic ALLOCation (DYNALLOC - SVC99) functions.
Parent topic:
JCL Support