This is the default operating mode when the INIT program is started with /START-INIT
.
START-INIT |
VERSION = *STD / <product-version> ,MONJV = *NONE / <filename 1..54 without-gen-vers> ,CPU-LIMIT = *JOB-REST / <integer 1..32767 seconds> |
To guarantee compatibility with earlier versions, the follwoing command is still supported:
/START-EXECUTABLE-PROGRAM FROM-FILE=$INIT
Once the program is started, messages are output via SYSOUT. The system awaits inputs from SYSDTA.
The program runs as described in the section “Program run”.
Statements to the INIT routine can be:
entered at the terminal in interactive mode
contained within a command procedure (reassignment from SYSDTA to SYSCMD)
contained in an ENTER job (SYSDTA reassigned by default to SYSCMD)
Examples
Command procedure:
/BEGIN-PROCEDURE /ASSIGN-SYSDTA TO-FILE=*SYSCMD /START-INIT ... (INIT statements) END /ASSIGN-SYSDTA TO-FILE=*PRIMARY /END-PROCEDURE
ENTER job:
/SET-LOGON-PARAMETERS /START-INIT ... (INIT statements) END /EXIT-JOB