Action Code 1 Switch All Jobs and SP-MOVEQ

Moves all print jobs from one formqueue to another.

Prompts

From-Form-Queue
To-Form-Queue

TCL syntax

SP-MOVEQ {job-file} from-form-queue to-form-queue {(F}

Prompt/Syntax elements

from-form-queue (From-Form-Queue)
is the name of the formqueue containing the print jobs to be moved.

to-form-queue (To-Form-Queue)
is the name of the destination formqueue for the print jobs.

job-file specifies the job file to be used for the duration of the command execution. If you specify job-file you must also use the F option.

Options

F Specifies that the first parameter after the verb is the required job file.

Restrictions

A print job currently being despooled cannot be moved. It must first be suspended using Action Code 9 or SP-SUSPEND. After suspending and moving a print job, the Spooler resumes printing from the beginning of the job.

Specified job file

Only print jobs in the currently specified job file are recognised and moved. Any attempt to move print jobs residing in another job file will result in an error message. The specified job-file must be local. See also the topic Specified Job File.

Comments

When you move a job to a different formqueue, the print job control item is changed so that the print data goes through one queue rather than another. The actual print data does not move. It remains in the same job file. To move the print data to a different job file you must use the SP-COPY command.

Example 1

To move all print jobs from a formqueue called CHECK to a formqueue called LABELS, enter:

SP-MOVEQ CHECK LABELS

or, alternatively, enter:

SP-JOBS

then select Action Code 1 on the Print Jobs screen.

This displays the prompt:

Form-Form-Queue CHECK

then

To-Form-Queue LABELS

Example 2

To move the print jobs in job file INVOICES from the formqueue INVOICE to formqueue standard, enter:

SP-MOVEQ INVOICES INVOICE STANDARD (F