2.2.2 Arguments
- -c
- Conversion phase (only available with TuxJes).
- -d regexp
- Debug mode — with a regular expression (regexp) describing the functions to debug, for example
-d "m_FileLoad"
to debug them_FileLoad
function. - -e
- Execution phase (only available with TuxJes).
- -f
- Environment file, where each item must follow this
format:
MY_ENV_NAME=MY_ENV_VALUE; export MY_ENV_NAME
- -H
- Execution stack (use limited to maintenance team).
- -i
- Input phase (only available with TuxJes).
- -j
- Job identifier (only available with TuxJes).
- -J
- Job type - the job type is JCL.
- -k
- Cancel command (only available with TuxJes).
- -l
- KSH listing included in log.
- -L
- Log directory if the environment variable
MT_LOG
is defined, else the log is redirected to TMP directory (without TuxJes). - -r
- JES2 root (only available with TuxJes).
- -R
- Resubmit the job to start a given step.
- -s
- Sysout directory if the environment variable
MT_SYSOUT
is defined, else the sysout files are redirected to LOG directory and subsequently to TMP directory (without TuxJes). - -t file|NULL
- Test mode - this option runs the script without executing the different steps (use limited to maintenance team). It allows to check:
- the kinematics of the Korn shell script
- the existence of data file, sysin file, and executable program
- parameter for EJR API, variable settings, and JCL condition clause
If you specify
-t file
(file
stands for the file's full path), "Return Code
" configuration on each line of this file will take effect. The format is:<EJR API>;<STEP>;<Return Code>;Dummy
. For example,m_ProgramExec;START;C0088;Dummy
, where stepSTART
returnsC0088
form_ProgramExec
utility.If you specify
-t NULL
, "Return Code
" configuration in this file will not take effect; every step (for every utility) will return codeC0000
. - -v
- Verbose mode — the execution report is displayed on screen during execution. By default not activated.
- -V n
- Level mode (0 to 9).
- Job
- Job name — the name of the script to be launched without
the
.ksh
extension. - JOBID
- Unique identifier of the job in JES2 system.
- JES2ROOT
- Root directory of JES2 directory.
Parent topic: EJR Syntax