Run and hold a single job to CA 7.
Usage
zowe ca7 commands runh [options]
Options
-
--job
(string)
-
--jobl
(string)
-
--arfset
| --as
(string)
-
arfset={arfsetname|**NONE**}
Defines the ARF set name that is used for this run of the job.
If you specify **NONE**, no ARF processing is performed for this run of the job.
Limits: 1 to 8 alphanumeric characters or **NONE**
-
--class
(string)
-
--dotm
(string)
-
dotm=hhmm
Defines the due-out time-of-day for the job in hours (hh) and minutes (mm).
If DOTM is specified on the DEMAND/DEMANDH command and the value that is given is earlier than the current time, the due-out day is assumed to be the following day.
If DOTM and LEADTM are both omitted, then deadline start time is assumed to be the current time plus the LEADTM.
Limits: hh= 2 numeric characters from 0 to 24
mm= 2 numeric characters from 00 to 59
Required: No (unless DATE is used, if so, DOTM or TIME must be specified)
-
--exec
| -e
(string)
-
exec={NO|YES}
Specifies whether to execute the job (YES/NO).
If NO (N) is used, the job does not run but shows a normal completion as if it did run. The value that is specified here overrides the value that is coded on the job definition EXEC field.
Default: The job definition panel EXEC value if the job is defined to CA WA CA 7 Edition; otherwise YES.
-
--jclid
| --ji
(string)
-
jclid=10
Defines the JCL data set that contains the execution JCL to be submitted.
If used, the value must be a numeric INDEX associated with the wanted JCL data set (on the JCL statement in the initialization file).
If the job is defined in the database, the value must be the same as the value on the DB.1 panel or the Optional PARMLIB/Parmlib value on the DB.10 and DB.11 panels.This field or the JCLLIB field is required if the job is not defined in the database. JCLID and JCLLIB are mutually exclusive.Limits: 1 to 3 numeric characters from 0 through 254 and from 256 through 999. 255 is reserved.
-
--jcllib
| --jl
(string)
-
jcllib=&SPECIAL
Defines the JCL data set that contains the execution JCL to be submitted.
If used, the value must be a symbolic INDEX associated with the wanted JCL data set (on the JCL statement in the initialization file).
If the job is defined in the database, the value must be the same as the value on the DB.1 panel or the Optional PARMLIB/Parmlib value on the DB.10 and DB.11 panels.This field or the JCLLIB field is required if the job is not defined in the database. JCLID and JCLLIB are mutually exclusive.Limits: 2 to 16 alphanumeric characters beginning with ampersand (&)
-
--late
(string)
-
--leadtm
| --lt
(string)
-
--mainid
| --mi
(string)
-
mainid={ALL|SYn|/SYn|-SYn}
Specifies the MAINID, as defined in the initialization file CPU statement, to which you want to redirect the job.
The value that is specified here overrides the value that is coded on the job definition MAINID field. The name must be one of the following values:
ALL
Specifies all CPUs are acceptable for executing the job.
SYn
n defines the CPU to which the job is being redirected. The value of n can range from 1 to 7.
/SYn
n defines a CPU to which the job cannot be submitted. The value of n can range from 1 to 7.
-SYn
n defines a CPU to which the job cannot be submitted. The value of n can range from 1 to 7.
Limits: Invalid for internal cross-platform jobs.
-
--rms
(string)
-
rms={NO|YES}
Specifies whether CA WA CA 7 Edition inserts the CA Workload Automation Restart Option for z/OS Schedulers RMS step.
Specify YES (Y) to insert the step with the CA Workload Automation Restart Option for z/OS Schedulers processing code of P. Enter NO (N) to indicate that the RMS step is not inserted.
The value that is specified here overrides the value that is coded on the job definition INSERT-RMS field.
Default: The job definition panel INSERT-RMS value if job defined to CA WA CA 7 Edition; otherwise NO.
Limits: Invalid for internal cross-platform jobs.
-
--schid
| --si
(string)
-
schid={1|nnn}
Indicates the schedule ID to be used for evaluating JCL overrides that are scheduled with the #Jx or #Xx commands.
Default: 1
Limits: 1 to 3 numeric characters from 1 to 999 (See Note)
No (unless the SCHEDULE statement in the initialization file specifies SCHID=YES, then this parameter is required)
-
--time
(string)
-
--type
(string)
-
type={CLOCK|END|RES|START}
Indicates that the job is being scheduled for rerun.
The value must be specified as shown.
TYPE=RES is optional.If used, a restart requirement is placed on the job, and the job has to be manually restarted.Limits: RES, CLOCK, START, or END
CA7 Connection Options
Profile Options
Base Connection Options
-
--reject-unauthorized
| --ru
(boolean)
-
--token-type
| --tt
(string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value
| --tv
(string)
- The value of the token to pass to the API.
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples