Avoid a long-running function from a workstation

To avoid a long-running function (such as save/restore) from a workstation without tying it up, the system operator can submit the job to a job queue.

The subsystem description QSYS/QBATCH or QSYS/QBASE, which is supplied by IBM®, has a job queue QSYS/QBATCH that can be used for this purpose. If you created your own subsystem, you should refer to the job queue for that subsystem. The system operator can submit the commands from the system operator menu.
The following is an example of submitting a long-running command:
SBMJOB JOB(SAVELIBX) JOBD(QBATCH) JOBQ(QSYS/QBATCH)
       CMD(SAVLIB LIBX DEV(DKT01))
Related concepts
How an interactive job starts