Previous Topic: CA Spool JCLNext Topic: TCP/IP Print Drivers


TCPIP Data File

The SYSTCPD DD statement lets you pre-allocate your TCPIP.DATA file to eliminate the overhead of performing dynamic allocation of this file for every print request.

You can use the SYSTCPD DD statement to test a new TCPIP.DATA data set before putting it into production. It lets you to replace the installation default TCPIP.DATA file with your version.

Note: The use of DCB=BUFNO=n, where n is any number, is not recommended. This can increase storage use and result in storage abends.

Your TCPIP data file can include the following definitions.

TCPIPJOBNAME                 <tcpip_proc>
HOSTNAME                     <host_name> 
DOMAINORIGIN                 <origin>    
NSINTERADDR                  <IP-address_of_nameserver>
NSPORTADDR  53                           
RESOLVEVIA  UDP                          
RESOLVERTIMEOUT  30                      
RESOLVERUDPRETRIES  1                    
DATASETPREFIX                <dsprefix>

TCP/IP Source Ports

The RFC 1179 Line Printer Daemon Protocol specifies that the target port is 515, and the source port must be in the range 721 to 731, inclusive. Ports cannot be reused until after 1 minute; a printer is limited to receive 11 print files per minute. To work around this problem, most printers and printer servers allow use of other source ports. Ports are selected using the following communication options:

Installations can have certain port ranges reserved for printing. You can control the port ranges using the LPORT parameter on the printer’s DRIVPRM1-4 parameters, as follows:

DEFNODE LPR,TCP-LPR,DRIVPRM1='LPORT=(1300-1349,1600-1699,721-731)',
TCPDRIV=LPR,CLASS=ALL,ACQUIRE=WORK,RELEASE=NOWORK
NODE HP6L,LPR,GROUP=3