Problem:
Releasing Held Jobs in Enterprise Server from the Command Line
Resolution:
The CASOUT -m command can be used to release Jobs from the Held Queue. This command can be used to action many options.
The List below shows the options available.
Usage: casout [/r | /s | /l] [ [/k... [/k...]] &| [/m...[/m...]]&| [/g [/g...]] &| [/g... /d... [/g... /d...]] ]
/r{server-name} Enterprise Server Name
or
/s{prototype:host:WebServiceport}
/stcp:localhost:9003
or
/l{server-name} Lookup server
prototype:host:port using MFCC
/g{number} Display all sysout for job
or
/g{number:reldd} Retrieve relative dd for job
/d{output-dsn} Output dsn for sysout retrieval
(-d must preceed -g operand)
/i{classes} Start Initiator
/j(num:step:pstp) Job Restart (pstp optional)
/k{number} Kill Job by number
/m{number:class} Modify Job by number
/m{number:@} Release Job
/f{number} Flush Job output by number
/u{userid} Authorization User ID
/p{password} Authorization Password
/c{group} Authorization Group (Optional)
/q{trans-classes} IMS Message Processing Region
/w{mpr-name} IMS Message Processing Name
/b{out-classes} Batch Print Processor
/n{printer-name} Batch Printer Name
/x{printer-exit} Batch Printer Exit
/v View Batch Initiators,
Batch Printers, IMS MPRS
/t{pid} Terminate Batch Initiator,
Batch Printer, IMS MPR
/e{"IMS Command"} Execute IMS command
"/dis tran all".
/r, /s, /l are mutually exclusive
#CASSOUT
#MFDS
#EnterpriseDeveloper