casout [/res-name] [/sprototype:host:port] [/lservername] [/gnumber] [/gnumber:reldd] [/doutput-dsn] [/iclasses] [/jjobnumber:step:procstep] [/knumber] [/mnumber] [/fnumber] [/uuserid] [/ppassword]
Connection parameters | |
---|---|
/res-name | Connect to the named enterprise server. Defaults to ESDEMO. |
or: | |
/sprototype:host:port | Use the specified URL to find the enterprise server to connect to, for example stcp:localhost:9003 |
or: | |
/lservername | Look up the specified servername to find the enterprise server to connect to. |
Other parameters | |
---|---|
/gnumber | Display all sysout for job number number. |
or: | |
/gnumber:reldd | Retrieve the relative dd for job number number. |
/doutput-dsn | Output DSN for sysout retrieval. The-d option must precede the -g option. |
/iclasses | Start an initiator to run jobs of the named classes. |
/jjobnumber:step:procstep | Restart the job at the specified step/procstep. The procstep is optional. |
/knumber | Kill job number number. |
/mnumber:class | Modify job number number to use the specified class. |
/fnumber | Flush the output of job number number. |
/uuserid | Authorization user ID. |
/ppassword | Authorization password. |
/cgroup | The sign-on group to be used when running commands. |
/qmessage-classes | Start an IMS Message Processing Region for the specified classes. |
/tprocess-ID | Terminate the batch initiator, batch printer or IMS MPR that has the specified process ID. |
/v | List all batch initiators, batch printers and IMS MPRs. |
/nprinter-name | Specifies the name of the physical device to be used by a new batch printer. This option is used with the /b and /x options. |
/boutput-classes | Specifies the output classes to be handled by a new batch printer. This option is used with the /n and /x options. |
/xprinter-exit | Specifies the name of the name of a printer exit to be associated with a new batch printer. Used with the /n and /b options. |
Starting an initiator for classes EFG on Enterprise Server JCLT:
casout /rJCLT /iEFG
Start a batch printer using the physical device "TestPrinter" for classes EFG on Enterprise Server JCLT:
casout /rJCLT /bEFG /n"TestPrinter"
Start a batch printer as in the previous example, but this time associate it with a printer exit (sampprnx):
casout /rJCLT /bEFG /n"TestPrinter" /xsampprnx
Start an IMS Message Processing Region for specified message classes:
casout /rJCLTT /q001
Comments:
The /r, /s and /l options are alternatives and are mutually exclusive.
On UNIX you can use a dash (-) before a parameter as an alternative to a forward slash (/).