You use the command casout to start a batch initiator or batch printer SEP from the command line. Before you use casout, you must already have started the enterprise server using the command casstart.
The following commands start a batch initiator SEP for the classes A, B and C on the enterprise server JCLDEMO.
casstart -rjcldemo casout -iABC -rjcldemo
The following commands start a batch printer SEP for the class A on the enterprise server JCLDEMO using the printer defined on your machine as "HP LaserJet 4L".
casstart -rjcldemo casout -bA -n"HP LaserJet 4L" -rjcldemo
The following commands are the same as above, with the addition of a printer exit (SAMPPRNX) installed, to gain more control over the output handling.
casstart -rJCLDEMO casout -bA -n"HP LaserJet 4L" -rjcldemo -xsampprnx