Send print data from a VM S/390® to the output queue of a user ID

A z/VM® can issue a PRINT or a PSF command to place a file directly into an i5/OS™ user's output queue.

Example using the PRINT command

These commands place the file REPORTS LETTER A into the output queue of USERONE on i5/OS with the node ID AS4002.

CP TAG DEV PRT AS4002 USERONE
CP SPOOL PRT TO RSCS COPY 1 
PRINT REPORTS LETTER A (NOCC

These commands place the file REPORTS LISTING A into the output queue of USERONE on i5/OS with the node ID AS4002.

CP TAG DEV PRT AS4002 USERONE
CP SPOOL PRT RSCS COPY 1
PRINT REPORTS LISTING A

Using the PSF command

These commands place the line data spooled file into an i5/OS. They use these variables:

Spooled file name:
reports letter a
User ID that owns the output queue:
userone
iSeries™ server node ID:
is002

A page definition will be used when the data is printed. When using the PSF command, you must place the characters P1 in front of the page definition name. When using a form definition, you must place the characters F1 in front of the form definition name. This example uses a page definition named P1MYFORM.

TAG DEV PRT is002 userone 
SPOOL PRT TO RSCS COPY 1 
PSF reports letter a (PAGEDEF (P1MYFORM RESOURCE A))