PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Transmitting a data set to an IBM i System

PSF for z/OS: User's Guide
S550-0435-04

Transmitting a data set to an IBM i System

You can transmit a data set to an IBM® i system and print it on an IPDS printer.

The steps for setting up the IBM i system to receive and print files are:

  1. Correctly define AFP printers to the IBM i system.
  2. Configure the printers according to instructions in AS/400® Printer Device Programming
  3. Make resources available by using these commands:
    • CRTFORMDF (form definition)
    • CRTOVL (overlays)
    • CRTPAGSEG (page segments)
    • CRTPAGDEF (page definition)
    • CRTFNTRSC (fonts)
  4. Use the CRTDEVPRT or CHGDEVPRT command to specify the correct default form definition and font and to specify the printer as an AFP printer.
  5. Start the printer writer to print the job.

For information about IBM i commands, see AS/400 Command Language Reference.

Example:
In this example, assume that OS400SYS is the destination name of the IBM i system. Replace USER.DATASET, *.MYOUT, and class J with your own values.
//MYJOB JOB (A,BC),'TEST',MSGCLASS=H
//INSTR PROC
//SPOOL   EXEC PGM=IEBGENER
//MYOUT OUTPUT DEST=OS400SYS.USERID,
//             COPIES=1
//SYSPRINT  DD SYSOUT=*
//SYSUT2    DD SYSOUT=J,OUTPUT=*.MYOUT
//SYSUT1    DD DSN=USER.DATASET,DISP=SHR
//SYSIN     DD DUMMY
//    PEND
//SAMPLE EXEC PROC=INSTR

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014