The functions are also possible in interactive mode (line mode). The default startup procedure must be called up as follows:
/CALL-PROC SYSPRC.RMS.071,(MODE=BATCH)
By means of coupling individual statements, it is possible to create jobs which automatically execute certain applications.
Example 1
All the data in DELIVERYFILE
is added to the depot. Notebook entries are taken into account.
The specified LISTFILE
is extended to include the log file.
In the event of an error, job switch 30 is set to ON.
FUNCTION=INPUT,- INPUT=DELIVERY FILE,- LIST=LISTFILE/EXT,- ERROR=ON(30)
For all products which are added to the depot, utilizable loaders are generated. Existing system loader definitions are taken into account.
If definitions are missing, default definitions are used and entered.
In the event of an error, job switch 31 is set to ON.
FUNCTION=SELECT-REPFILE-TO-BUILD,- INSTALLATION=DEF,- AUTODEF=YES,- ERROR=ON(31) END
Example 2
The loaders are generated as defined in the system loader definitions with the names S090REP ZE1
and S090REP ZE2
.
FUNCTION=SELECT-REPFILE-TO-BUILD,- NAME='S090REP ZE1',- INSTALLATION=DEF FUNCTION=SELECT-REPFILE-TO-BUILD,- NAME='S090REP ZE2',- INSTALLATION=DEF
For all system loader definitions in which SPOOL V4.9A is defined, loaders are generated and, where applicable, installed.
FUNCTION=SELECT-REPFILE-TO-BUILD,- PROD=SPOOL,VERS=4.9A,- AUTODEF=YES,- INSTALLATION=DEF END