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.
casstart -rjcldemo casout -bABC -rjcldemo
This starts a batch initiator SEP for the classes A, B and C on the enterprise server JCLDEMO.
casstart -rjcldemo casout -bA -n"HP LaserJet 4L" -rjcldemo
This starts 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 -xsampprnx
This is as above, with the differences that the printer exit SAMPPRNX is installed.