Chapter 2. The Resolver 41
//TCPIPA EXEC PGM=EZBTCPIP,REGION=0M,TIME=1440,
// PARM=('&PARMS',
// 'ENVAR("RESOLVER_CONFIG=//''TCPIPA.TCPPARMS(&TCPDATA)''")')
//SYSPRINT DD SYSOUT=*,DCB=(RECFM=VB,LRECL=132,BLKSIZE=136)
//ALGPRINT DD SYSOUT=*,DCB=(RECFM=VB,LRECL=132,BLKSIZE=136)
//CFGPRINT DD SYSOUT=*,DCB=(RECFM=VB,LRECL=132,BLKSIZE=136)
//SYSOUT DD SYSOUT=*,DCB=(RECFM=VB,LRECL=132,BLKSIZE=136)
//CEEDUMP DD SYSOUT=*,DCB=(RECFM=VB,LRECL=132,BLKSIZE=136)
//SYSERROR DD SYSOUT=*
//PROFILE DD DISP=SHR,DSN=TCPIPA.TCPPARMS(&PROFILE.)
Customized a FTPDA procedure to establish affinity with the TCPIPA stack and to use the
TCPIPDATA data set (DATAA32), as shown Example 2-8.
Example 2-8 FTPDA procedure
//FTPDA PROC MODULE='FTPD',PARMS='',
// TCPDATA=DATAA&SYSCLONE.,FTPDATA=FTPDA&SYSCLONE
//FTPD EXEC PGM=&MODULE,REGION=0M,TIME=NOLIMIT,
// PARM=('POSIX(ON) ALL31(ON)',
// 'ENVAR("_BPXK_SETIBMOPT_TRANSPORT=TCPIPA"',
// '"TX=EST")/&PARMS')
//CEEDUMP DD SYSOUT=*
//SYSFTPD DD DISP=SHR,DSN=TCPIPA.TCPPARMS(&FTPDATA)
//SYSTCPD DD DISP=SHR,DSN=TCPIPA.TCPPARMS(&TCPDATA)
//*
After establishing the affinity of FTPDA to work only with stack TCPIPA, we reserved ports
21 and 20 for the FTP server in PROFILE.TCPIP, as shown in Example 2-9.
Example 2-9 Reserving ports 20 and 21 to FTPDA
20 TCP omvs NOAUTOLOG ; FTP Server
21 TCP ftpda1 BIND 10.10.1.221; control port
Created a TCPIPA.ETC.IPNODES data set to define the host names for stack TCPIPA,
which takes precedence over the default IPNODES data set when using this stack, as
shown in Example 2-10.
Example 2-10 TCPIPA.IPNODES data set
; Entries in the hosts file have the following format:
; Address HostName
; Address HostName1 HostName2 HostName3 ..... HostName35
; Address: is an IP address, it can be IPV4 or IPV6 address.
; Note: IPv4-mapped IPv6 address is not allowed.
; HostName: the length of the hostname is up to 128 characters,
; and each IP address can have up to 35 hostnames.
10.12.4.221 wscs01
10.10.1.230 tcpipa30
10.10.1.221 tcpipa32
10.10.1.241 tcpipa31
10.10.2.1 router1
10.10.3.2 router2
1::2 TESTIPV6ADDRESS1
1:2:3:4:5:6:7:8 TESTIPV6ADDRESS2
Created a CS03.ETC.IPNODES data set to define host names to be used by TSOUSER
CS03 taking precedence over any other IPNODES data sets in our environment when
using this TSO user (see Example 2-11 on page 42).