The following information
shows a sample procedure to start an NPF FSS writer. You
can copy this sample from
hlq.SEZAINST(FSWTR),
modify it to suit your environment, and catalogue it to a recognized
PROCLIB, such as the SYS1.PROCLIB.
Note: The log file cannot be shared.
If you want to run more than one instance of the NPF FSS writer, you
will need separate procedures with a unique name for this data set
in each procedure.
//FSWTR PROC
//* ------------------------------------------------------------------*
//*
//* COPYRIGHT = NONE
//*
//* SMP/E Distribution Name: EZAEC0YU *
//*
//* This JCL starts the Network Print Facility's JES interface.
//*
//* The executable code is assumed to be in a link library which is
//* in the system link list. (The default is TCPIP.SEZALINK).
//*
//* REGION=3M is specified to provide sufficient below-the-line
//* storage for a writer with a single FSA (printer) subtask.
//* That number should be increased by 850K for each additional
//* FSA (printer) subtask defined for the writer.
//*
//* In this sample, the names of the routing, options and queue
//* files are:
//*
//* TCPIP.ROUTING
//* TCPIP.OPTIONS
//* TCPIP.QUEUE
//*
//* All three are assumed to have been created and initialized
//* prior to the use of this JCL.
//*
//* The log data set for this sample is TCPIP.JES1.LOG.
//*
//* NOTE: All temporary data sets created by Network Print Facility
//* will have the high-level qualifier specified via the
//* defined search sequence. (See "Configuring NPF Using
//* TCPIP.DATA and NPF.DATA Statements" in IBM TCPIP for MVS:
//* Network Print Facility).
//*
//* In this sample, user specified defaults will be found
//* in the TCPIP.DATA data set defined by the SYSTCPD DD
//* statement and in the NPF.DATA data set defined by the
//* SYSNPFD DD statement.
//*
//* ------------------------------------------------------------------*
//IEFPROC EXEC PGM=EZAPPFS,REGION=3M
//EZAPPRF DD DSN=TCPIP.ROUTING,DISP=SHR
//EZAPPOF DD DSN=TCPIP.OPTIONS,DISP=SHR
//EZAPPQF DD DSN=TCPIP.QUEUE,DISP=SHR
//EZAPPLOG DD DSN=TCPIP.JES1.LOG,DISP=OLD
//SYSTCPD DD DSN=TCPIP.TCPIP.DATA,DISP=SHR
//SYSNPFD DD DSN=TCPIP.NPF.DATA,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSMDUMP DD SYSOUT=*