以下のステップを実行して、プロシージャーとして TFTPD を開始します。
//TFTPSD PROC
//*
//* Communications Server IP
//* SMP/E distribution name: EZATTFDP
//*
//* 5694-A01 5655-HAL (C) Copyright IBM Corp. 1997, 2004.
//* Licensed Materials - Property of IBM
//* This product contains "Restricted Materials of IBM"
//* All rights reserved.
//* US Government Users Restricted Rights -
//* Use, duplication or disclosure restricted by
//* GSA ADP Schedule Contract with IBM Corp.
//* See IBM Copyright Instructions.
//*
//* Function: Trivial File Transfer Protocol Server start
//*
//* Please note:
//*
//* -a Specify an archive directory. TFTPD treats files in this
//* directory and its subdirectories as binary files for uploads
//* and downloads, regardless of how they were requested by the
//* client. Use this option on EBCDIC machines that act as file
//* servers for ASCII clients.
//*
//* You can specify up to 20 -a options, one directory per -a
//* option. You must specify directories as absolute pathnames.
//*
//* -c the number of threads to use concurrently. Make the number
//* a some reasonable number like 20 and not the default, which
//* is 200.
//*
//* -t Set the packet timeout. The TFTP server usually waits 5 seconds
//* before presuming that a transmitted packet has been lost. You can
//* specify a different timeout period in seconds.
//*
//* -l Log all incoming read and write requests and associated
//* information to the system log. Logged information includes the IP
//* address of the requestor, the file requested, and whether the
//* request was successful.
//*
//* -p Specify the port. The TFTP server usually receives requests on
//* well-known port 69. You can specify the port in which requests
//* are to be received.
//*
//* -r Set the retry limit. The TFTP server usually limits the number
//* of retransmissions it performs due to lost packet to 5. You
//* can specify a different retry limit.
//*
//* -s Set the maximum block size that can be negotiated by the
//* TFTP block size option. The default is 8192.
//*
//* -f Secify a cache file. You can specify a file containing
//* information on files to be preloaded and cached for transmission.
//* A cache file consists of one or more entries. For clarity, place
//* each entry on a separate line. See the IP Configuration Guide for
//* details on this option.
//*
//* -b Specify IP address. The TFTP server usually binds to in6addr_any
//* or inaddr_any. You can specify the IP address on which requests
//* are to be received.
//* TFTP requests that come in on other IP addresses will not be
//* accepted by this instance of TFTPD.
//*
//TFTP EXEC PGM=TFTPD,REGION=0K,TIME=NOLIMIT,
// PARM='POSIX(ON),ALL31(ON),TRAP(OFF)/
// -c 20 -t 300'
//*STEPLIB DD DISP=SHR,DSN=TCP.SEZALOAD,
//* VOL=SER=,UNIT=
//SYSPRINT DD SYSOUT=*,DCB=(RECFM=F,LRECL=132,BLKSIZE=132)
//SYSIN DD DUMMY
//SYSERR DD SYSOUT=*
//SYSOUT DD SYSOUT=*,DCB=(RECFM=F,LRECL=132,BLKSIZE=132)
//CEEDUMP DD SYSOUT=*
//SYSABEND DD SYSOUT=*
// PEND
EZZ7001I starting