How to setup a CA Spool PSF TCP/IP Printer?

Document ID : KB000054890
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

In the manual is a sample of how to setup a CA Spool PSF VTAM printer. Is there a sample of how to setup CA Spool PSF TCP/IP printer?

Solution:

The first thing you need to do is come up with the name for your FSS proc and add that to an FSSDEF statement. This requires a recycle of the task to take affect. Once that is completed you can add a NODE statement to point to the new FSS proc and issue a REINIT command to add the new printer definition.

  • CAIQPARM changes: Note the FSSDEF name must match the NODE statement parameter FSS=name

    FSSDEF ESFTESTP, PROC=ESFTESTP

    DEFNODE PSFIP, TCPIP, GROUP=1, ACQUIRE=WORK, RELEASE=NOWORK, CLASS=ALL

    NODE PSFPRT1, PSFIP, FSS= ESFTESTP

  • FSS PROC changes: Note the PRINTDEV and ENDCNTL name must match the NODE name defined in the CAIQPARM member. Also insure if you specify the CA Spool CAILIB as a STEPLIB it must be APF authorized, otherwise the task will abend with a S0C4.


    //ASPRNCP1 EXEC PGM=APSPPIEP,REGION=0M,ACCT=(115100000)//STEPLIB  DD DSN=ESF110.CAILIB,DISP=SHR//JOBHDR OUTPUT PAGEDEF=A06462,     /* JOB SEPARATOR PAGEDEF         *///       FORMDEF=010111,CHARS=GT18  /* JOB SEPARATOR FORMDEF         *///JOBTLR OUTPUT PAGEDEF=A06462,     /* JOB SEPARATOR PAGEDEF         *///       FORMDEF=010111,CHARS=GT18  /* JOB SEPARATOR FORMDEF         *///DSHDR  OUTPUT PAGEDEF=A06462,     /* DS  SEPARATOR PAGEDEF         *///       FORMDEF=010111,CHARS=GT18  /* DS  SEPARATOR FORMDEF         *///MSGDS  OUTPUT PAGEDEF=A06462,     /* MESSAGE DATASET PAGEDEF       *///       FORMDEF=010111,CHARS=GT18  /* MESSAGE DATASET FORMDEF       *///SYSPRINT  DD SYSOUT=X//FDEF01    DD  DISP=SHR,DSN=SYS1.FDEFLIB                              //PDEF01    DD  DISP=SHR,DSN=SYS1.PDEFLIB                              //OLAY01    DD  DISP=SHR,DSN=SYS1.OVERLIB                    //PSEG01    DD  DISP=SHR,DSN=SYS1.PSEGLIB                              //FONT01    DD  DISP=SHR,DSN=SYS1.FONT300                    //*//PSFPRT1  PRINTDEV FONTDD=*.FONT01,   /* FONT LIBRARY DD              *///          OVLYDD=*.OLAY01,           /* OVERLAY  LIBRARY DD          *///          PSEGDD=*.PSEG01,           /* SEGMENT  LIBRARY DD          *///          PDEFDD=*.PDEF01,           /* PAGEDEF  LIBRARY DD          *///          FDEFDD=*.FDEF01,           /* FORMDEF  LIBRARY DD          *///          JOBHDR=*.JOBHDR,           /* JOB HEADER SEPARATOR OUTPUT  *///          JOBTRLR=*.JOBTLR,          /* JOB TRAILER SEPARATOR OUTPUT *///          DSHDR=*.DSHDR,             /* DATA SET HEADER SEPARATOR    *///          MESSAGE=*.MSGDS,           /* MESSAGE DATA SET OUTPUT      *///          BUFNO=50,                  /* AMT STORAGE FOR I/O 200K     *///          PAGEDEF=V06683,            /* DEVICE PAGEDEF DEFAULT       *///          FORMDEF=A10110,            /* DEVICE FORMDEF DEFAULT       *///          DATACK=UNBLOCK,            /* REPORT ALL DATA CHECK ERRORS */ //          CHARS=(GT18),              /* DEVICE FONT DEFAULT          *///          PIMSG=YES                  /* ACCUMULATE DATA SET MESSAGES *///          TRACE=NO,                  /*CREATE INTERNAL TRACE ENTRIES *///          FAILURE=WCONNECT,          /*PSF ACTION ON PRINTER FAILURE *///          MGMTMODE=IMMED,            /* PROCESS TO DRIVE WRITER      *///          TIMEOUT=REDRIVE,           /* PSF ACTION ON TIMEOUT        *///          DISCINTV=0,                /*DISCONNECT INTERVAL IN SECONDS*/  //          PORTNO=9100,               /* DEFAULT 1140 PRINTER PORT    *///          IPADDR='138.42.151.87'     /* TCP/IP ADDRESS CONNECTION    *///PSFPRT1   ENDCNTL