TCP/IP Solutions For VSE/ESA With OpenConnect Systems Software
TCP/IP Solutions For VSE/ESA With OpenConnect Systems Software
August 1996
IBML
SG24-4270-01
International Technical Support Organization
August 1996
Take Note!
Before using this information and the product it supports, be sure to read the general information in
Appendix B, “Special Notices” on page 353.
When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any
way it believes appropriate without incurring any obligation to you.
Copyright International Business Machines Corporation 1995, 1996. All rights reserved.
Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is
subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp.
Contents
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
How This Redbook Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
The Team that Wrote this Redbook . . . . . . . . . . . . . . . . . . . . . . . . . xix
Comments Welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
Part 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Contents v
Chapter 15. OCS Print Server Operation . . . . . . . . . . . . . . . . . . . . . 205
15.1 Operation Samples (start,stop,status....) . . . . . . . . . . . . . . . . . . 205
15.2 Printing Files from CICS Report Controller . . . . . . . . . . . . . . . . . 207
Contents vii
26.1.5 TELNET Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
26.2 Additional OpenConnect Systems Products Summary . . . . . . . . . . 336
26.2.1 OpenConnection for Channel Usage . . . . . . . . . . . . . . . . . . 336
26.2.2 OCS Print Server for AIX . . . . . . . . . . . . . . . . . . . . . . . . . 336
26.2.3 OC://WebConnect Overview . . . . . . . . . . . . . . . . . . . . . . . 336
26.3 OpenConnect Systems Products Limitations . . . . . . . . . . . . . . . . 337
Appendix A. Job Streams and Definition Examples for OCS Products . . . . 341
A.1 Product Installation Job Streams . . . . . . . . . . . . . . . . . . . . . . . 341
A.2 VSE VTAM Start Options List . . . . . . . . . . . . . . . . . . . . . . . . . . 341
A.3 VSE TCPSW.B Switched Major Node . . . . . . . . . . . . . . . . . . . . . 342
A.4 VTAM APPL Major Node for OCS Products . . . . . . . . . . . . . . . . . 344
A.5 VTAM USSTAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
A.6 OCSBIND MODETAB for OCS Products . . . . . . . . . . . . . . . . . . . 351
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Figures xi
159. OCC Configurator Main Menu . . . . . . . . . . . . . . . . . . . . . . . . 214
160. Configuration File sca.ini . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
161. Control Unit Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
162. Startsca Script Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
163. SCAAD and OCSNA Startup Sample . . . . . . . . . . . . . . . . . . . . 218
164. SCAAD and OCSNA Shutdown Sample . . . . . . . . . . . . . . . . . . . 218
165. OC/FTP Server Startup Sample . . . . . . . . . . . . . . . . . . . . . . . 219
166. Console Log of Status Operation Command . . . . . . . . . . . . . . . . 220
167. OC/FTP Server Logon Sample . . . . . . . . . . . . . . . . . . . . . . . . 226
168. Quote SITE Command Sample . . . . . . . . . . . . . . . . . . . . . . . . 227
169. Quote SITE Verify Command Sample . . . . . . . . . . . . . . . . . . . . 228
170. CD and DIR Librarian Command Samples . . . . . . . . . . . . . . . . . 229
171. CD and DIR VSAM Command Samples . . . . . . . . . . . . . . . . . . . 230
172. POWER Command Sample . . . . . . . . . . . . . . . . . . . . . . . . . . 231
173. Submitting a Job to VSE/ESA POWER from AIX . . . . . . . . . . . . . . 232
174. VSE/ESA Console Log after Submitting a Job from AIX . . . . . . . . . 232
175. Sending a Print List to VSE/ESA POWER from AIX . . . . . . . . . . . . 233
176. VSE/ESA Console Log after Sending a Print List from AIX . . . . . . . 233
177. Receiving Print Lists from VSE/ESA POWER . . . . . . . . . . . . . . . . 235
178. Transfering Files to/from VSE/ESA from an AIX FTP Client . . . . . . . 236
179. VSE/ESA FTP Client Batch Job Example: Get a File from Windows . . 246
180. FTP Client Batch Job Example Output: Get a File from Windows . . . . 246
181. Define and Initialize a VSAM KSDS File . . . . . . . . . . . . . . . . . . 249
182. Load and Print the VSAM KSDS File . . . . . . . . . . . . . . . . . . . . 250
183. Job to Transfer a VSAM KSDS File to AIX . . . . . . . . . . . . . . . . . 251
184. VSE/ESA FTP Client Batch Example: Send a VSAM KSDS File to AIX . 252
185. Define and Initialize a VSAM SAM File . . . . . . . . . . . . . . . . . . . 254
186. Load and Print the VSAM SAM File . . . . . . . . . . . . . . . . . . . . . 254
187. Load and Print VSAM SAM File Output . . . . . . . . . . . . . . . . . . . 255
188. Send a VSAM SAM File from a VSE/ESA FTP Client to AIX . . . . . . . 256
189. Output of FTP Client Send VSAM SAM File to AIX Operation . . . . . . 257
190. VSE/ESA OC/FTP Client Batch Job for OS/2 2.1 Directory Operations . 259
191. Output from OC/FTP Client Batch Job for OS/2 2.1 Directory
Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
192. OC/FTP Client Startup Sample . . . . . . . . . . . . . . . . . . . . . . . . 262
193. DEFAULT Command Sample . . . . . . . . . . . . . . . . . . . . . . . . . 264
194. MGET Command Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
195. DEFAULT Command Sample . . . . . . . . . . . . . . . . . . . . . . . . . 267
196. MPUT Command Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
197. Console Log of MPUT Command . . . . . . . . . . . . . . . . . . . . . . . 268
198. Transferring a File from AIX into a VSAM KSDS . . . . . . . . . . . . . 269
199. Display VSAM KSDS after FTP File Transfer . . . . . . . . . . . . . . . . 270
200. Transferring a File from AIX into a VSAM SAM . . . . . . . . . . . . . . 271
201. Display VSAM SAM after FTP File Transfer . . . . . . . . . . . . . . . . 272
202. OC/Line Printer Daemon Startup Sample . . . . . . . . . . . . . . . . . . 273
203. Stopping OC/Line Printer Daemon by Cancelling the Partition . . . . . 273
204. lpstat Sample Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
205. LPQ Sample Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
206. LPR Sample Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
207. Test File with Standard ASCII Characters 32-126 (X′20-X′7E). . . . . . . 277
208. VSAM Print Output of LPDFILE . . . . . . . . . . . . . . . . . . . . . . . . 279
209. E-mail Notification from OC/Line Printer Daemon . . . . . . . . . . . . . 279
210. OC/RSH Client Startup Sample . . . . . . . . . . . . . . . . . . . . . . . . 282
211. List AIX Directory Using OC/RSH Client . . . . . . . . . . . . . . . . . . 283
212. File Manipulation Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Figures xiii
xiv TCP/IP for VSE/ESA
Tables
We guide you through all steps required to install, customize and start using the
TCP/IP gateway solution for VSE/ESA, covering the VSE/ESA host system
applications and the RISC/6000 gateway software.
Preface xix
Comments Welcome
We want our redbooks to be as helpful as possible. Should you have any
comments about this or other redbooks, please send us a note at the following
address:
Resulting from research funded by the Department of Defense (DoD), TCP/IP has
gained increasing importance since its first implementation around 1980.
The TCP/IP protocol suite consists of four functional layers, plus the physical link
between the hosts:
1. The Application Layer.
Provides for application-to-application cooperation on the same host,
network or across a set of interconnected networks. It is built on the
services of the transport layer. Examples are Telnet (protocol for remote
terminal connection), FTP (File Transfer Protocol), RSH (Remote Shell) and
SMTP (Simple Mail Transfer Protocol) for electronic mail, NFS (Network File
System), as well as for business specific client/server processing.
2. The Transport Layer.
Provides for reliable end-to-end data transfer. It is built on the services of
the internetwork layer. Protocol examples are Transmission Control Protocol
(connection-oriented) (TCP) and User Datagram Protocol (connectionless)
(UDP). Both segment the data to be sent into packets, attach a header
containing control information, pass the packets to the internetwork layer,
and reassemble the data at the receiving end. In addition, (only) TCP
ensures data integrity and ensures that each packet is received and that all
packets are reassembled in proper order. If a packet is not received, TCP
retransmits the packet. UDP offers no guarantee of data delivery, but has a
minimum of protocol overhead.
3. The Internet Layer.
This layer is built on the services of the network interface layer to
communicate with other TCP/IP hosts within the same network, and with
hosts in other networks in an internet. The internet layer selects the next
node to forward data to the final destination. It does not include provisions
for reliable data transmission, flow control, or error recovery, since these
services are provided by the transport layer. The most important protocol in
this layer is IP.
The typical OSI model consists of seven layers. A comparison of the layers in
OSI and in TCP/IP is shown in Figure 1.
OSI TCP/IP
Application
Application
Presentation
Session
Transport
Transport
Internet
Network
Network Interface
Data Link
Physical Physical
There are several books that describe TCP/IP in detail, for example:
• TCP/IP Tutorial and Technical Overview, GG24-3376
• Inside TCP/IP, SR28-5701
This document describes and explains the OCS TCP/IP for VSE gateway solution.
VSE/ESA AIX
TCP/IP node
2.1.1 OC/Telnet
OC/Telnet Server Manager is a gateway server that includes TN3270 and TN5250
datastream servers, and 3278 and 5250 emulation servers. Host sessions with
SNA hosts are monitored and controlled through the server manager. The
datastream servers allow you to establish sessions with SNA host applications
(through the gateway) on your TCP/IP terminal, PC, or UNIX host. The emulation
servers allow you to use a TELNET client on your TCP/IP host, freeing up
processing on the TCP/IP host, since the emulation processing occurs in the
gateway.
The OC/RSH Client program delivers commands to a remote TCP/IP host for
execution by the remote command server program running on the TCP/IP host.
The remote command server program validates the user′s authorization for
remote execution, executes the command, and returns the results of the
command to the RSH Client for presentation to the user. The command cannot
perform interactively, the user has no ability to deliver any data to the command
other than specified on the command line itself. The command must read its
input from the standard UNIX input (stdin), and write any messages for the user
to the standard UNIX output (stdout)
The SAM offers functions that take the complexity out of programming in the
VTAM, CICS, and LAN environments. To start the process, the mainframe
application obtains the internet address and port number of the partner program
on the LAN. The data is then sent and received. The transmission control
headers, VTAM protocol, and CICS requests are handled by the OC/SAM
software product. The only programming required on the mainframe is related
to the protocol established by the partner program.
The OCC is a channel attached hardware device that resides in the data path
between an IBM channel and a SCSI interface on a UNIX workstation. OCC
provides the physical and electrical connection between the UNIX workstation
and the IBM bus and tag channel cables.
2. VSE Host
• The optional features running on the host can be installed on any
processor supporting VSE/ESA
• A tape drive (for example, 3480) is required to load the appropriate
distribution tape
• One of the following connections is required to attach the host to the
OCS gateway:
− IBM Token-Ring
− SNA SDLC
2. VSE Host
• VSE/ESA Version 1.3.2, or later
• ACF/VTAM Version 3.4.0, or later
• CICS/VSE Version 2.2, or later
TCP/IP
UNIX Workstation
OCS II
SCSI
OCC
IBM Channel
IBM Mainframe
This part covers the implementation of a TCP/IP network for VSE/ESA using the
software offered by OpenConnect Systems (OCS). It provides:
• A functional overview of the OCS products described in this book
• A description of the hardware, software and network used in our
implementation
• The definition of the OCS II Gateway to VM/VSE and native VSE host
environments
• The definitions of the SCSI to Channel environment (OCC)
• The installation and customization of OpenConnect/File Transfer Program
Server (OC/FTP Server)
• The installation and customization of OpenConnect/Line Printer Daemon
(OC/LPD)
• The installation and customization of OpenConnect/File Transfer Program
Client (OC/FTP Client)
• The installation and customization of OpenConnect/Remote Shell Client
(OC/RSH Client)
• The installation and customization of OpenConnect/TELNET Client Full
Screen (OC/TELNET FS)
• The installation and customization of OpenConnect/Socket Access Method
(OC/SAM)
• The installation and customization of OpenConnect Server II Gateway on the
RISC/6000 system (OCS II Gateway)
• The installation and customization of OCS Print Server for AIX on the
RISC/6000 system (OCS Print Server)
• An implementation summary
• The operation procedures and test samples of the OCS software
• A list of issues and considerations reflecting our experiences
OCS TCP/IP for VSE is marketed by IBM through the Cooperative Software
Program (CSP). Under this program, IBM is not responsible for, nor does IBM
represent or warrant, the performance of the products. Technical support and
assistance are provided by OCS.
Note
The program numbers listed above are for the U.S. and Canada only. The
program numbers for OCS products may be different in other countries.
Please consult the program announcement letter in your country for country
specific information.
For users having a TELNET client or ASCII terminals, the optional feature TELNET
Server 3270 of OCS II Gateway allows connection to VSE/ESA, and emulates the
TCP/IP terminal as an IBM 3278 terminal.
RISC/6000
OC/Socket Appl
Response Response
CICS TCP/IP
Protocol
EBCDIC ASCII
SNA
Protocol
TN3270 Server
TELNET Server 3270: This optional feature resides in the OCS II Gateway. It
allows the TCP/IP TELNET clients to initiate a session with the VSE/ESA SNA
host, and log on to VTAM applications as an IBM 3278 terminal. The terminal
keyboard mapping can be customized for terminal definitions that are not
provided by the software. Please refer to Chapter 12, “OCS II Gateway
Installation and Customization” on page 153 for the customization details.
The OC/TELNET Server is a gateway server that includes TN3270 and TN5250
datastream servers, and 3278 and 5250 emulation servers. Host sessions with
SNA hosts are monitored and controlled through the server manager. The
datastream servers allow you to establish sessions with SNA host applications
on your TCP/IP terminal, PC, or UNIX host. The emulation servers allow you to
use a TELNET client on your TCP/IP host.
CICS T
V S OCS II C TCP/IP
T N TELNET P TELNET
VTAM Application A A SERVER / client
M 3270 I
VTAM Application P
Once connected, the TCP/IP FTP clients may perform file transfer functions
between the:
• TCP/IP FTP client file system
• VSE/ESA library
• SAM/ESDS files in VSAM managed space
• VSAM Data Sets (Entry Sequenced Data Sets (ESDS), Key Sequenced Data
Sets (KSDS))
• POWER spool files
The TCP/IP FTP client may also issue commands to POWER (for example
PALTER, PDISPLAY). User commands for OC/FTP Server are discussed in
Chapter 18, “OC/FTP Server Operation and Examples” on page 219.
Some of the potential usages of this product for the TCP/IP FTP clients are:
• Putting data into VSE/ESA VSAM data sets
• Obtaining data files from VSE/ESA VSAM data sets
• Placing procedures and programs into VSE/ESA libraries
• Retrieving procedures and programs from VSE/ESA libraries
• Submitting jobs to execute in VSE/ESA through the POWER RDR queue
• Getting VSE/ESA jobs from the POWER RDR queue
• Retrieving listings and punch output from the POWER LST and PUN queues
• Manipulating the POWER RDR, PUN and LST queues with POWER
commands
POWER OCS II
SPOOL IBM 9221 GATEWAY
R/W
RDR TCP/IP
R/W P O V S T FTP
LST O C T N C client
R/W W S A A P
PUN E F M /
R T I R/W
P P
S
FTP
LU-LU Session S Client
PLU L File
U System
VSE/ESA
Read/Write
LIBR VSAM
Library ESDS/
KSDS
SAM/
ESDS
User commands for OC/FTP Client are listed in Chapter 19, “OC/FTP Client
Operation and Examples” on page 239.
Some of the potential usages of this product for the VSE/ESA FTP clients are:
• Putting data into VSE/ESA VSAM ESDS/KSDS or libraries from the TCP/IP
FTP server file system
• Putting data into the TCP/IP FTP server file system from VSE/ESA libraries or
VSAM ESDS/KSDS
• Obtaining files from the TCP/IP FTP server file system (that is databases,
bulletins, fora)
• Retrieving procedures and programs from the TCP/IP FTP server file system
to VSE/ESA libraries
• Placing procedures and programs from VSE/ESA libraries into the TCP/IP
FTP server file system
OCS II
IBM 3270 IBM 9221 GATEWAY
CICS TCP/IP
Terminal FTP O V S T FTP
C T N C Server
S A A P
C F M /
I T I R/W
C P P
S C
FTP
S Server
PLU L File
U System
S
PLU L
U
FTPC
Batch
VSE/ESA
Read/Write
LIBR VSAM
Library ESDS/
KSDS
SAM/
ESDS
Write
OCS II
IBM 9221 GATEWAY
POWER
SPOOL TCP/IP
P L V S T LPR
LST O P T N C Client
Write W D A A P
E M /
R I Read
P
LPR
LU-LU Session S ASCII
PLU L Print
U Input
VSE/ESA TCP/IP
SMTP
Server
Write
VSAM
SAM
ESDS E-mail
queues
User commands for OC/RSH Client are listed in Chapter 21, “OC/RSH Client
Operation and Examples” on page 281.
AIX commands
OCS II
IBM 3270 IBM 9221 GATEWAY
CICS TCP/IP
Terminal RSH O V S T RSH
C T N C Server
S A A P
C F M /
I T I R/W
C P P
S C
TCP/IP
S Server
PLU L File
U System
S
PLU L
U
RSHC
Batch
VSE/ESA
IBM 9221
VSE/ESA
IBM 3270
V
VTAM T OC/TELNET
Terminal A Client FS
M
SLU
PLU
SLU T
C
OCS II P TCP/IP
GATEWAY S / TELNET
N I Server
A P
RISC/6000
OCS II
IBM 9221 GATEWAY
IBM 3270
TCP/IP
CICS SAM O V S T node
Terminal appli- C T N C
cation S A A P SAM
pro- / M / appli-
gram S I cation
A P pro
M gram
S
PLU L
U
CICS
S
PLU L
U
SAM appli- S
cation A
program M
Batch
VSE/ESA
S O S T
A C N C
M S V A P TCP/IP
CICS / T / node
Terminal F S A I SAM
T CICS A M P
P M OCS II
TELNET
R Server 3270 TCP/IP
S TELNET
H Client
FTPC
POWER TCP/IP
FTP
FTPS Server
SPOOL
Files
TCP/IP
VSE/ESA RSH
Server
TCP/IP
FTP
LIBR VSAM Client
Library ESDS/
KSDS
Our test environment consists of a working TCP/IP network, and the components
that we added to allow VSE/ESA to participate in the network. The resulting
network is illustrated in Figure 13 on page 34, and it consists of the following
hardware and software.
4.1 Hardware
• An IBM 9221 Model 421 as the host with:
− 128MB main memory
− Parallel channel connecting to the IBM 3174
− Token-Ring adapter connecting to the IBM Token-Ring LAN
• An IBM 3174 Model 11L with:
− 6MB of real memory
− Configuration support C release 3
− Token-Ring adapter
• A RISC/6000 Model 320 as the OCS II Gateway with:
− 32MB main memory
− Token-Ring adapter connecting to the IBM Token-Ring Backbone LAN
• An IBM 8209 IBM Token-Ring LAN Bridge as a bridge between two IBM
Token-Ring LANs
• A RISC/6000 Model 520 as a router between the IBM Token-Ring Backbone
LAN and Ethernet LAN
− 32MB main memory
− Token-Ring adapter connecting to the IBM Token-Ring Backbone LAN
− Ethernet LAN adapter connecting to the Ethernet LAN
• An IBM PS/2 Model 70 as a router between two IBM Token-Ring LANs. This
PS/2 also acts as a domain name server as well as an OS/2 Client
− 10MB main memory
− Token-Ring adapter connecting to the IBM Backbone Token-Ring LAN
− Token-Ring adapter connecting to another IBM Token-Ring LAN
• An IBM PS/2 Model 70 attached to the IBM Token-Ring Backbone LAN as a
PC DOS Client
− 2MB main memory
− Token-Ring adapter connecting to the IBM Backbone Token-Ring LAN
• An IBM PC 350-P100 attached to the IBM Token-Ring Backbone LAN as an
OS/2 Client (not part of Figure 13 on page 34)
− 32MB main memory
− Token-Ring adapter connecting to the IBM Backbone Token-Ring LAN
4.2 Software
• IBM 9221 Host
− VM/ESA R2.1 with GCS and ACF/VTAM V3.4.1 in the IBM 9221
− VSE/ESA V2.1.2 guest under VM in the IBM 9221 with
- ACF/VTAM V4.2.0
- OC/FTP Server V2.2.4.1, OC/FTP Client V2.2.4.1, OC/TELNET FS V4.11,
OC/LPD V1.1.0, OC/SAM V2.1, OC/RSH V2.1.5
• RS/6000-320 OCS II Gateway
− AIX 3.2.5 preloaded with the following also installed:
- bosext2.dlctoken.obj 3.2.0, bosnet.tcpip.obj 3.2.0
− OpenConnect Server II 16 LU with Telnet Server V3.7.5
− OpenConnect/Print Server for AIX V1.2
• RS/6000-520 AIX Router
− AIX 3.2.5 preloaded with the following also installed:
- bosext2.dlcether.obj 3.2.0, bosext2.dlctoken.obj 3.2.0
- bosnet.tcpip.obj 3.2.0
− Other Software Applications
• PS/2-70 PC Router, Name Server & OS/2 Client
− OS/2 V2.10 CSD Level XRU2010
− Lan Adapter and Protocol Support (LAPS) V2.13 CSD Level WR06000
− Comm Manager/2 V1.0
− TCP/IP for OS/2 2.0 & 2.1 Base CSD Level UN64092
− Domain Name Server Kit V2.0 without CSD
• PS/2-70 PC DOS Client
− PC DOS 6.1
− Microsoft Windows 3.1
− TCP/IP for DOS 2.1.1 without CSD, Token-Ring Driver, NDIS Interface
• PC 350-P100 OS/2 Client (not part of Figure 13 on page 34)
− OS/2 Warp Verion 3 with DOS and Windows Application Support
− Multi Protocol Transport Services (MPTS)
− TCP/IP for OS/2 Version 3
• RS/6000-560 AIX UNIX Client
Our TCP/IP Network mainly consists of three networks, two routers and seven
hosts:
• A Token-Ring Backbone Network bridging with a small Token-Ring Network
through 8209 Token-Ring Bridge device. This TCP/IP Network uses a Class C
address 192.61.100 with a Subnet Mask 255.255.255.0 and has the following
TCP/IP nodes attached to it:
1. VM/ESA and VSE/ESA in the IBM 9221 with:
− VM-owned IBM 3174 connecting to the IBM Token-Ring LAN
− VSE-owned IBM 9221 Token-Ring adapter connecting to the IBM
Token-Ring LAN
− OCS software installed in VSE/ESA
2. A RISC/6000-320 running AIX with OCS II Gateway Software installed
3. An OS/2 Router also acting as an OS/2 Client
4. A PC/DOS Windows Client
5. A RISC/6000-520 Router
• A small Token-Ring Network connecting to the Token-Ring Backbone
Network through an OS/2 Router. This TCP/IP Network uses a Class A
address 9.164.182 with a Subnet Mask 255.255.255.0 and has the following
TCP/IP node attached:
− RISC/6000 AIX UNIX Client
• An Ethernet Network connecting to the Token-Ring Backbone Network
through a RISC/6000 Router. This TCP/IP Network uses a Class C address
192.61.200 with a Subnet Mask 255.255.255.0 and has the following TCP/IP
node attached:
− A SUN Sparc SunOS UNIX Client
OC/FTP Server
OC/FTP Client
V OC/TELNET FS
M VSE/ESA
/ CICS/VS Token-Ring
E 300 Adapter
S ACF/VTAM
A
800
RSCS VCTCA
GCS
ACF/VTAM
800
3174
192.61.100
8209 RS/6000-320
Token-Ring
AIX 3.2.5
OCS II GATEWAY
55 RS/6000-520 192.61.100 81
NAME: AIX320
AIX 3.2.5 Token-Ring
55 ROUTER/NAME SERVER
SUN Sparc 83
NAME: TCPCL1
SunOS
199 PS/2 70 142
NAME: SUN2 91
Windows 3.1
9.164.182
NAME: TCPCL3
Token-Ring
192.61.200
Ethernet
132 RS/6000-560
Note:
1. The OCS II Gateway IP address and name apply to the OCS applications in
VSE/ESA and OCS II Gateway. VSE/ESA is not a TCP/IP node and does not have
an IP address. The OCS applications must communicate with other TCP/IP nodes
through the OCS II Gateway
2. The OS/2 2.1 also functions as a client for OCS applications in VSE/ESA
3. This PC/DOS Client also has TCP/IP Windows applications installed
Table 3. IP Address and Name Assignment for the OCS Implementation
In our configuration, we have employed two routers, one on the RS/6000-520 and
another one on a PS/2 Model 70 to connect one Ethernet and one Token-Ring
network to the Backbone Token-Ring Network, (see Figure 13 on page 34). This
has been set up to illustrate a situation which can be found at many customer
sites. If your VSE host wants to connect to remote TCP/IP hosts or nodes on
another network (of the same or different IP class) via one or more routers, the
routing tables in each TCP/IP node need to be set up accordingly.
For more information on the host network member customization, please refer to
7.2.4, “FTP Client Customization” on page 92.
The IP routing algorithm will only consider the IP network address part of the
destination address. By looking through the routing table, it performs
sequentially:
1. Direct routing - direct network attach
2. Indirect routing - specific route to a remote host via a gateway
When default routing is applied and the destination network still cannot be
reached, the message ″No route to host″ is issued. Figure 14 shows the logical
view of our network and in Table 4 the corresponding routing table entries for
each of our TCP/IP nodes are listed.
192.61.100
55 83
RS-520 PC/OS2
ROUTER ROUTER
55 142
192.61.200 9.164.182
SUN RS-560
We have also looked into the capabilities of the PC/DOS Windows Client to
participate in our test environment. Figure 15 shows the IBM TCP/IP for DOS
V.2.11 Windows applications that are contained in the base package.
There are three applications which we used quite often in our environment.
They all have a graphical interface and provide very useful functions:
1. TELNET Client - wtelnet.exe
In this application, we can define TCP/IP hosts to which we want to log on. A
click on the host′s icon gets us a telnet session to that host. Figure 16 shows
the GUI of this Telnet application.
Figure 17 shows the GUI of the FTP application in session with an AIX host.
This chapter covers the definitions in VM, VSE and VTAM to implement the two
selected attachments for the OCS II Gateway.
The LUs are defined in VM VTAM, VSE VTAM, OCS II Gateway and the OCS
application customization. Details of the LU parameters are covered in the OCS
II Gateway and OCS application customization chapters.
To automatically start up the path table and major nodes during VTAM
initialization, their names are included in the VTAM configuration list.
5.1 VM/VSE with OCS II Gateway Attached via the IBM 3174
In this configuration, VM VTAM owns the IBM 3174 and OCS II Gateway. Both of
these controllers are defined in the VTAM Local SNA major node. VM VTAM
communicates with VSE VTAM through VCTCA, using line address 800 on both
sides.
VSE/ESA runs as a guest (user ID V132A80K) under VM/ESA. The LUs of OCS II
Gateway are defined in the cross domain resources major node.
The definitions in both VM/ESA and VSE/ESA are closely related, and certain
definition parameter values must match. Figure 19 on page 43 provides a
summary of the attachment configuration and VTAM definitions. Pointers in the
diagram illustrate the relationships of the definitions and where parameter
values must match. This diagram should be referred to while studying the
sample definitions provided in this document.
VSE 800
.......... .CTCA .............................................. .. .. .
VM 800 VM VTAM Path Table
SSCPNAME=IPFV2
VM VTAM CA Major Node
SUBAREA=02
VLG800 GROUP LNCTL=CTCA
NETID=DEIBMIPF VCL800 LINE ADDRESS=800
3174
Devices ,
Online_at_IPL 0000-FFFF,
Sensed 0000-FFFF
The destination and adjacent subareas must match the host subarea of the
VSE/ESA guest. The transmission group, explicit and virtual routes must
correspond to the definitions in the VSE/ESA guest′s path table.
VBUILD TYPE=CA
VLG800 GROUP LNCTL=CTCA, ** CTCA TO V132A80K **C
DELAY=.020, ** NORMAL=DEFAULT, MAX=30 **C
MAXBFRU=(2), ** NORMAL=DEFAULT, MAX=30 **C
MIH=YES, ** NORMAL=DEFAULT, MAX=30 **C
REPLYTO=25.5, ** DEFAULT **C
ISTATUS=ACTIVE ** DEFAULT **
VCL800 LINE ADDRESS=800, ** DEFINE C-T-C LINK ADDR. **C
ISTATUS=ACTIVE ** DEFAULT **
VPU800 PU PUTYPE=4, ** DEFINE C-T-C LINK STA. **C
ISTATUS=ACTIVE ** DEFAULT **
The line address (800) must match the address defined in the VM VTAM and VSE
guest user directories. PU type 4 is defined for the VCTCA connection.
Figure 23 lists the definitions we used. The first statement defines the local
VTAM CDRM and the second statement defines the remote VTAM CDRM. The
CDRM name is the same as the SSCPNAME in the owning VTAM start options
list.
A VTAM start options list example is provided in A.2, “VSE VTAM Start Options
List” on page 341.
VBUILD TYPE=CDRM
IPFV2 CDRM SUBAREA=02,CDRDYN=YES ** SA=02 BOEVMIS2
IPFV2B CDRM SUBAREA=22,CDRSC=OPT ** SA=22 V132A80K
CUADDR must match the addresses defined in the VTAM user directory for these
two controllers. The key parameters of the OCS II Gateway PU are discussed in
5.2.3, “Customization in VSE VTAM” on page 53.
Figure 24. VM VTAM LOCAL SNA Major Node for I B M 3174 and RISC/6000
* $$ JOB JNM=TCPPATH,DISP=D,PRI=3,NTFY=YES,DEST=*,CLASS=0
// JOB TCPPATH CATALOG VTAM BOOK
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=PRD2.CONFIG
CATALOG TCPPATH.B REPLACE=YES
* PATH TO CONNECT TO VM/ESA
IPFHWT2 PATH DESTSA=2, C
ER0=(2,1),ER1=(2,1),ER2=(2,1),ER3=(2,1), C
ER4=(2,1),ER5=(2,1),ER6=(2,1),ER7=(2,1), C
VR0=0,VR1=1,VR2=2,VR3=3,VR4=4,VR5=5,VR6=6,VR7=7
/+
/*
/&
* $$ EOJ
The destination and adjacent subareas must match the host subarea of VM
VTAM. The transmission group, explicit and virtual routes must correspond to
the definitions in VM VTAM′s path table.
* $$ JOB JNM=TCPCDRM,DISP=D,PRI=3,NTFY=YES,LDEST=*,CLASS=0
// JOB TCPCDRM CATALOG VTAM BOOK
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=PRD2.CONFIG
CATALOG TCPCDRM.B REPLACE=YES
TCPCDRM VBUILD TYPE=CDRM
IPFV2B CDRM SUBAREA=22,CDRDYN=YES,ISTATUS=ACTIVE
IPFV2 CDRM SUBAREA=2,CDRDYN=NO,ISTATUS=ACTIVE
/+
/*
/&
* $$ EOJ
Figure 28. VSE VTAM CDRSC Major Node for OCS II Gateway
5.2 VSE/ESA with OCS II Gateway Attached via the Token-Ring Adapter
In this configuration, VSE/ESA communicates directly with OCS II Gateway via
the IBM 9221′s Token-Ring adapter. To prepare for this connection configuration,
the following environments are customized:
• IBM 9221 Token-Ring adapter
• VSE/ESA
• VSE VTAM
The following tasks must be performed before the definitions of this configuration
can be tested:
• Ensure that the IBM 9221 Token-Ring adapter and OCS II Gateway are
properly connected to the same IBM Token-Ring LAN
• V NET,INACT the OCS II Gateway PU in VM VTAM
• V NET,INACT the CDRSC major node in VSE VTAM
Figure 29 on page 51 provides a summary of the attachment configuration and
VTAM definitions. Pointers in the diagram illustrate the relationships of the
definitions and where parameter values must match. This diagram should be
referred to while studying the sample definitions provided in this document.
ACF/VTAM
OCS II Gateway
DLC Defintion:
SNA Configuration:
Figure 29. Configuration and Definition Summary for the TRA Connection
After the customization, the Token-Ring adapter must be re-initialized with the
new data. This is accomplished by the ′ Reconfigure the Adapter ′ option from the
′ Customize I/O Controller ′ function.
* $$ JOB JNM=TCPTR,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB TCPTR
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=PRD2.CONFIG
CATALOG TCPTR.B REPLACE=YES
**********************************************************************
* LAN MAJOR NODE *
**********************************************************************
*
TCPTR VBUILD TYPE=LAN
*
* DEFINITION FOR 9221 TRA
TCPPORT PORT CUADDR=300, PORT ADDRESS C
MACADDR=400020201002, LAA FOR 9221 TRA C
LANCON=(02.0,2), TIMER AND RETRY COUNT C
MAXDATA=0, SET TO 0 FOR MAX FRAME SIZE C
MAXSTN=60, C
SAPADDR=4 SERVICE ACCESS POINT ADDRESS
*
* DEFINITION FOR RS/6000
*
TCPTRG1 GROUP DIAL=YES,LNCTL=SDLC
TCPTRL1 LINE ISTATUS=ACTIVE,CALL=INOUT
IPFP2209 PU ISTATUS=ACTIVE
/+
/*
/&
* $$ EOJ
The LU parameter values are determined by the OCS applications. They are
discussed in the following sections:
• 6.2, “OC/FTP Server Customization” on page 64
• 7.2, “OC/FTP Client Customization” on page 82
• 10.2, “OC/TELNET FS Customization” on page 134
VSE/ESA
ACF/VTAM
IPFT2901 PU CUADDR=901
IPFT2S9A LU LOCADDR=1
.
.
IPFT2S9P LU LOCADDR=16
Channel
OCC
SCSI
OCS II Gateway
SCA Definitions
PU IPFP2901
LU 1 IPFT2S8A
.
.
LU 16 IPFT2S9P
Figure 32. Configuration and Definition Summary for the OCC Connection
For detailed information on the OCC hardware configuration please see 16.1.3,
“Configuring OCC Hardware” on page 210.
* $$ JOB JNM=OCSPRE,DISP=H,PRI=3,NTFY=YES,LDEST=*,CLASS=0
// JOB OCSPRE SCAN OPTIONAL PRODUCT TAPE
// LIBDEF PHASE,SEARCH=(PRD1.BASE,IJSYSRS.SYSLIB)
**
** PREPARE ADDITIONAL PROGRAM INSTALLATION
** - SCAN PROGRAM TAPE
**
// ASSGN SYS006,184
// EXEC DTRIPRE,PARM=¢ADDR=184¢
/*
/&
* $$ EOJ
• Submit the job to VSE/ESA and review the library space requirements of the
product.
• Use the VSE/ESA II ′ Install Product(s) from Tape ′ panel to generate the job to
install the product into sublibrary TCPOCS.FTPS.
Note
With OC/FTP software Version 2.2 and later, both OC/FTP Client and
OC/FTP Server can be loaded into the same library.sublibrary
The VSE/ESA II panel also displays the minimum library space requirements
for the product.
• Submit the job to VSE/ESA to install the product. Our installation step took
less than 10 minutes.
There is no installation verification job provided by the software. You may use
the sample job in Figure 36 on page 64, to verify that the product is recorded by
MSHP. Testing of the product can only be performed after the product
customization. Please refer to Chapter 18, “OC/FTP Server Operation and
Examples” on page 219 for the testing and operation procedures.
We then edited it into individual jobs to tailor the OC/FTP Server environment.
Figure 37. ESDS, S A M and KSDS Model Definitions for OC/FTP Server
The VSAM data set definition parameters may be overridden by the SITE
member and command. Please refer to 6.2.3.2, “SITE Member” on page 69 and
Chapter 18, “OC/FTP Server Operation and Examples” on page 219 for details.
// DLBL name,¢Library.sublibrary.membertype¢
// DLBL OCSPLIB,¢TCPOCS.PARMLIB.FTP¢
The parameters, descriptions and default values provided by OC/FTP Server are
listed in Table 5 on page 70.
If errors are found in the SITE member, the entire member is ignored and the
default values are used.
* $$ JOB JNM=SFSITE,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB SFSITE
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=TCPOCS.FTPS
CATALOG SITE.TCPIP EOD=$$ REPLACE=Y
CATALOG TCPCAT DEFAULT VSAM CATALOG
PALLOC 1024 DEFAULT PRIMARY ALLOCATION IN RECORD
SALLOC 512 DEFAULT SECONDARY ALLOCATION IN RECORD
VSAMRECL 132 DEFAULT VSAM RECORD LENGTH
CISIZE 4096 DEFAULT VSAM CISIZE FOR DATA
$$
/*
/&
* $$ EOJ
Userid and Password are required parameters to which you assign user names
and passwords. The maximum length for both parameters is 32 characters. The
other parameters are optional.
We specified access mode VSAMKSD for a user ID; when this user logged on
to OC/FTP Server, he got access mode VSAMSAM instead. This is also true
for access mode VSESAM. Therefore, the user profile in the PASSWD
member should still adhere to the old version′s format. The new VSAM
features have not been added.
The user IDs we defined are listed in Figure 44 on page 72. The user IDs and
passwords should not normally be the same. It is set this way in our
environment for ease of operation.
* $$ JOB JNM=SFPASSW,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB SFPASSW
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=TCPOCS.FTPS
CATALOG PASSWD.TCPIP EOD=$$ REPLACE=Y
*
* NAME PASSWORD (LIBR LIB.SUBLIB ] VSAM CATALOG)
*
USER USER LIBR TCPOCS
USR1 USR1 LIBR TCPOCS.USR1
USR2 USR2 LIBR TCPOCS.USR2
USR3 USR3 LIBR TCPOCS.USR3
USR4 USR4 LIBR TCPOCS.USR4
USR5 USR5 LIBR TCPOCS.USR5
USR6 USR6 LIBR TCPOCS.USR6
USR7 USR7 LIBR TCPOCS.USR7
USR8 USR8 VSAM
USR9 USR9 VSAM TCPCAT PREFIX VTMBK
USR10 USR10 VSAM VSESPUC
JYIU BYIU LIBR TCPOCS
KAMI KAMI LIBR TCPOCS
MARU MARU LIBR TCPOCS
PRAM PRAM LIBR TCPOCS
WACK WACK LIBR TCPOCS
NEWUSER ANYPSWD VSAM VSESPUC
$$
/*
/&
* $$ EOJ
Note that the PASSWD member cannot have encrypted passwords. The
member is a plain text file with all the user entries.
OCS supports the standard VSE/ACF interface, you can restrict the user from
accessing unauthorized VSAM and Library files during his or her FTP
session. To be able to use the VSE/ACF interface, you have to code
DTSECTAB table and SET SEC=YES during the IPL of VSE. For more
information on implementing the VSE/ACF interface, please refer to the
appropriate VSE documentation.
On the other hand, if you have modified the user′s Access Control program
′FTPSXIT1′ to reflect your specific environment, you can easily turn on this
type of security from the CONFIG member. Please refer to 6.2.3.1, “CONFIG
Member” on page 67.
Figure 45 (Part 1 of 2). Build the Executable Phases for OC/FTP Server
Figure 45 (Part 2 of 2). Build the Executable Phases for OC/FTP Server
* $$ JOB JNM=SFASM2,DISP=D,PRI=9, C
* $$ NTFY=YES, C
* $$ LDEST=*, C
* $$ CLASS=0
* ------------------------------------------------------ *
* APPLYING LICENSE SITE PROTECTION MODIFICATION. *
* ------------------------------------------------------ *
// EXEC PGM=MSHP
REMOVE 5758-PC-115-224 APAR=SP11501
CORRECT 5758-PC-115-224:SP11501 IRREVOKABLE
AFFECTS PHASE=FTPSMAIN
ALTER 0088 /16/AA:DA24D678DE745738C1DC60E04C517412
ALTER 0000 /16/AA:A35EF6929F756CB8496C7B334507AA27
ALTER 0044 /16/AA:2CC7C589EC4CC491D190EAF899CFCDC4
RESOLVES ¢LICENSE SITE PROTECTION¢
/*
/&
* $$ EOJ
* $$ JOB JNM=FTPS,DISP=L,PRI=3,
* $$ NTFY=YES,
* $$ LDEST=(,RSCS),
* $$ CLASS=Z
* $$ LST CLASS=A
// JOB FTPS
// OPTION LOG,NOSYSDUMP,JCANCEL
// LIBDEF *,SEARCH=(TCPOCS.FTPS,PRD2.CONFIG),TEMP
// EXEC FTPSMAIN,SIZE=(FTPSMAIN,256K),PARM=¢CONFIG¢
/*
/&
* $$ EOJ
This job is submitted to the POWER RDR queue and is ready to start. The
operation and testing of OC/FTP Server are discussed in Chapter 18, “OC/FTP
Server Operation and Examples” on page 219.
The customization of the OC/FTP Server translation table involves three steps:
1. Copy the sample ′FTPSXLTE′ member from the OC/FTP Server production
library. Simply issue the following command at your VSE/ICCF command
mode screen:
LIBRP TCPOCS.FTPS FTPSXLTE.SAMPLE FTPSXLTE
2. Change the appropriate hexadecimal codes in the EBCDIC to ASCII table and
vice versa.
As an example, assume you transfer data from a PC system to VSE and you
want to preserve the left/right bracket symbols (x′5 B′ and x′5D′). You need to
change the ASCII to EBCDIC table as follows:
The original value at x′5 B′ was x′4 A′, this means that the ASCII x′5 B′ left
bracket will be translated to an EBCDIC x′4 A′ which is a cent sign. Since the
EBCDIC value for the left bracket is x′80′, we should change x′4 A′ to x′80′ at
this ASCII x′5 B′ location.
Do the same for the ASCII x′5D′ right bracket, and change the value from an
EBCDIC x′4F′ at that location to x′90′.
Now if you want to have the same translation from EBCDIC to ASCII, you will
have to modify the EBCDIC to ASCII table:
1. Locate the EBCDIC x′80′ left bracket, and change the value from an ASCII
x′00′ at that location to x′5 B′.
2. Locate the EBCDIC x′90′ left bracket, and change the value from an ASCII
x′00′ at that location to x′5D′.
3. Assemble and link-edit the job to produce a user specific translation phase.
Figure 48 on page 78 lists the job we used to assemble and link-edit the
translation table to become a new phase ′NEWXLTE′. The table has been
customized for the preservation of the left/right brackets.
The translation table is not part of the startup phase ′FTPSMAIN′, therefore it
is not required to rebuild this phase.
There is no installation verification job provided by the software. You may use
the sample job in Figure 36 on page 64, to verify that the product is recorded by
MSHP. Testing of the product can only be performed after the product
customization. Please refer to Chapter 19, “OC/FTP Client Operation and
Examples” on page 239 for the testing and operation procedures.
We then edited it into individual jobs to tailor the environment for OC/FTP Client.
The VSAM data set definition parameters may be overridden by the DYNALL
member and DEFAULT command. Please refer to 7.2.4.1, “DYNALL Member” on
page 92, and Chapter 19, “OC/FTP Client Operation and Examples” on page 239
for details.
OPEN
O
C
FTPC S
F
T
P
n
OCSFTPnn n
VTAM
P LU IPFT2S9B
U
LU IPFT2S9C
I
P LU IPFT2S9D
OCS II F
GATEWAY P :
2 :
2 :
0 :
9 LU IPFT2S9H
The VTAM APPL entries for OC/FTP Client are listed in Figure 51 on page 86.
The completed VTAM APPL major node definition is listed in A.4, “VTAM APPL
Major Node for OCS Products” on page 344.
Figure 52 lists the LU definitions used by OC/FTP Client. We defined seven LUs
for the online FTP clients. The number of LUs depends on the installation
requirements.
IPFT2S9B LU LOCADDR=2,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPFT2S9C LU LOCADDR=3,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPFT2S9D LU LOCADDR=4,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPFT2S9E LU LOCADDR=5,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPFT2S9F LU LOCADDR=6,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPFT2S9G LU LOCADDR=7,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPFT2S9H LU LOCADDR=8,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
We filed these resources under the group VSEGROUP. After the resources are
defined, we used:
• CEDA INSTALL GROUP(VSEGROUP) to activate VSEGROUP
• CEDA ADD GROUP(VSEGROUP) to make VSEGROUP permanent
Screen images of the CEDA sessions are reproduced in this section, to help you
with the definitions in your installation.
CEDA DEFINE
Connection : VSE
Group : VSEGROUP
CONNECTION IDENTIFIERS
Netname : OCSFTP62
INDsys :
REMOTE ATTRIBUTES
REMOTESystem :
REMOTEName :
CONNECTION PROPERTIES
ACcessmethod : Vtam Vtam | IRc | INdirect
Protocol : Appc Appc | Lu61
SInglesess : No No | Yes
Datastream : User User | 3270 | SCs | STrfield | Lms
RECordformat : U U | Vb
OPERATIONAL PROPERTIES
AUtoconnect : All No | Yes | All
INService : Yes Yes | No
SECURITY
SEcurityname :
ATtachsec : Local Local | Identify | Verify
Bindpassword : PASSWORD NOT SPECIFIED
CEDA DEFINE
Sessions : VSESESS
Group : VSEGROUP
SESSION IDENTIFIERS
Connection : VSE
SESSName :
NETnameq :
MOdename : OCSLU62P
SESSION PROPERTIES
Protocol : Appc Appc | Lu61
MAximum : 00010 , 00010 0-32767
RECEIVEPfx :
RECEIVECount : No No | 1-999
SENDPfx :
SENDCount : No No | 1-999
SENDSize : 04096 1-30720
RECEIVESize : 04096 1-30720
OPERATOR DEFAULTS
OPERId :
OPERPriority : 000 0-255
OPERRsl :0
OPERSecurity : 1
USERId :
SESSION USAGES
Transaction :
SESSPriority : 000 0-255
OPERATIONAL PROPERTIES
Autoconnect : All No | Yes | All
INservice : No | Yes
Buildchain : Yes Yes | No
USERArealen : 000 0-255
IOarealen : 00000 , 00000 0-32767
RELreq : No No | Yes
Discreq : No No | Yes
NEPclass : 000 0-255
RECOVERY
RECOvoption : Sysdefault Sysdefault | None
The default values provided by OC/FTP Client may not apply to your installation.
You should review and tailor the sample specifications provided in
PRODBLDC.PROC.
* $$ JOB JNM=CFDYNALL,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB CFDYNALL
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=TCPOCS.FTPC
CATALOG DYNALL.FTP EOD=$$ REPLACE=Y
VSAMCAT TCPCAT DEFAULT VSAM CATALOG
LRECL 00132 DEFAULT LIBR/VSAM RECORD LENGTH
PALLOC 0000512 DEFAULT VSAM PRIMARY ALLOCATION
SALLOC 0000256 DEFAULT VSAM SECONDY ALLOCATION
CISIZE 04096 DEFAULT VSAM DATA CISIZE
CISIZEDATA 02048 ALTERNATE DATA CISIZE KEYWORD
BUFND 020 DEFAULT VSAM DATA BUFND=
BUFNDATA 010 ALTERNATE DATA BUFND= KEYWORD
BUFSP 0000000 DEFAULT VSAM CLUSTER BUFSP=
OPNDSP NEW DEFAULT VSAM OPEN DISPOSITION
CLSDSP KEEP DEFAULT VSAM CLOSE DISPOSITION
RETAIN 0007 DEFAULT VSAM CLUSTER RETENTION
MODE LIBR DEFAULT OPERATION MODE
DDSN OCS.FTP.TESTING DEFAULT VSAM DATASET NAME
DLIB TCPOCS DEFAULT LIBRARIAN LIBRARY
DSLIB USR1 DEFAULT LIBRARIAN SUBLIBRARY
DMBRN FTPOBJ DEFAULT LIBRARIAN MEMBER NAME
DMBRT TCPIP DEFAULT LIBRARIAN MEMBER TYPE
RECFM RECORD DEFAULT LIBR/VSAM RECORD FORMAT
BUFNINDEX 004 DEFAULT VSAM KSDS BUFNI=
BLKFACTOR 001 DEFAULT VSAM BLOCK FACTOR
KEYLOCATION 000 DEFAULT VSAM KSDS KEY LOCATION
KEYLENGTH 010 DEFAULT VSAM KSDS KEY LENGTH
CAFREESPACE 000 DEFAULT VSAM KSDS CA FREESPACE
CIFREESPACE 000 DEFAULT VSAM KSDS CI FREESPACE
CISIZEINDEX 000 DEFAULT VSAM KSDS CISIZE
MODELENTRY NULL DEFAULT VSAM MODEL ENTRY
SHARE 2 DEFAULT VSAM SHAREOPTION
UNITS REC DEFAULT VSAM ALLOCATIONS UNITS
$$
/*
/&
* $$ EOJ
The 32-bit IP address consists of the network address and host address. It is
usually represented in a four-part dotted decimal format, for example
192.61.100.81.
The length of the network and host address is determined by the IP address
class used. There are four IP address classes: A, B, C and D. Please refer to
TCP/IP Tutorial and Technical Overview, GG24-3376 for the description of IP
addresses and classes.
For IP address class C, we use a subnet mask 255.255.255.0. This means there
are 8 bits left for host addresses and we don′t have a subnetwork. As usual, bits
1-3 of the IP address are the IP address class identifier. The next 21 bits are the
network address, followed by 8 bits for the host address. In dotted decimal
format, the first three parts form the network address and the last part forms the
host address.
For IP address class A, we also use a subnet mask 255.255.255.0. Since class A
only uses the first 8 bits for the network address, the next 16 bits are used for
subnetworking, followed by the last 8 bits for host addresses. For this case, we
have to specify a subnet mask in the NETMASK member. Please refer to 7.2.4.10,
“NETMASK Member” on page 101. In dotted decimal format, the first part
All these IP addresses and subnet masks will only be used by the applications to
determine the route to nodes within the TCP/IP network. The IP address class
only limits the number of hosts in the network and the subnet mask only divides
the existing network into two or more smaller networks allowing for more hosts
to be attached.
NETWORKS.FTP
IPFNET 192.61.100
SUNNET 192.61.200
AIXNET 9.164.182
IPFNET.FTP
OCS II GATEWAY
PU IPFP2209
LU IPFT2S9B
LU IPFT2S9C
LU IPFT2S9D
LU IPFT2S9E
LU IPFT2S9F
LU IPFT2S9G
LU IPFT2S9H
Figure 55. Definition and Relationships between NETWORKS and LU List Members
This definition is based on the network diagram in Figure 13 on page 34, and the
IP address and name assignments in Table 3 on page 36. In the NETWORKS
Member, we defined three networks with IPFNET as the default network:
• IPFNET with IP network address 192.61.100 (IBM Token-Ring LAN)
• SUNNET with IP network address 192.61.200 (Ethernet LAN)
• AIXNET with IP network address 9.164.182 (IBM Token-Ring LAN)
* $$ JOB JNM=CFLUVSE,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB CFLUVSE
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=TCPOCS.FTPC
CATALOG IPFNET.FTP EOD=$$ REPLACE=Y
GATEWAY BEGIN
LU IPFT2S9B
LU IPFT2S9C
LU IPFT2S9D
LU IPFT2S9E
GATEWAY END
$$
/*
/&
* $$ EOJ
* $$ JOB JNM=CFLUVSE2,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB CFLUVSE2
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=TCPOCS.FTPC
CATALOG SUNNET.FTP EOD=$$ REPLACE=Y
GATEWAY BEGIN
LU IPFT2S9H
GATEWAY END
$$
/*
/&
* $$ EOJ
* $$ JOB JNM=CFLUVSE3,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB CFLUVSE3
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=TCPOCS.FTPC
CATALOG AIXNET.FTP EOD=$$ REPLACE=Y
GATEWAY BEGIN
LU IPFT2S9F
LU IPFT2S9G
GATEWAY END
$$
/*
/&
* $$ EOJ
* $$ JOB JNM=CFHOSTS,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB CFHOSTS
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=TCPOCS.FTPC
CATALOG HOSTS.FTP EOD=$$ REPLACE=Y
192.61.100.84 TCPCL2
192.61.100.55 RS6TECTR
192.61.200.55 RS6
192.61.200.91 SUN2
9.164.182.132 AIX560
$$
/*
/&
* $$ EOJ
Note
There are no host names AIX320, TCPCL1 and TCPCL3. These three hosts
are using the domain name system. They go through the domain name
server TCPCL1 to resolve unknown host names. Please refer to
7.2.4.11, “RESOLVER Member” on page 101 for more information on domain
name server.
You may include as many statements as required to define the OCS pacing
values between OC/FTP Client and the remote nodes. The definition statement
consists of three fields:
1. The first field is the inbound pacing
It defines the number of RUs the remote FTP server may send to OC/FTP
Client, before waiting for a pacing response from OC/FTP Client
2. The second field is the outbound pacing
It defines the number of RUs OC/FTP Client may send to the remote FTP
server, before waiting for a pacing response from the remote server
3. The third field defines the name of the remote FTP server
* $$ JOB JNM=CFPACING,DISP=D,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=0
* $$ LST CLASS=A
// JOB CFPACING
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=TCPOCS.FTPC
CATALOG PACING.FTP EOD=$$ REPLACE=Y
10.10 TCPCL1
10.10 TCPCL2
10.10 TCPCL3
10.10 AIX320
10.10 AIX560
$$
/*
/&
* $$ EOJ
This member is used only to specify the subnet masks for the implementation of
IP subnets. Those networks which do not use subnetworking don′t have to be
specified here. Please refer to TCP/IP Tutorial and Technical Overview,
GG24-3376 for the explanation of IP subnets. Figure 63 lists the job we tailored.
* $$ JOB JNM=NETMASK,CLASS=A,DISP=D
// JOB NETMASK - FOR SUBNET MASK
// EXEC LIBR,PARM=¢MSHP¢
ACC S=TCPOCS.FTPC
CATALOG NETMASK.FTP EOD=$$ REPLACE=Y
9.164.182 255.255.255.0
$$
/*
/&
* $$ EOJ
These hosts don′t have a hosts file in their /etc directory. They resolve host
names through the Domain Name Server (DNS) TCPCL1.ITSC.IBM.COM.
In the first place, these hosts will look into /etc directory to see if a resolver file
exists. If it does and the domain name server is running, the host name is
resolved through DNS. If the DNS cannot resolve the host name, then the host′ s
file is searched, if it exists.
In contrast, our VSE/ESA host will search its host′s file (HOSTS member) first. If
the name is not found and the RESOLVER member exists, it will resolve the host
name through the DNS.
// LIBDEF *,SEARCH=TCPOCS.FTPC
Please refer to 7.2.5.3, “Create the FTP Client Startup Online Job” on page 104
for the OC/FTP Client startup job. Refer also to 19.2.1, “Get a File from PC/DOS
to VSE Library” on page 245 for an example of resolving host names via a
Domain Name Server. Figure 64 on page 102 lists the job we tailored.
Note
We put OCSSMH into the member shipped.
* $$ JOB JNM=CFASM2,CLASS=0,DISP=D,NTFY=YES
// JOB CFASM2
* ------------------------------------------------------ *
* APPLYING LICENSE SITE PROTECTION MODIFICATION. *
* ------------------------------------------------------ *
// EXEC PGM=MSHP
REMOVE 5758-PC-014-224 APAR=SP01401
CORRECT 5758-PC-014-224:SP01401 IRREVOKABLE
AFFECTS PHASE=FTPC
ALTER 000C /16/AA:DCE41639117EB548EFD06F750D973161
ALTER 001C /16/AA:A30366608A7413E8BE67747583F0B5B4
ALTER 002C /16/AA:2CC7C589EC4CC491D190EAF899CFCDC4
RESOLVES ¢LICENSE SITE PROTECTION¢
/*
/&
* $$ EOJ
* $$ JOB JNM=FTPC,DISP=L,PRI=3,NTFY=YES,LDEST=*,CLASS=Y
// JOB FTPC
*
// LIBDEF *,SEARCH=TCPOCS.FTPC,TEMP
// EXEC PGM=OCSFTPC,SIZE=(OCSFTPC,256K)
/*
/&
* $$ EOJ
This job is submitted to the POWER RDR queue and is ready to start. The
operation and testing of OC/FTP Client are discussed in Chapter 19, “OC/FTP
Client Operation and Examples” on page 239.
* $$ JOB JNM=CFBATCH,DISP=L,PRI=3,NTFY=YES,LDEST=*,CLASS=Y
// JOB CFBATCH
*
// LIBDEF *,SEARCH=TCPOCS.FTPC,TEMP
// EXEC PGM=FTPC,SIZE=(FTPC,256K)
OPEN TCPCL1
pram
jack
VSECD
DEFAULTS MODE LIBR LIB TCPOCS
VSECD .USR1
PWD
MKDIR C:\TCPIP\FTPC
RMDIR C:\TCPIP\FTPC
MKVSEDIR TCPOCS.FTPB
RMVSEDIR TCPOCS.FTPB
STATUS
LDIR
BYE
/*
/&
* $$ EOJ
Figure 70. Job to Assemble and Catalog the Translation Object Module
The OC/Line Printer Daemon runs mutually exclusive with the AIX LPD on the
OCS II Gateway. This means that:
• The AIX qdaemon subsystem must be stopped. This is done with the
following command:
stop -s qdaemon
If the qdaemon subsystem is automatically started at AIX startup, the
qdaemon entry must be removed from ′ / etc/inittab′.
• If you are using printers attached to the OCS II Gateway from remote Line
Printer Requestors (LPRs), the following steps must be performed:
− The printers must be physically connected to an AIX system other than
the OCS II Gateway.
There is no installation verification job provided by the software. You may use
the sample job in Figure 36 on page 64, to verify that the product is recorded by
MSHP. Testing of the product can only be performed after the product
customization. Please refer to Chapter 20, “OC/Line Printer Daemon Operation
and Examples” on page 273 for the testing and operation procedures.
Figure 71. VTAM APPL Statement for OC/Line Printer Daemon Receive Connection
These APPL definitions are only required if you intend to use the E-mail
notification feature described in 8.2.2.1, “LPDCONF Member” on page 112.
Figure 72 on page 112 lists the LU definitions used by OC/Line Printer Daemon.
We defined one LU for the Line Printer Daemon and used the LUs defined for the
OC/FTP Client as shown in Figure 52 on page 87. The number of LUs depends
on the installation requirements.
• H = specifies if the print output should be preceded by the LPD banner. For
a more detailed description of the LPD banner, refer to 8.2.5, “Customizing
the OC/Line Printer Daemon Print Banner” on page 119.
The default for this operand is H=Y.
For our LPDCONF member as shown in Figure 73 on page 113 this means that
there are four queues available to remote Line Printer Requestors.
Figure 74 (Part 1 of 2). Build the Executable Phases for OC/Line Printer Daemon and
Apply Site Protection
Figure 74 (Part 2 of 2). Build the Executable Phases for OC/Line Printer Daemon and
Apply Site Protection
* $$ JOB JNM=LPD,CLASS=Y,DISP=L,NTFY=YES
* $$ LST CLASS=A
// JOB LPD START LINE PRINTER DAEMON
// LOG
// DLBL OCSPLIB,¢TCPOCS.PARMLIB.FTP¢
// DLBL IJSYS01,¢IJSYS01¢,0,VSAM,CAT=VSESPUC,DISP=(,KEEP), C
RECSIZE=4096,RECORDS=(000512,000256)
// DLBL LPDFILE,¢LPDFILE¢,0,VSAM,CAT=VSESPUC,DISP=(,KEEP), C
RECSIZE=4096,RECORDS=(000512,000256)
// LIBDEF *,SEARCH=(TCPOCS.PARMLIB,TCPOCS.LPD),TEMP
// EXEC PGM=LPD,SIZE=LPD
/*
* $$ EOJ
The DLBL statements in this job are used for the following reasons:
• DLBL OCSPLIB causes OC/Line Printer Daemon to use the configuration
members needed for E-mail notification from TCPOCS.PARMLIB with a
member type of FTP. These are the same members used when setting up the
OC/FTP Client.
This job is submitted to the POWER RDR queue and is ready to start. The
operation and testing of OC/Line Printer Daemon are discussed in Chapter 20,
“OC/Line Printer Daemon Operation and Examples” on page 273.
2. Assemble and link-edit the ′LPD′ phase to include the new print banner
object module.
3. Restart the OC/Line Printer Daemon.
* $$ JOB JNM=CATBANER,CLASS=A
// JOB CATBANER - CATALOG SOURCE PRINT BANNER
// EXEC LIBR,PARM=¢MSHP¢
ACCESS S=TCPOCS.LPD
CATALOG LPDBANER.A REPLACE=YES
TITLE ¢LPD - BANNER DEFINITION FILE¢
*======================================================================
* PROGRAM: LPDBANER
* PURPOSE: Allow flexability for defining the banner page data
* printed by the LPD Deamon.
* WRITTEN: 07/15/96
* SYSTEM: VSE/ESA 2.1
*======================================================================
* Those characters defined from BANER1N thru BANER1E define the
* left half of the banner.
* Those characters defined from BANER2N thru BANER2E define the
* right half of the banner.
* Change the characters between the ¢......¢ only and reassemble
* and link using the provided sample jcl as a guide.
* Warning: Both sides of the banner must contain the same number
* of lines.
*======================================================================
LPDBANER CSECT
DC A(BANER1)
DC A(BANER2)
DC A(BANER1EE)
DC A(BANER2EE)
DC CL8¢LPDBANER¢ CSECT NAME
DC CL8¢08.00.00¢ TIME
DC CL8¢07/15/96¢ DATE
BANER1 DS 0H
BANER1N DS 0H
DC CL60¢ OOOOOOO CCCCCCC SSSSSS /¢
DC CL60¢ OO OO CC SS SS / ¢
DC CL60¢ OO OO CC SS / ¢
DC CL60¢ OO OO CC SS SS / ¢
DC CL60¢ OOOOOOO CCCCCCCC SSSSSSS / ¢
BANER1E DS 0H
BANER1EE EQU (*-BANER1)/60 NUMBER OF LINES
BANER2 DS 0H
BANER2N DS 0H
DC CL60¢ LL PPPPPPPP DDDDDDDD ¢
DC CL60¢ LL PP PP DD DD ¢
DC CL60¢ LL PPPPPPPP DD DD ¢
DC CL60¢ LL PP DD DD ¢
DC CL60¢ LLLLLL PP DDDDDDDD ¢
BANER2E DS 0H
BANER2EE EQU (*-BANER2)/60 NUMBER OF LINES
/+
/*
/&
* $$ EOJ
[Entry Fields]
* NAME of queue to add [sysout]
ACTIVATE the queue? yes +
Will this become the DEFAULT queue? no +
Queueing DISCIPLINE first come first serve +
ACCOUNTING FILE pathname []
* DESTINATION HOST for remote jobs [192.61.100.81]
* Pathname of the SHORT FORM FILTER for queue [/usr/lpd/aixshort] +
status output
* Pathname of the LONG FORM FILTER for queue [/usr/lpd/aixlong] +
status output
* Name of QUEUE on remote printer [sysout]
* NAME of device to add [sysout]
* BACKEND PROGRAM pathname [/usr/lpd/rembak]
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
This chapter covers the installation and customization of the OC/RSH Client. It
consists of two steps:
1. Installation - Describes the preparation and procedures to install OC/RSH
Client in VSE/ESA
2. Customization - Provides an explanation of the product customization.
The installation instructions provided in this chapter assume you already have
installed and are using the OCS II Gateway. The OC/RSH Client is an extension
to the OC/FTP Client program. The OC/FTP Client has already been installed
(see Chapter 7, “OC/FTP Client Installation and Customization” on page 81) and
we are using the same parameter library members.
There is no installation verification job provided by the software. You may use
the sample job in Figure 36 on page 64 to verify that the product is recorded by
MSHP. Testing of the product can only be performed after the product
Since we have already installed the OC/FTP Client and no additional LUs are
being added to support OC/RSH Client, no further VTAM and RSH customization
is required.
These tasks are the same as for the OC/FTP Client and described in Chapter 7,
“OC/FTP Client Installation and Customization” on page 81.
Figure 79 on page 126 illustrates the operation of the OC/RSH Client and the
relationships between FTP and RSH clients within the OC/FTP Client.
• VTAM, CICS and OCS II Gateway are initialized, and the OCS II Gateway is
connected to VTAM.
• The OC/RSH Client is executed within the OC/FTP Client dynamic partition,
the communication program OCSFTP62 automatically establishes the parallel
sessions with the corresponding ISC modules in the CICS partition. The
number of concurrent sessions is determined in the OCSFTP62 APPL
statement. The OC/RSH Client is now ready to accept RSH transactions from
CICS terminals. OCSFTP62 handles also the requests from FTP transactions.
• When the RSH transaction is entered from a CICS terminal, the OC/RSH
Client online interface is initialized.
FTP
O
C
FTPC RSHC S
F
T
P
n
OCSFTPnn n
VTAM
P LU IPFT2S9B
U
LU IPFT2S9C
I
P LU IPFT2S9D
OCS II F
GATEWAY P :
2 :
2 :
0 :
9 LU IPFT2S9H
Connection, session and program definitions are the same as described for
OC/FTP Client (see Chapter 7, “OC/FTP Client Installation and Customization”
on page 81). We only show the definition of the transaction ′RSH′ in the section
below.
CEDA DEFINE
TRansaction : RSH
Group : VSEGROUP
PROGram : APPCFTPC
TWasize : 00256 0-32767
PROFile : DFHCICST
PArtitionset :
STatus : Enabled Enabled | Disabled
PRIMedsize : 00000 0-65520
REMOTE ATTRIBUTES
DYnamic : No No | Yes
REMOTESystem :
REMOTEName :
TRProf :
Localq : No | Yes
SCHEDULING
PRIOrity : 001 0-255
TClass : No No | 1-10
ALIASES
Alias :
TAskreq :
Xtranid :
RECOVERY
DTimout : No No | 1-7000
Indoubt : Backout Backout | Commit | Wait
REStart : No No | Yes
SPurge : No No | Yes
TPurge : No No | Yes
DUmp : Yes Yes | No
TRACe : Yes Yes | No
SECURITY
Extsec : No No | Yes
TRANsec : 01 1-64
RSL : Public 0-24 | Public
RSLC : No No | Yes | External
These members have already been set up for the OC/FTP Client in Chapter 7,
“OC/FTP Client Installation and Customization” on page 81 and filed in
sublibrary TCPOCS.FTPC.
* $$ JOB JNM=CRASM,CLASS=5,DISP=D,NTFY=YES
// JOB CRASM
* BUILDING COMPONENT EXECUTABLE PHASE
// OPTION CATAL,NOXREF
// LIBDEF OBJ,SEARCH=(TCPOCS.RSH,TCPOCS.FTPC),TEMP
// LIBDEF PHASE,CATALOG=TCPOCS.RSH,TEMP
PHASE RSHC,*
INCLUDE RSHMAIN
INCLUDE RSHCPU
INCLUDE RSHBTCH
INCLUDE RSHSMP
INCLUDE SOCK$AM
/*
ENTRY RSH
/*
// EXEC PGM=LNKEDT,PARM=¢MSHP¢
/*
/&
* $$ EOJ
* $$ JOB JNM=CRASM2,CLASS=5,DISP=D,NTFY=YES
// JOB CRASM2
* ------------------------------------------------------ *
* APPLYING LICENSE SITE PROTECTION MODIFICATION. *
* ------------------------------------------------------ *
// EXEC PGM=MSHP
REMOVE 5758-PC-317-215 APAR=SP31701
CORRECT 5758-PC-317-215:SP31701 IRREVOKABLE
AFFECTS PHASE=RSHC
ALTER 0000 /16/AA:DD3126AC98742608270864AACDB6B274
ALTER 0010 /16/AA:A34C76D331729CA8F65F7DAB4212294F
ALTER 0020 /16/AA:FBCD1709EE4B10351D4D5CFCFC9F4291
RESOLVES ¢LICENSE SITE PROTECTION¢
/*
/&
* $$ EOJ
* $$ JOB JNM=FTPC,DISP=L,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=Z
* $$ LST CLASS=A
// JOB FTPC STARTS FTP AND RSH CLIENT
// LIBDEF *,SEARCH=(TCPOCS.FTPC,PRD2.CONFIG),TEMP
// EXEC PGM=OCSFTPC,SIZE=(OCSFTPC,256K)
/*
/&
* $$ EOJ
This job is submitted to the POWER RDR queue and is ready to start. Operation
and test of the OC/RSH Client is discussed in Chapter 21, “OC/RSH Client
Operation and Examples” on page 281.
Be sure that user names and commands for AIX are specified in lower case,
otherwise the command will not execute as expected. When preparing the RSH
batch job with the ICCF editor use the editor command ″CASE M″ to enable input
in mixed mode. Figure 85 lists the job we tailored to test RSH functions.
* $$ JOB JNM=CRBATCH,DISP=L,PRI=3,NTFY=YES,LDEST=(,RSCS),CLASS=Y
* $$ LST CLASS=A
// JOB CRBATCH
// LIBDEF PHASE,SEARCH=TCPOCS.FTPC,TEMP
// LIBDEF SOURCE,SEARCH=TCPOCS.FTPC,TEMP
// EXEC PGM=RSHC,SIZE=(RSHC,256K)
PARMLIB TCPOCS.FTPC
RSH AIX320 -l wacker -n date; echo $HOME;ls -l
RSH AIX320 -l wacker -n cat /etc/hosts
RSH AIX320 -l maru -n ls -l grep Oct
RSH 192.61.100.81 -l maru -n ls -l grep Oct
BYE
/*
/&
* $$ EOJ
Figure 87 is an extract from the complete VTAM APPL definition listed in A.4,
“VTAM APPL Major Node for OCS Products” on page 344.
Figure 88 lists the LU definitions used by OC/TELNET FS. We defined three LUs
for our test environment. To support the 64 sessions defined in the APPL major
node, 64 LUs should be defined.
IPFT2S9J LU LOCADDR=10,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
PACING=1,VPACING=2, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPFT2S9K LU LOCADDR=11,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
PACING=1,VPACING=2, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPFT2S9L LU LOCADDR=12,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
PACING=1,VPACING=2, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
After you define a command file, you must catalog it into the OC/TELNET client
sublibrary under the name: membername.PARMLIB, where membername is the
name of the command file. Catalog the changed members back using the
following LIBRC command:
Our definition is based on the network diagram in Figure 13 on page 34, and the
IP address and name assignments in Table 3 on page 36. In the NETWORKS
file, we defined the network IPFNET with IP network address 192.61.100.
Figure 89 lists the job we used. ″IPFNET″ is the only network defined and the last
line without an IP address defines it as the default network.
This file is used to set up default session commands for the VSE/ESA TELNET
clients. It may be used to automate the logon to a TELNET server. See
Figure 95 for the sample we used.
Figure 97 lists the job we created. The following changes are made:
• Add the necessary JCL to start the job in a dynamic partition.
• Specify the authorization code in the EXEC statement. The authorization
code is obtained from OCS for license protection. It must be specified in the
startup job.
* $$ JOB JNM=TNFS,CLASS=Y,DISP=L,NTFY=YES
// JOB TNFS START OC/TELNET CLIENT FULL SCREEN
// LOG
// LIBDEF PHASE,SEARCH=(TCPOCS.TNFS,PRD2.CONFIG),TEMP
// LIBDEF SOURCE,SEARCH=(TCPOCS.TNFS,PRD2.CONFIG),TEMP
// EXEC PGM=TNFS,SIZE=TNFS,PARM=¢E9B591767631¢
/*
/&
* $$ EOJ
The installation instructions provided in this chapter assume you already have
installed and are using the OCS II Gateway. OC/SAM is a program development
toolkit that provides a socket application program interface on VSE/ESA systems
to enable development of TCP/IP client/server applications.
• Use the II (Interactive Interface) ′ Restore VSE Library from Tape ′ panel as
illustrated below to generate the job to restore the three product libraries
from tape, as shown in Figure 103 on page 148.
• Submit the job to restore OC/SAM into subject sublibraries.
Repeat this for the other two sublibraries. Then enter the required data for the
tape.
This creates a job to restore the libraries from tape as shown in Figure 103.
* $$ JOB JNM=SAMRES,DISP=D,PRI=3, C
* $$ NTFY=YES, C
* $$ LDEST=*, C
* $$ CLASS=0
// JOB SAMRES RESTORE VSE LIBRARIES
*
* THIS FUNCTION USES A TAPE FOR INPUT
* MOUNT LABELED TAPE WITH VOLUME ID=SOCKET ON DEVICE 180
* THEN CONTINUE. IF NOT POSSIBLE CANCEL THIS JOB.
// PAUSE
// TLBL TAPE1,¢SOCK.LIBS¢,,¢SOCKET¢
// ASSGN SYS004,181
// EXEC LIBR,PARM=¢MSHP¢
RESTORE OCS.SOCKOBJ.*.*:TCPOCS.SAMOBJ -
/* MEMBER IDENTIFICATION */ -
OCS.SOCKMAC.*.*:TCPOCS.SAMMAC -
OCS.SOCKSMP.*.*:TCPOCS.SAMSMP -
ID = * /* MNEMONIC-ID OF THE */ -
/* (SUB-)LIB ON TAPE*/ -
LIST = YES /* LIST SPECIFICATION */ -
REPLACE = YES /* REPLACE OPTION */ -
DATE = OLD /* Indicator to keep timestamp */ -
TL = TAPE1 /* Pointer to TLBL statement */ -
TAPE = SYS004 /* TAPEADDRESS */
/*
// MTC RUN,181
/&
* $$ EOJ
To make the necessary changes to these members copy them into your ICCF
library, enter the ICCF command line, switch to the proper ICCF library and copy
the members from the product library into the ICCF library, as shown below:
/SWITCH 96
LIBRP TCPOCS.SAMSMP IVP.A IVPVSE
LIBRP TCPOCS.SAMSMP $VSEJCL.A RUNIVP
Catalog the changed ICCF member IVPVSE back to the product library using the
following LIBRC ICCF procedure:
Submit the RUNIVP job for execution. After the job finishes, check the listing to
make sure that:
1. The assembler completed without errors.
2. The linkage editor included all required object decks into the phase.
3. All trace events ended with return code 0, except for ′GET SERVICE BY
NAME′ for the service ′UNKNOWN′.
4. The job ends with return code 4.
Now OC/SAM has been correctly installed and the sockets interface is usable for
your application programs.
These are the steps to add an entry to the ′GET SERVICE BY NAME′ table:
1. Copy TABLE001.A source file from TCPOCS.SAMSMP into ICCF library
member TABLE001
2. Add new entries to ICCF member TABLE001
3. Catalog the member you changed
4. Run the assembly and use the $VSETABJ job to catalog the updated table
into the TCPOCS.SAMOBJ sublibrary
This chapter covers the OCS II Gateway part of OpenConnect Systems running
on a RISC/6000 and provides:
• a functional overview of the OCS II Gateway
• detailed instructions on how to install the OCS II Gateway
• detailed instructions on how to customize the OCS II Gateway
• special consideration on implementing OC/TELNET Server
• set up alternative port number for AIX TELNET, FTP Servers
By choosing selection ″1″ the OCS II product code is loaded into the OCS
directories. The contents of these directories after installation are shown in
Figure 110 on page 155. This figure shows the OCC directories in addition to
the OSC directories.
12.4 Customization
The customization of the OCS II Gateway is a more complex part. Various
configuration files have to be modified according to your specific requirements.
There are two different ways to do this:
• Using the Configurator program (′occonfig′).
• Manually editing the various files.
It′s strongly recommended to use the first method, since this is the easiest way
to configure the OpenConnect Server II Gateway. It offers the advantage of a
menu driven utility where you are asked to enter the values reflecting your real
network configuration and your particular needs. The program is able to do
some checking of the values entered and to signal the possible errors.
Starting with the configurator for Version 3.6 of the OCS II Gateway, the
configuration process is designed to configure instances. An instance is one
iteration of the OCSNA process running its specific configuration files. For more
information on the ocsna command, please see 13.1, “Operation Samples
(start,stop,status....)” on page 189. Each instance has its own set of
configuration files associated with it. Unique instances are maintained through
the use of file name suffixes.
The instance file is created and maintained via the configurator. The contents of
the file consist of the names of one or more instances and the associated file
name suffix. A sample entry for an instance file is shown in Figure 111 on
page 157.
The configuration exec is called occonfig and, if you accept the installation
defaults, resides in the directory /usr/oc/bin . To invoke it you have to enter the
command occonfig (or ./occonfig if you have not made appropriate path
definitions in your ′.profile′).
Figure 112 on page 158 shows the Main menu that appears when the
configuration exec is invoked. From this Main menu, you can select Select
OCSNA Instance to Configure to update an existing configuration, or Load
OCSNA Instance to create a new configuration.
Please see the OCS II Gateway Installation and Operations Guide, 350-0285-101
for detailed information. Figure 113 on page 158 shows the screen after we
select: Select OCSNA Instance to Configure.
1 occ1 2 vm_via3174
3 4
5 6
7 8
9 10
11 12
13 14
15 16
• Internet address of the OpenConnect unit. This field represents the address
assigned to your OCS II Gateway by the network administrator: It must match
the Internet Address specified in ′TCP/IP Minimum Configuration and
Startup′ panel of the AIX System Management Interface Tool (SMIT) facility
(Figure 117 on page 162). The ALTERNATE TOKEN RING address in SMIT′ s
DEVICES part of ′System Management′ has to match the MACADDR
parameter in the VTAM PU statement of the switched major node definition
(see Figure 31 on page 55).
In order to find the SMIT TCP/IP Configuration Panel, you can specify SMIT at
the AIX System prompt, this will give you the System Management Panel,
here you have to select: Communications Applications and Services. On the
next panel you have to specify TCP/IP, and on the following panel, specify:
Minimum Configuration & Startup. On the next panel, please specify:
Standard Ethernet Network Interface, and you should now be able to see the
SMIT TCP/IP Configuration Panel, and to check the Internet Address.
• Enable Keepalive Option. This option allows you to turn on or off the
′Keepalive′ option. The default setting is ′ N′ (off). This allows for sending
Keepalive packets when there was no activity on the connection for the
Keepalive interval set by AIX. For more information about the Keepalive
interval, refer to the appropriate AIX documentation.
Entry Fields
* HOSTNAME aix320
* Internet ADDRESS (dotted decimal) 192.61.100.81
Network MASK (dotted decimal) 255.255.255.0
* Network INTERFACE tr0
NAMESERVER
Internet ADDRESS (dotted decimal) 192.61.100.81
DOMAIN Name itsc.ibm.com
Default GATEWAY Address 192.61.200.2
(dotted decimal or symbolic name)
RING Speed 16 +
START Now no +
The values entered here will be in effect for ALL Physical Units defined.
Datalink buffer size 2057 MUST match the MAXDATA parm in the NCP gen,
or the MAXFRAME parm on the controller
definition.
The fields appearing in the DLC configuration screen describe the attributes
common to all PUs (Physical Units) defined in the next section.
• Datalink buffer size. This field specifies the maximum number of bytes that
your physical units can receive in one PIU, including the transmission header
(TH = 6 bytes) and the request/response header (RH = 3 bytes). It must
match the value specified in the MAXDATA parameter of the PU VTAM or
NCP statement (see Figure 31 on page 55).
• Datalink encoding. This field describes the line encoding technique used on
an SDLC link and must match the NRZI parameter of the LINE NCP
statement. Although this entry isn′t applicable to a Token-Ring line
connection it′s a required parameter and you have to specify it: The field will
be ignored.
With the first option on this menu you are asked to introduce the relative
Physical Unit number. This number is used to create an ordered list of the PUs
defined and if it is your first PU definition, 1 (the default) has to be entered, since
a discontinuous numeration isn′t allowed.
• PU name . It describes the network node name assigned to this PU and must
match the label name of the PU statement of your VTAM or NCP definition
(see Figure 24 on page 47 and Figure 31 on page 55).
• Data Link Name .
• Station address. This field contains the two digit number assigned to this PU.
For an SDLC link it must match the ADDR parameter value of the PU
VTAM/NCP statement. For a Token-Ring connection it must match the
Service Access Point (SAP) of OCS II Gateway station (for a RISC/6000 it′ s
always 4).
• Termination Rule .The recommended setting for S/370 is ′T′ which makes
sure that VTAM is notified at session termination. For 3274 controllers, the
recommended setting is ′ L′ which lets the application control the session
termination.
• PU type . The only two values accepted in this field are PU2.0 and PU2.1. The
PU2.0 identifies a standard SNA cluster (for example, 3274) working in the
classic SNA hierarchical mode. The PU2.1 defines the new type of cluster
controllers (for example, 3174) or midrange systems (for example, AS/400)
supporting the APPN (Advanced Peer-to-Peer Networking) functions. For
more details on this please refer to VTAM Network Implementation Guide,
SC31-6434.
• IDNUM value . This field is a user value and must match the IDNUM
parameter of the PU statement in the VTAM Switched major node definition.
If you have configured the Gateway station as a local major node, you can
insert any mnemonic value (for example, PU001).
Select Display all Logical Units and the next screen (Figure 123 on page 167)
appears.
In this configuration panel you are asked to introduce the values describing the
LU characteristics owned by the PU you just configured. You can define up to 64
LUs for each PU.
• LU name . This field contains the symbolic name representing this LU in your
network. The LU name and its corresponding number must match, in the
same order, the label name and the LOCADDR parameter in the VTAM/NCP
LU statement (see A.3, “VSE TCPSW.B Switched Major Node” on page 342).
• LU type. This field requires a number whose value is shown in the upper
side of this screen. When specifying the number consider how the
workstation assigned to it will be used. Specify:
− ″14″ for LUs interfacing the OCS II products:
- OpenConnect/File Transfer Program Client
- OpenConnect/Remote Shell (remote shell)
- OpenConnect/File Transfer Program Server
- OpenConnect/TELNET Client Full Screen
- OpenConnect/Line Printer Daemon
- and also for Socket Access Method Application programs
− ″1, 5, 6, 7, 8″ for LUs assigned to the OCS II Telnet Server function of the
OCS II Gateway
− ″10″ for LU assigned to a terminal printer LU 3 (3287 LU 3).
− ″15, 16″ for APPC (not used in our installation).
The menu shown in Figure 124 provides for the customization of several
services of the OCS II Gateway. The relevant services for our environment are:
• Miscellaneous System Wide Parameters
• TN and TELNET Server Configuration
• PU T2.1 Node Configuration
When you select Miscellaneous System Wide Parameters you will see the
following screen:
• Term types negotiation. You can enable the OCS II Telnet Server to
negotiate, with the remote host, the terminal type.
• Alternate PORT number. This field is a four digit number defining the port
number reserved for Telnet sessions with the VSE/ESA host. It must be
different from the AIX TELNET Server port number. Refer to 12.6, “Set up
Alternative Ports for AIX TELNET and FTP Servers” on page 186 for
assigning an alternate port for AIX TELNET Server.
• Termcap file size. This field is the maximum size, in Kbytes, of the
′octermcap′ file that contains the display station′s definition (please refer to
OCS II Telnet Server Manager, 350-0193-101 for details).
• TELNET Redirector Sessions. Defaults to the current configuration in the
option file. If not currently defined in the Option File, it will default to the
number of LUs purchased. Disable = 0.
TN3270E Functions
With the fifth option on the Instance Configuration Menu you select: Modify/View
Data Link Configuration. You are then asked to introduce the relative Link
Station (LS) number. This number is used to create an ordered list of the LSs
and if it is your first LS definition, 1 (the default) has to be entered, since
non-continuous numbering is not allowed.
Link Station Type.......... TOKN Valid values - SDLC, TOKN, X.25 or SCA.
Link Station parameters. The following parameters specify the physical link
configuration of your RISC/6000.
• Link Station type. This field has only two possible values:
− SDLC = SDLC data link control
− TOKN = Token-Ring data link control
• Adapter name. This name must match the adapter name specified in the
Token-Ring adapter configuration panel of the AIX SMIT facility (Figure 135
on page 178).
In order to find the SMIT Change/Show Characteristics of a Token Ring
Adapter, you can specify SMIT at the AIX System prompt, this will give you
the System Management Panel, here you have to select: Devices, then on
the next panel: Communication, followed by: Token Ring Adapter. On the
next panel you have to specify Adapter, and on the following panel, specify:
Change/Show Characteristics of a Token Ring Adapter, and you should now
be able to see the Change/Show Characteristics of a Token Ring Adapter,
and to find the Adapter Name.
• Call type. This field indicates the call procedure for the connection to the
host. Specify:
− L = the RISC/6000 station waits for the host activation to make the data
link connection with it. In this case it is necessary to specify a PATH
statement in the VTAM Switched major node (see A.3, “VSE TCPSW.B
Switched Major Node” on page 342).
− C = the RISC/6000 station initiates a data link connection by calling the
host. We specify ′ C′ because a remote link address is specified in
Figure 134 on page 177.
• Remote SAP Address. This field specifies the SAP Address of the VSE host
and must match the SAPADDR parameter of the PORT statement in the
VTAM LAN major node (see Figure 30 on page 53).
• Remote Link Address. This field contains the Token-Ring adapter address of
the VSE host and must match the MACADDR parameter of the PORT
statement in the VTAM LAN major node (see Figure 30 on page 53).
Network tuning. The following parameters influence the throughput rate, so you
have to specify them with care considering compromises between network
reliability and throughput efficiency.
• Drop link inact. This question asks if you want to disconnect the link with the
remote host when the RISC/6000 doesn′t receive any data on the link for a
specified period of time. This period is calculated from the values from the
Inactivity timeout, Retransmit count and Retransmit timeout keywords.
• Receive window. This field contains the maximum number of frames to
receive from the host before sending an acknowledgment.
• Transmit window. This field contains the maximum number of frames to send
to the host before receiving an acknowledgment.
• Retransmit count. This field specifies the maximum number of retries to
retransmit the same frame when a transmission error occurs.
Entry Fields
* HOSTNAME aix320
* Internet ADDRESS (dotted decimal) 192.61.100.81
Network MASK (dotted decimal) 255.255.255.0
* Network INTERFACE tr0
NAMESERVER
Internet ADDRESS (dotted decimal) 192.61.100.81
DOMAIN Name itsc.ibm.com
Default GATEWAY Address 192.61.200.2
(dotted decimal or symbolic name)
RING Speed 16 +
START Now no +
ALTERNATE TOKEN RING address 0x400010101009 +
Apply change to DATABASE only no +
BOTTOM
INSTANCE_ENTRY:
NAME = vm_via3174
SUFFIX = vm_via3174
INSTANCE_ENTRY_END:
*****************************************************************
* Feature Manager Keys
* Filename : /usr/oc/sna/etc/ockeys
*****************************************************************
6bx1u-h3lhp-zkkkk-jzmkl-m1qge-5zzx3-qk8ta
*****************************************************************
* SNA Configuration for Instance vm_via3174
* Filename : /usr/oc/sna/sna_bin.vm_via3174
*****************************************************************
The total number of control units in this configuration is 1.
Internet address: 192.61.100.81 Gateway Address: 192.61.100.83
Data Link encoding technique: NRZ Data Link Buffer Size: 2048
*****************************************************************
* Data Link Configuration for Instance vm_via3174
* Filename : /usr/oc/sna/dlcfg.vm_via3174
*****************************************************************
TR_DLC_ENTRY :
ADAPTER = tok0
CALL_TYPE = C
RECEIVE_WINDOW # 1
TRANSMIT_WINDOW # 7
DROP_LINK_ON_INACT = N
INACTIVITY_TIMEOUT # 48
RETRANSMIT_COUNT # 8
RETRANSMIT_TIMEOUT # 14
FORCE_DISC_TIMEOUT # 120
REMOTE_SAP_ADDR # 0X04
REMOTE_LINK_ADDR = 0X400020201001
ACKNOWLEDGE_TIMEOUT # 1
DLC_BUF_SIZE # 2057
LINK_NAME = IPFP2209
DLC_ENTRY_END
INSTANCE_ENTRY:
NAME = vm_via3174
SUFFIX = vm_via3174
INSTANCE_ENTRY_END:
*****************************************************************
* Feature Manager Keys
* Filename : /usr/oc/sna/etc/ockeys
*****************************************************************
6bx1u-h3lhp-zkkkk-jzmkl-m1qge-5zzx3-qk8ta
*****************************************************************
* SNA Configuration for Instance occ1
* Filename : /usr/oc/sna/sna_bin.occ1
*****************************************************************
The total number of control units in this configuration is 1.
Internet address: 192.61.100.81 Gateway Address: 192.61.100.83
Data Link encoding technique: NRZ Data Link Buffer Size: 256
*****************************************************************
* Data Link Configuration for Instance occ1
* Filename : /usr/oc/sna/dlcfg.occ1
*****************************************************************
SCA_DLC_ENTRY :
LOCAL_SAP_VALUE # 0X01
LINK_NAME = IPFP2901
DLC_ENTRY_END
1 occ1 2 vm_via3174
3 4
5 6
7 8
9 10
11 12
13 14
15 16
Figure 138 displays each OCSNA instance name and it′s corresponding instance
number.
A sample entry for an instance file is shown in Figure 111 on page 157.
1 occ1 2 vm_via3174
3 4
5 6
7 8
9 10
11 12
13 14
15 16
Figure 140 and Figure 141 on page 186 show the contents of the HAT we have
customized for ′tstext′ and ′octermcap′.
#---------------------------------------------------------------------------#
# Host Access Table (HAT) Section - the @@TSHAT section can reside anywhere
# in the tstext file.
#
# HAT Entry Syntax:
# entry_name:ip_address:port_#:ip_address_mask:port_#_mask:
#
# The †allhosts† entry will cover all hosts that do not match any other HAT
# entry.
#---------------------------------------------------------------------------#
@@TSHAT
tcpcl3:192.61.100.199
allhosts:0:0:0:0:
The HAT entries in the ′tstext′ file shown above provide for a match of all
IP_addresses for the class ′allhosts′ except for address ′192.61.100.199′ which
matches class ′tcpcl3′. For more information on the HAT entries for ′tstext′
please refer to the OC/TELNET Server Manager documentation.
The first entry in ′octermcap′ shown above gives user ′tcpcl3′ the ability to
bypass the TELNET prompt when logging on to VSE. The second entry denies
TELNET access for ′allhosts′ that is, no TCP/IP host can access VSE. Since
′tcpcl3′ was placed before the ′allhosts′ entry, it takes priority over the second
entry and allows ′tcpcl3′ to login with the service 3278 (3278 emulation) and is
recognized as terminal type VT220. For more information on the HAT entries for
′octermcap′ please refer to the OC/TELNET Server Manager documentation.
12.6 Set up Alternative Ports for AIX TELNET and FTP Servers
If OCS II Gateway is installed on a RS/6000 system as the TCP/IP solution for
VSE/ESA, there is a high probability that this machine will mainly be used for
that purpose. Based on this assumption, it is easier for TCP/IP users to access
VSE/ESA via the ′well known′ standard TCP/IP ports, that is, they don′t have to
specify a port number when they use TELNET or FTP to access VSE/ESA.
Now the AIX TELNET and FTP servers can be accessed, as shown in the
example below:
Note
For FTP, you have to use the listen port 2021 for connection, port 2020 is for
I/O data only.
There also are differences for the TELNET and FTP commands. One has to
specify ′-p′ for the port, the other does not. Please refer to your host′s TCP/IP
command reference to check the syntax of subject commands.
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
qotd 17/tcp quote
chargen 19/tcp ttytst source
chargen 19/udp ttytst source
ftp-data 2020/tcp # aix ftp io port
ftp 2021/tcp # aix ftp listen port
telnet 2023/tcp # aix telnet listen port
smtp 25/tcp mail
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource # resource location
nameserver 42/udp name # IEN 116
whois 43/tcp nicname
domain 53/tcp nameserver # name-domain server
domain 53/udp nameserver
mtp 57/tcp # deprecated
This chapter:
• provides instructions on how to start and operate the OCS II Gateway.
OCSNA=perm_path/sna
export OCSNA
Figure 143 shows how the gateway is started from an AIX command line prompt.
By using the ′&′ sign, the gateway program executes as a process in the
background. If you first started the gateway without ′&′ and you decide at a later
time to run the process in background, simply press CTRL-Z to stop the process
and enter bg followed by the ENTER key. The process will then be resumed in
the background.
We can also have the program executed automatically at AIX system startup.
This requires some customization of the AIX system initialization table. The last
command in Figure 144 on page 190 was added to AIX′s system initialization
table ′ / etc/inittab′ to provide for automatic startup of the OCS II Gateway.
To look at the status of your connections with the VSE host you can enter the
command sna_status and specify the hostname of the gateway (aix320) as shown
in Figure 145 on page 191.
To stop OCSNA processing and end all sessions established you just need to
″kill″ the OCS process. After logging in as an authorized user, you may want to
display the process id of OCSNA and use the command ′kill′ to stop the process.
The shutdown process is shown in Figure 146 below.
This chapter covers the OCS Print Server running on a RISC/6000 and provides:
• a functional overview of the OCS Print Server
• detailed instructions on how to install the OCS Print Server
• detailed instructions on how to customize the OCS Print Server
• detailed instructions on how to define OCS Print Server sessions in CICS and
VTAM on VSE/ESA
The print output is automatically converted from EBCDIC to ASCII and routed to
any local or remote printer defined on the AIX system.
OCS Print Server may be installed on any AIX system and may communicate
with any OCS II Gateway via TCP/IP.
The OCS Print Server can be attached to CICS by using one of the following SNA
protocols:
• LU1 (also known as SCS operation)
• LU3 (DSC operation)
This script will install the Print Server product on this workstation.
You will be able to install the product files in directories of your
choice. The product files will first be extracted from the distribution
media and stored in a temporary directory.
Press the Enter key. You will then be asked for the installation device.
Enter a character device name from which to read the installation media.
enter /dev/ rdevname where rdevname is the I/O device you used on the tar
command above.
During installation, you will have the opportunity to change the default
directory paths.
Either enter the corresponding number if you want to change the defaults or
press ENTER to accept the defaults. If you decided to change the defaults, follow
the instructions on the screen. After having either accepted the default or
changed the installation paths, you will get the following messages:
You have chosen the following directories for installation of the Print Server:
Installation complete.
./ocs_elmadmin -c -n -e path
where path is the path you installed OCS Print Server to (default is /usr/oc/eps ).
You will be given a code that is used to obtain the product key from OCS. Enter
the license key provided by OCS. A file named 01 will be created with the
information needed by the License Manager.
Note
OCS Print Server supports both OCS and TN3278 protocol.
In our installation we only used the OCS protocol, and therefore only
describe the configuration required by this protocol.
For a description of how to set up OCS Print Server for the TN3278 protocol,
refer to OCS Print Server for UNIX - User′s Guide.
In our installation we only used the OCS protocol, and therefore only
describe the configuration required by this protocol.
For a description of how to set up OCS Print Server for the TN3278 protocol,
refer to OCS Print Server for UNIX - User′s Guide.
LU_ENTRY_START:
LUNAME = IPFT2S9M
PRTCMD = †lpr -Pibm4029l†
LU_ENTRY_END:
/usr/oc/eps/ocs_elmd -e /usr/oc/eps
/usr/oc/eps/eps&
sleep 10
/usr/oc/eps/eps_status
In our case, OCSSCS can be used for LU1, OCSDSC for LU3 operation.
Figure 151 lists the LU definitions used by OCS Print Server. We defined LU
IPFT2S9M for our test environment.
IPFT2S9M LU LOCADDR=13,DLOGMOD=OCSDSC
The DLOGMOD parameter has to match the definitions made in OCS II Gateway
described in 14.3.2, “Customization of the OCS II Gateway for OCS Print Server”
on page 200.
• If the LU in OCS II Gateway is defined as 3278 LU1 (code 9), the VTAM
DLOGMOD must be an LU1 logmode, in our case OCSSCS.
• If the LU in OCS II Gateway is defined as 3278 LU3 (code 10), the VTAM
DLOGMOD must be an LU3 logmode, in our case OCSDSC.
The logmodes OCSSCS and OCSDSC can be found in Figure 150.
We filed these resources under the group VSEGROUP. After the resources are
defined, we used CEDA Install Group(VSEGROUP) to activate the definitions.
Partial screen images of the CEDA sessions are reproduced to show the
definitions we added or changed.
CEDA DEFine
TErminal : 2S9M
Group : VSEGROUP
AUTINSTModel ==> No No | Yes | Only
AUTINSTName ==>
TERMINAL IDENTIFIERS
TYpeterm ==> PSLU3
NEtname ==> IPFT2S9M
Console ==> No No | 0-99
REMOTESystem ==>
REMOTEName ==>
Modename ==>
ASSOCIATED PRINTERS
PRINTER ==>
PRINTERCopy ==> No No | Yes
ALTPRINTEr ==>
ALTPRINTCopy ==> No No | Yes
SPOOLTo ==>
PIPELINE PROPERTIES
POol ==>
TAsklimit ==> No No | 1-32767
OPERATOR DEFAULTS
OPERId ==>
OPERPriority ==> 000 0-255
OPERRsl ==> 1 0-24,...
OPERSecurity ==> 1 1-64,...
Userid ==>
NAtlang ==>
TERMINAL USAGES
TRansaction ==>
TErmpriority ==> 000 0-255
Inservice ==> Yes Yes | No
PRINTER DATA
SPOOLDest ==> IPFT2S9M
SPOOLPRTRsl ==> Public 0-24 | Public
SPOOLPRTTo ==> 01 0-59
PRINTEDmsg ==> No No | Yes
PRINTImmed ==> Yes No | Yes
SESSION SECURITY
SEcurityname ==>
ATtachsec ==> Local Local | Identify | Verify
Bindpassword ==> PASSWORD NOT SPECIFIED
This chapter:
• provides instructions on how to start and operate the OCS Print Server
• shows examples how to print a file on OCS Print Server
Figure 152 shows how the print server is started from an AIX command line
prompt.
IPFT2S9M
Status = Up (PRINTER_AVAILABLE)
Gateway = aix320
Luname = IPFT2S9M
Stats = No jobs have been started on this session.
root@aix320: /usr/oc/scr >
The following commands are used to operate the OCS Print Server:
1. eps_status to check the status of the print server
2. eps_stop to stop one or more print session(s) or the whole print server
3. eps_start to start one or more print session(s) stopped using eps_stop.
All three commands have the following common parameters:
• -h | -H to specify the hostname or ipaddress where the OCS Print Server is
running (default is the local host)
• -p | -P to specify the command port for the print server (default is 3050)
• -s | -S to specify the print session to which this command relates. For
specifiying multiple sessions, a trailing wildcard character ′ *′ may be used
(default is all sessions)
To get a detailed status, use the -f parameter. Figure 153 shows the status
returned when using this parameter.
root@aix320: / >/usr/oc/eps/eps_status -f
IPFT2S9M
Status = Up (PRINTER_AVAILABLE)
Gateway = aix320
Luname = IPFT2S9M
Stats = No jobs have been started on this session.
Protocol = OCS Port = 2000
Linelen = 132 Buffer size = 3168 Line limit = 0
Formfeed = NO Index = YES
Ex-SCS = NO SubXCS = YES CharXCS = -
PRTCMD = lpr -Pibm4029l
Printcap = /usr/oc/eps/printcap
Pcapent = NONE
Prefix = NONE
Postfix = NONE
Shell = /bin/sh
root@aix320: / >
The eps_stop command stops the session(s) specified with the -s parameter.
If the last active session is stopped, or if this parameter is omitted, the print
server process eps will automatically stop.
Note
If you accidentally stopped the print server process by stopping the last
active print session, you may restart it by starting the eps program in
background:
/usr/oc/eps/eps&
Print sessions that are currently printing will finish before they are stopped.
The eps_start command is used to start sessions, that were stopped with
eps_stop.
Note
Since we only defined one print session, we were not able to test the
eps_start command, since the print server is always terminated if the last
active print session is stopped.
If you stopped the print server process and want to terminate the license
manager, you have to kill the licence manager process. Figure 154 on page 207
shows a sample scenario:
root@aix320: / >
The printer is either started in CICS Report Controller (transaction CEMS) using
printer selection or by using the VSE/POWER command PSTART DEV.
Figure 155 shows a sample response.
pstart dev,2s9m,syscicsa,a
AR 0015 1C39I COMMAND PASSED TO VSE/POWER
F1 0001 1QY3I DEVICE 2S9M STARTED, DDS=SYSCICSA, TIME=16:32:43
F1 0001 1QY2I DEVICE 2S9M WAITING FOR WORK, DDS=SYSCICSA
F2 0002 DFH5491 TASK 00610 , TERMINAL 2S9M - THIS TERMINAL, SERVING
DESTINATION IPFT2S9M HAS BEEN STARTED. 16:32:43 07/25/96
After the device has been started, you can print files using CICS Report
Controller or by specifying DEST=(*, dest ) on the VSE/POWER * $$ LST cards.
dest stands for the destination that is served by this printer, as indicated by
message DFH5491 in Figure 155.
When a print request is processed by OCS Print Server, you will get messages
on the AIX user ID that started the print server process on AIX. Figure 156
shows some of these messages.
To stop the printer on VSE, either stop it in CICS Report Controller or use the
VSE/POWER PSTOP DEV command.
This chapter:
• provides instructions on how to install and customize the OCC hardware.
Please see 2.2, “OpenConnection for Channel (OCC)” on page 8, for a short
overview of the OCC.
The OCC product is being installed on a RISC/6000 workstation running the OCS
II Gateway with the following software components:
• OCS II Gateway Operating Software
• OCC Administration Software
By choosing selection ″1″ the OCC product code is loaded into the following
directories:
For detailed information on the OCC Hardware Installation, please refer to:
OpenConnection for Channel Installation, Administration, and Operations Guide ,
350-0466-101.01
from the usr/oc/occ directory. Figure 159 shows the Main Menu.
root@aix320:/oc/occ >scacl
.start OCC Admin Client session
ScaCmd:
ScaCmd:configurator/usr/occ/sca.ini
********************************************
* SCA Interactiv Configurator started. *
* Enter ¢q¢ at any time to exit. *
********************************************
ID Resource
1 SCA Server
2 SCA Startup
3 SCA Device Name
4 SCA Global
5 SCA LDH3274
6 SCA LDHGTO
7 SCA Channel
q Quit SCA Interactive Configurator
You can select any one of the submenu options or you can press the Enter key
to begin step-by-step prompting. If you need more detailed information on the
OCC configurator, please refer to Appendix G of the OpenConnection for Channel
Installation, Administration, and Operations Guide , 350-0466-101-01.
We selected:
• SCA Server
• SCA Startup
• SCA Device name
• SCA Channel
Our configuration output, the sca.ini file is shown in Figure 160 on page 215.
In order to define the channel attached OCC to the operating system (VSE/ESA),
it may be necessary to do an IOCP generation.
• Channel Path ID (CHPID) Definitions
− TYPE=BL for Block Multiplexer
− TYPE=BY for Byte Multiplexer
• Control Unit (CNTLUNIT) Definitions
− CUNUMBER=280 for Control Unit Address 280
− PROTOCOL=D for Direct Coupled (DC) Interlocked
− PROTOCOL=S for Low Speed Datastreaming (up to 3.0 MB/s)
− PROTOCOL=S4 for High Speed Datastreaming (up to 4.5 MB/s)
CNTLUNIT CUNUMBR=2240,PATH=(22),UNIT=3705,UNITADD=((00,32)),SHARED=N, C
PROTOCL=D
.
IODEVICE ADDRESS=(2200,32),CUNUMBR=(2240),UNIT=3705,MODEL=E8
For the VSE/ESA and VSE VTAM definitions, please refer to 5.3, “VSE/ESA with
OSCII Gateway Attached via the OCC” on page 56.
This chapter:
• provides instructions on how to start and operate the OCC hardware.
Please see 2.2, “OpenConnection for Channel (OCC)” on page 8, for a short
overview of the OCC.
/usr/oc/bin/scaad&
sleep 30
/usr/oc/bin/ocsna -i occ1&
Figure 163 on page 218 shows how the processes are started using the startsca
script.
OB:Started PID=9058
To stop scaad processing and end all sessions established you just need to ″kill″
the scaad process. After logging in as an authorized user, you may want to
display the process id of scaad and use the command ′kill -9 ProcessID′ to stop
all three processes. The shutdown process is shown in Figure 164 below.
This chapter:
• provides instructions on how to start and operate the OC/FTP Server at the
VSE host side.
• explains how to initiate and execute file transfers from TCP/IP nodes to/from
the VSE host.
• gives examples of file transfer operations that were tested in our
environment.
18.1 Operation
This section describes how the OC/FTP Server is started and provides an
overview of the commands.
where fx is the partition name and cmd is one of the commands described in
Table 9.
Command Explanation
? or help display help information on operation command.
status display information about OC/FTP Server such as ACB name, trace
status, logins.
quiesce before shutting down the OC/FTP Server, operator lets current
users complete their file transfer operation and disables further
logins.
trace,yes start tracing the OC/FTP Server global packets
trace,no stop tracing the OC/FTP Server global packets
netstat display the current users and connections status.
stop immediate shutdown of the OC/FTP Server forcing the current
users.
Table 9. OC/FTP Server Host Side Commands
Figure 166 below shows a sample console log after using the ′status′ operator
command. On the status display, the VTAM ACB name can be identified to which
the OC/FTP Server is connected, whether trace was started or not, as well as the
TCP/IP port number we assigned to OC/FTP Server.
OC/FTP Server lets users transfer files to three different subsystems within
VSE/ESA:
• VSAM (ESDS, KSDS and SAM)
This is controlled via the SITE command described below. For samples refer to
section 18.2, “Operation Samples” on page 226.
where P1 P2 ....Pn are the parameter names followed by their values. For a
short description of the SITE parameters, refer to Table 10 on page 222. For a
detailed description of the SITE parameters, refer to Appendix I of the
OpenConnect/FTP Client and FTP Server, VSE Installation and User ′ s Guide
350-0382-101.05. To enable the subsystem environment via the SITE command
enter:
The access parameter is specified in a particular way. You only need to enter
′SITE′ followed by one of the following access modes (without specifying the
access parameter):
Note
The access mode ′user′ is for the User I/O exit routine. Please refer to 6.2.6,
“User Exits” on page 79 for more information.
The access mode ′vsesam′ is for VSE non VSAM sequential operation.
library.sublibrary.membername.membertype
and a VSAM file with its ′fileid′ (the same format of the DLBL statement):
Table 11 on page 225 contains the correct syntax and the results of these
commands.
where xxxxxx is the VSE/POWER command (for example, d rdr ). For a complete
list and more details of VSE/POWER commands please refer to VSE/POWER
Administration and Operation, SC33-6571 .
where:
• filename is the name of the FTP Client local file
• jobname is the name of the VSE/POWER job
Note
The parameters in parenthesis are optional, but if you omit one of them a
period (″.″) must be entered. If you omit the class parameter, the default
value from the SITE command is used.
IBM TCP/IP for OS/2 - FTP Client ver 07:13:23 on Jun 12 1995
ftp> open aix320
Connected to aix320.itsc.ibm.com.
220 VSE/ESA FTP Server ( V2.R2.M4.T1(206) by OpenConnect Systems ) ready
Name (aix320): pram
331 Password required.
Password: ....
230 User logged in.
ftp>
• aix320 is the symbolic name assigned to the address of the OCS II Gateway.
The name was resolved through the OS/2 2.3 Domain Name Server and a
session is established with AIX. Refer to 7.2.4.11, “RESOLVER Member” on
page 101 for resolving host names through a Domain Name Server.
• user and password must match one of the values specified in VSE library
member PASSWD.TCPIP (see Figure 44 on page 72).
Since we are using the TCP/IP standard FTP listen port (21) for OC/FTP
Server, we don′t need to specify a different port number on the FTP Open
command (refer to 12.6, “Set up Alternative Ports for AIX TELNET and FTP
Servers” on page 186).
′quote site verify′ is required to enable the subsystem environment set by the
previous ′quote site′ command.
Note
It is recommended that you enter the quote site command without any
parameter in order to see the result of your changes before issuing the quote
site verify command.
ftp>
ftp> quote site vsam vsamrecl80
ftp> cd ¢test¢
200 CWD command okay.
ftp> pwd
251 †TEST† is current directory.
ftp> cd ftp
200 CWD command okay.
ftp> pwd
251 †TEST.FTP† is current directory.
ftp> dir
200 PORT command okay.
150 Opening data connection.
CLUSTER ------- TEST.FTP.CLIENT
CLUSTER ------- TEST.FTP.SERVER
226 Transfer complete.
66 bytes received in 14.02 seconds
ftp> cd ¢¢
200 CWD command okay.
ftp> pwd
551 No valid working directory has been established.
Figure 173 on page 232 shows an example of an AIX shell script (′vsesub′)
which we used to submit a VSE job file (′listlib′) to VSE/ESA. The shell script
accepts one parameter (the jobname) as input and transfers that job to the
POWER reader queue using the FTP ′put′ command. Figure 174 on page 232
shows the VSE/ESA console log after the job was sent from AIX user ′PRAM′.
Note
To avoid the FTP login procedure, we coded a TCP/IP ′.netrc′ file which
contains the login user ID and password for the FTP session.
The ′.netrc′ file also includes an FTP macro definition called ′sendjob′. This
macro can be executed by preceding it with the ′$′ sign, that is
If the macro should be executed automatically after FTP login its name must
be changed to init.
For more information on FTP macros refer to the TCP/IP related chapter in
AIX Version 3.2 System User ′ s Guide: Communications and Networks,
GC23-2523 .
macdef sendjob
put $1 $$RDR
macdef listjob
quote power d rdr,free
*
/u/pram >ls -al listlib
-rw-r--r-- 1 pram staff 113 Jul 17 07:57 listlib
* $$ job jnm=liblib,class=a
// job listlib - listing library
// exec libr,parm=¢mshp¢
ld l=tcpocs
/*
/&
* $$ eoj
/u/pram >
Figure 174. VSE/ESA Console Log after Submitting a Job from AIX
Figure 175 shows a shell script (′vsepr′) which we used to send a file to VSE′ s
POWER list queue for printing. The shell script accepts two parameters, the
name of the file to be printed and the print class on VSE/ESA POWER. The shell
script transfers the file into the POWER list queue using again the FTP ′put′
command. The owner of the resulting POWER list queue entry is the user who
initiated the FTP file transfer for the print file (′PRAM′ in our example, see
Figure 176).
Figure 176 shows the VSE/ESA console log after the print file was sent from AIX
user ′PRAM′.
#!/bin/ksh
ftp aix320 21 << eof # accept inline command up to eof
verbose on # toggle on the display mode
put $1 \$\$LST.$1.$2 # send the listing to VSE
bye # quit the ftp session
eof
echo sent listing $1 to the VSE System for printing !
/u/pram >
d lst,*ocstst
AR 0015 1C39I COMMAND PASSED TO VSE/POWER
F1 0001 1R46I LIST QUEUE NOTHING TO DISPLAY
Z1 0089 ftp> ACF verification for PRAM passed
d lst,*ocstst
AR 0015 1C39I COMMAND PASSED TO VSE/POWER
F1 0001 1R46I LIST QUEUE P D C S PAGES CC FORM
F1 0001 1R46I OCSTST1 04460 3 D P 1 1 FROM=(PRAM)
Figure 176. VSE/ESA Console Log after Sending a Print List from AIX
Figure 177 on page 235 shows two shell scripts, ′pwrlst′ to display the POWER
list queue entries and ′vsegetpr′ to transfer print files from the POWER list queue
to TCP/IP nodes for local printing.
While ′pwrlst′ requires only one parameter (the name or part of the name for the
list queue entry), ′vsegetpr′ needs three parameters (jobname, class and
jobnumber). The shell script could also have asked for only two parameters,
jobname and class, then FTP would always retrieve the oldest version of the
entry. The class parameter is always required.
#!/bin/ksh
ftp aix320 21 << eof # accept inline input up to end of file string
verbose on # toggle on the display mode
quote power d lst,*$1 # display POWER LST Queue entries
bye # quit the ftp session
eof
#!/bin/ksh
ftp aix320 21 << eof # accept inline input up to end of file string
verbose on # toggle on the display mode
get \$\$LST.$1.$2.$3 $1 # get the file from list queue of VSE POWER
bye # quit the ftp session
eof
lpr $1 # print the file out to AIX local printer
echo Job $1 retrieved from the VSE System for printing !
/u/pram >pwrlst oc
/u/pram >lpstat
Queue Dev Status Job Files User PP % Blks Cp Rnte
------- ----- --------- --- ------------- -------- ---- -- ----- --- -----
lp0 lp0 RUNNING 3 ocstst1 pram 0 100 2 1 1
bsh bshde READY
/u/pram >
Figure 178 shows the transfer from VSE Librarian members to the AIX client and
back into the VSE library.
Figure 178 (Part 1 of 2). Transfering Files to/from VSE/ESA from an AIX FTP Client
Figure 178 (Part 2 of 2). Transfering Files to/from VSE/ESA from an AIX FTP Client
There are two ways to initiate file transfer operations from the VSE host:
1. Using a batch job
This requires that all FTP commands have to be imbedded, in logical
sequence, in the job. As shown in Figure 50 on page 85 the OC/FTP Client
program then manages, together with VTAM, all communications to the OCS
II Gateway.
2. Interactively using CICS transaction ′ftp′
This requires that the OC/FTP Client program has been started and is
running in a dynamic partition. CICS ISC is used to pass all interactive FTP
commands to the OC/FTP Client program (see Figure 192 on page 262).
For a full description of the OC/FTP Client commands, please refer to Appendix
H of the OpenConnect/FTP Client and FTP Server, VSE Installation and User ′ s
Guide , 350-0382-101.05.
TCP/IP for PC/DOS Windows (node TCPCL3, see Figure 13 on page 34) has a
FTP Daemon (Server) running as a background task.
Note that this example also shows the use of our Domain Name Server
(TCPCL1). Figure 179 on page 246 shows the batch job we used to get a file
from PC/DOS into the VSE library and Figure 180 on page 246 shows the output
produced by the job.
Figure 179. VSE/ESA FTP Client Batch Job Example: Get a File from Windows
Figure 180 (Part 1 of 3). FTP Client Batch Job Example Output: Get a File from Windows
Password:
331 Password required for pram.
230 User pram logged in.
ftp> ID=pram IP=192.61.100.199 LU=IPFT2S9B
ftp> PWD
257 †C:\† is current directory.
ftp> PVSEDIR
ftp> LIBR path is: TCPOCS.USER VSE.TCPOCS.LIBRARY
ftp> LS
Figure 180 (Part 2 of 3). FTP Client Batch Job Example Output: Get a File from Windows
ftp> LDIR
TEST A 96-05-04 15:12.14 0000003
TCPAPPL B 95-07-06 09:52.20 0000089
TESTMEM B 95-07-06 09:19.22 0000089
.
.
.
OCSTESTV Z 96-05-04 15:00.50 0000004
directory request successful
ftp> BYE
Figure 180 (Part 3 of 3). FTP Client Batch Job Example Output: Get a File from Windows
Note
When this example was created, the OC/FTP Server was using port number
2071 and the AIX FTP Server the TCP/IP standard FTP port 21. Therefore,
when no port number is specified in the FTP Open subcommand, the target
FTP server will be the one of the AIX system. Also, no resolver file has been
created for AIX to use the Domain Name system.
Figure 181 on page 249 shows the job we used to define a VSAM KSDS file.
Figure 182 on page 250 shows the job to load and print the file. Finally,
Figure 183 on page 251 shows the job and Figure 184 on page 252 its output for
the VSE/ESA FTP Client file transfer operation.
Notice that the first five bytes will be the key of each record.
If current working directory (CWD) is not set, it′s going to use the VSAMCAT
parm in the default list.
Password:
331 Password required for pram.
230 User pram logged in.
ftp> ID=pram IP=192.61.100.81 LU=IPFT2S9B
Figure 184. VSE/ESA FTP Client Batch Example: Send a VSAM KSDS File to AIX
The VSAM KSDS file is stored in AIX as a byte stream with a byte containing
hexadecimal ′0 a′ after each record. There are 25 records of 80 byte characters
(including blanks = 2000 bytes), and the FTP file transfer shows that 2050 bytes
were sent. An AIX file list shows only 2025 bytes. This is due to the fact that most
hosts use two control characters for the end of record indication; AIX, however
only uses one (′0 a′).
Also keep in mind that VSE files are record oriented, that means, these control
characters don′t have to be imbedded in your file.
PC and AIX files, on the other hand, are byte oriented and require subject
control characters.
Note
When this example was created, our OC/FTP Server used port number 2071
and the AIX FTP Server used TCP/IP standard FTP port 21. Therefore, when
no port number is specified in the FTP Open subcommand, the AIX FTP
server is addressed. Also, the resolver file was not created in AIX to use the
Domain Name system.
Figure 185 on page 254 shows the job to define and initialize a VSAM SAM file.
Figure 186 on page 254 and Figure 187 on page 255 show the job and output to
load and print the file. Figure 188 on page 256 and Figure 189 on page 257
show the job and output to send the VSAM SAM file to AIX.
The file′s record length is 80 bytes and the record format is FIXBLK.
* $$ JOB JNM=LOADSAM,CLASS=A,DISP=D,NTFY=YES
// JOB LOADSAM - LOAD DATA FROM SYSIPT INTO VSAMSAM FILE
// DLBL LOADFL,¢OCS.TEST.VSAMSAM¢,,VSAM,CAT=TCPCAT
// EXEC IDCAMS,SIZE=AUTO
REPRO INFILE(SYSIPT) -
OUTFILE(LOADFL)
PRAMOT HEMSTAPAT
KLAUS DIETER WACKER
KLAUS MARUSCHKA
WERNER STIEBER
/*
// EXEC IDCAMS,SIZE=AUTO
PRINT INFILE (loadFL) -
CHARACTER
/*
/&
* $$ EOJ
REPRO INFILE(SYSIPT) -
OUTFILE(LOADFL)
IDC0005I NUMBER OF RECORDS PROCESSED WAS 4
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0
Figure 188. Send a VSAM S A M File from a VSE/ESA FTP Client to AIX
When sending the VSAM SAM file, we had to change the default mode to
′VSAMSAM′, and recfm and lrecl had to be specified. For VSAM outbound
transfers we enabled the Remove Trailing Blanks (RTB) option to eliminate
trailing blanks in each record.
220 aix320 FTP server (Version 4.9 Thu Sep 02 20:35:07 CDT 1993) ready.
Name:
ftp> pram
Password:
331 Password required for pram.
230 User pram logged in.
ftp> ID=pram IP=192.61.100.81 LU=IPFT2S9B
ftp> LDIR
AAAAAAAA.BBBBBB
AIXDATA.KSDS
AIXDATA.VSAMSAM
.
.
VTMBK.B1
VTMBK.B2
¢TCPCAT¢ directory request successful
Figure 189 (Part 1 of 2). Output of FTP Client Send VSAM S A M File to AIX Operation
ftp> STATUS
Connected to AIX320
Vse execution - Partition(BG) - Task(21)
Type: ASCII ; Structure: FILE ; Verbose: ON
Prompting: ON ; Debugging: OFF; Tracing: OFF
Current VSE working directory: TCPCAT
Current Domain name server default name suffix:
ftp> DIR
Figure 189 (Part 2 of 2). Output of FTP Client Send VSAM S A M File to AIX Operation
The FTP file transfer shows that 72 bytes were transferred and appear as 68
bytes in AIX due to the control character elimination (that is, one byte less for
each of the four records). Also, since RTB (Remove Trailing Blanks) was set to
′ON′ all trailing blanks were eliminated in each record.
The example also shows how host names are resolved using our OS/2 2.1
Domain Name Server TCPCL1.
* $$ JOB JNM=FTPCBAT,CLASS=0,DISP=D
// JOB FTPCBAT
// OPTION NOLOG,NOSYSDUMP,JCANCEL
// DLBL OCS,¢VSE.TCPOCS.LIBRARY¢,,VSAM,CAT=IJSYSCT
// LIBDEF *,SEARCH=(TCPOCS.FTPC)
// EXEC FTPC,SIZE=(FTPC,256K)
OPEN TCPCL1
pram
jack
VSECD
DEFAULTS MODE LIBR LIB TCPOCS
VSECD .USR1
PWD
MKDIR C:\TCPIP\FTPC
RMDIR C:\TCPIP\FTPC
MKVSEDIR TCPOCS.FTPB
RMVSEDIR TCPOCS.FTPB
STATUS
LDIR
BYE
/*
/&
* $$ EOJ
Figure 190. VSE/ESA OC/FTP Client Batch Job for OS/2 2.1 Directory Operations
220 tcpcl1 IBM TCP/IP for OS/2 - FTP Server ver 12:58:07 on Mar 16 1994
Name:
ftp> pram
Password:
331 Password required for pram.
230 User pram logged in.
ftp> ID=pram IP=192.61.100.83 LU=IPFT2S9B
ftp> VSECD
You now have no host LIBR working directory
ftp> PWD
257 †C:\† is current directory.
Figure 191 (Part 1 of 2). Output from OC/FTP Client Batch Job for OS/2 2.1 Directory
Operations
ftp> STATUS
Connected to TCPCL1.ITSC.IBM.COM
Vse execution - Partition(BG) - Task(21)
Type: ASCII ; Structure: FILE ; Verbose: ON
Prompting: ON ; Debugging: OFF; Tracing: OFF
Current VSE working directory: TCPOCS.USR1
Current Domain name server default name suffix: ITSC.IBM.COM
ftp> LDIR
TEST001 B 96-07-21 11:23.46 0001133
TEST L 96-07-07 09:38.03 96-07-11 13:55.30 0000012
TEST1 L 96-07-07 09:45.24 96-07-11 13:55.50 0001133
TEST LB 96-07-21 11:23.50 0000100
TEST LL 96-07-21 11:23.29 0000100
TEST PC 96-07-11 13:55.56 0000012
CONFIG TCP 96-07-04 14:35.55 0000094
PPPPP TCPIP 96-07-11 13:54.27 96-07-12 08:26.59 0001133
PPPPPP TCPIP 96-07-12 08:27.37 0001133
PPPPP22 TCPIP 96-07-12 08:28.35 0001133
P2 TCPIP 96-07-12 08:26.03 96-07-10 12:56.33 0001133
CONF928 TEXT 96-07-28 10:59.35 0000068
directory request successful
ftp> BYE
Figure 191 (Part 2 of 2). Output from OC/FTP Client Batch Job for OS/2 2.1 Directory
Operations
The commands shown in Table 13 can be passed to OC/FTP Client from the VSE
console, using the ′msg′ operator command:
where fx is the partition name and cmd is one of the commands shown in
Table 13.
Command Explanation
status displays information about OC/FTP Client such as user names,
subtask
quiesce before shutting down the OC/FTP Client the operator lets current
users complete their file transfer operation and disables further
logins.
stop shuts down immediately the OC/FTP Client, thereby forcing off all
current users.
Table 13. OC/FTP Client Job Commands
The following two examples show multiple file transfer operations to/from an AIX
node.
When this example was created, our OC/FTP Server used port number 2071
and the AIX FTP Server used TCP/IP standard FTP port 21. Therefore, when
no port number is specified in the FTP Open subcommand, the AIX FTP
server is addressed. Also, the resolver file was not created in AIX to use the
Domain Name system.
ftp>
ftp> default slib usr6 mbrt z dsn ftp
220 aix320 FTP server (Version 4.9 Thu Sep 02 20:35:07 CDT 1993) ready.
Name:
ftp> pram
ftp> pram
ftp> pwd
ftp> pvsedir
ftp> ls
ftp> y
ftp> mget a*
Mget: aixdata invalid name, new name AIXDATA.Z
retrieve(y/n/r/q)?
ftp> r
ftp> aix.data
ftp> mget t*
ftp> n
ftp> y
200 PORT command successful.
150 Opening data connection for test.a (24 bytes).
226 Transfer complete.
27 BYTES received in 0 SECONDS (0.00 KBYTES/S)
Mget: test2 invalid name, new name TEST2.Z
retrieve(y/n/r/q)?
ftp> q
First we set our default mode to ′VSAM′ and the default data set name (dsn) to
be ′ *′. The MPUT command uses dsn for searching files. For example, if dsn is
″ABC″, it searches for filenames starting with ″ABC″. In our case, all files are
transferred using the ′MPUT *′ command.
In contrast to the FTP client batch operation where all FTP transfer messages
appear in the corresponding job output list, the messages now are displayed on
the VSE console. On the FTP console log shown below (Figure 197 on page 268)
you can verify, looking at BC (Byte Count) and RC (Record Count), that all data
has been transferred.
ftp> mput *
First we set the default mode to ′VSAMKSD′ and deleted our original file
″OCS.TEST.KSDS″. Then we transferred the file from AIX using FTP ′get′. The
result is a new file ″OCS.TEST.KSDS″ with a keylength of 10 since the implicit
define used the keylength of the default parameter. For transferring data to/from
VSAM KSDSs, the keylength and keyposition have to be considered and
specified.
Next we demonstrate the use of the RDK (Remove Duplicate Keys) option. In
order for this parameter to work, you also need to set the Opndsp (Open
Disposition) of the file to ′OLD′.
Figure 198 on page 269 shows the online example to transfer an AIX data file
into a VSAM KSDS and Figure 199 on page 270 shows the VSE II (Interactive
Interface) screen containing the VSAM data set information we received.
Note
When this example was created, our OC/FTP Server used port number 2071
and the AIX FTP Server used TCP/IP standard FTP port 21. Therefore, when
no port number is specified in the FTP Open subcommand, the AIX FTP
server is addressed. Also, the resolver file was not created in AIX to use the
Domain Name system.
ftp> ocs.test.ksds
¢OCS.TEST.KSDS¢ removal successful
KEY LENGTH: 10
KEY POSITION: 0 Position 0 starts at the beginning
NUMBER OF CI SPLITS: 0 0
NUMBER OF CA SPLITS: 0 0
NUMBER OF PHYSICAL I/Os: 4 4
Figure 200 shows the online example of subject file transfer and Figure 201 on
page 272 lists the information from the corresponding VSE II.
Note
When this example was created, our OC/FTP Server used port number 2071
and the AIX FTP Server used TCP/IP standard FTP port 21. Therefore, when
no port number is specified in the FTP Open subcommand, the AIX FTP
server is addressed. Also, the resolver file was not created in AIX to use the
Domain Name system.
ftp> status
Connected to AIX320
ftp> bye
221 Goodbye.
NUMBER OF CI SPLITS: 0
NUMBER OF CA SPLITS: 0
NUMBER OF PHYSICAL I/Os: 0
This chapter:
• provides instructions on how to start and operate the OC/Line Printer
Daemon at the VSE host side.
• explains how to check the status of OC/Line Printer Daemon print queues
from TCP/IP nodes.
• explains how to print files from TCP/IP nodes on the VSE host.
• gives examples of Line Printer operations that we tested in our environment.
20.1 Operation
This section describes how the OC/Line Printer Daemon is started and provides
an overview of the commands available at both, the client and server side.
To stop the OC/Line Printer Daemon, cancel the partition in which it is running
using the following command at the VSE console:
cancel fx,nodump
Figure 203 below shows a sample console log after cancelling the partition.
cancel y3,nodump
AR 0015 1I40I READY
Y3 0048 0S01I THE OPERATOR CANCELED THE JOB
Y3 0048 0S00I JOB LPD CANCELED
Y3 0048 0S07I PROBLEM PROGRAM PSW = 07DD0000 00434A9C
F3 0003 IST804I CLOSE IN PROGRESS FOR OCSSMP01 OPENED BY LPD
F3 0003 IST400I TERMINATION IN PROGRESS FOR APPLID OCSSMP01
F3 0003 IST805I VTAM CLOSE COMPLETE FOR OCSSMP01
lpstat returns the status of all printer queues defined to AIX. The sample output
contains the local queues lp0 and bsh and the OC/Line Printer Daemon queues
vseprtm, lpdfile, sysout, and vseprt as described in 8.2.2.1, “LPDCONF Member”
on page 112.
For these remote queues the lpstat output shows two entries:
• vseprtm shows the status of the local AIX queue.
Note
If the status of this local queue is DOWN, the status of the remote queue
will not be displayed and no print requests will be forwarded to OC/Line
Printer Daemon.
To correct this, the local queue must be started. This can be done by
using the following SMIT command sequence:
• Spooler (Print Jobs)
• Manage Local Printer Subsystem
• Local Printer Queues
• Start a Queue
Another command to check the status of a particular queue is the standard line
printer command lpq. For details about the parameters of this command refer to
the appropriate documentation of your Line Printing Client. Figure 205 shows a
sample response to the OS/2 LPQ command :
Printing C:\CONFIG.SYS:
Trying LPD print server aix320.itsc.ibm.com(192.61.100.81), device vseprt.
Sent 5501 bytes.
The entire document was sent.
If this occurs, you have to cancel the partition and resubmit the OC/Line
Printer Daemon startup job.
!†#$%&¢()*+,-./ 20
0123456789:;<=>? 30
@ABCDEFGHIJKLMNO 40
PQRSTUVWXYZ[|]^_ 50
abcdefghijklmno 60
pqrstuvwxyz{|}˜ 70
Figure 207. Test File with Standard ASCII Characters 32-126 (X ′20 -X ′7 E).
This file is sent to OC/Line Printer Daemon using the following OS/2 command:
Note
We always got the following error message on the VSE/ESA console, when
using the OS/2 lpr command:
.
Y1 0045 LPD:00 & Command record ignored.
This message can be ignored .
After completion of the lpr command the following POWER LST queue entry can
be found:
d lst,lpd*
AR 0015 1C39I COMMAND PASSED TO VSE/POWER
F1 0001 1R46I LIST QUEUE P D C S PAGES CC FORM
F1 0001 1R46I LPD 04562 3 D A 1 1 STD TO=(DIRK) FROM=(DIRK)
The name of this entry will always be the same as the VSE/POWER job name of
the OC/Line Printer Daemon startup job. This entry will display a screen similar
to the following in VSE Interactive Interface:
!†#$%&¢()*+,-./ 20
0123456789:;<=>? 30
@ABCDEFGHIJKLMNO 40
PQRSTUVWXYZ•\“ _ 50
abcdefghijklmno 60
pqrstuvwxyz{|} 70
Note
The following characters are not standard EBCDIC characters and may
therefore not be displayed and printed correctly:
• [ left bracket
• ] right bracket
• ∼ tilde
• ^ caret
• right prime
Since SENDMAIL is not started on our OS/2 system, we will not get an E-mail
notification for completion of our line printer request.
After completion of the lpr command the VSAM SAM ESDS ′LPDFILE′ will appear
as the following:
!†#$%&¢()*+,-./ 20
0123456789:;<=>? 30
@ABCDEFGHIJKLMNO 40
PQRSTUVWXYZ•\“ _ 50
abcdefghijklmno 60
pqrstuvwxyz{|} 70
Since the mailer daemon is started on AIX, we will get the following E-mail
notification.
The OC/RSH Client is invoked in the VSE environment via a CICS transaction or
a VSE batch job.
Before executing commands on remote TCP/IP nodes with the OC/RSH Client
you need to make sure that:
• There is an active RSH server on the remote node
• You are authorized for remote command execution on the remote node
There are two ways to initiate remote command execution from the VSE host:
1. Interactively using CICS transaction ′rsh′
This requires that the OC/RSH Client program has been started and is
running in a dynamic partition. CICS ISC is used to pass all interactive RSH
commands to the OC/RSH Client program (see Figure 9 on page 25).
2. Using a batch job
This requires that all RSH commands have to be imbedded in the job. As
shown in Figure 79 on page 126 the OC/RSH Client program then manages,
together with VTAM, all communications to the OCS II Gateway.
The commands shown in Table 14 can be passed to the OC/RSH Client from the
VSE console, using the ′msg′ operator command:
where fx is the partition name and cmd is one of the commands shown in
Table 13 on page 262. The commands are the same as for the OC/FTP Client
program.
Command Explanation
status displays information about OC/RSH Client such as user names,
subtask.
quiesce before shutting down the OC/RSH Client the operator lets current
users complete their command execution.
stop shuts down immediately the OC/RSH Client, thereby forcing off all
current users.
Table 14. OC/RSH Client Job Commands
Figure 211 on page 283 and Figure 212 on page 283 demonstrate the usage of
the OC/RSH Client.
/u/wacker
total 40
-rwxr----- 1 wacker staff 254 Sep 30 17:35 .profile
-rw-r--r-- 1 wacker system 482 Oct 6 17:29 birthday
-rw-r--r-- 1 wacker system 36 Sep 30 16:02 cde
-rw-r--r-- 1 wacker system 40 Oct 6 12:07 ls.file
-rw-r--r-- 1 root system 1268 Oct 7 16:10 masterplan
drwxr-xr-x 2 wacker system 512 Sep 30 15:30 puss.1
-rw-r--r-- 1 wacker system 19 Sep 30 15:08 wacktest
-rw-r--r-- 1 wacker system 280436 Oct 6 17:21 tcptrace
After having entered the ′rsh′ transaction, the program displays the default user
ID to be used for communication with the remote RSH server. Press enter to
accept that user ID, then enter the RSH ′parmlib′ command to display the default
library where the OC/FTP Client administration files reside (refer to 7.2.4, “FTP
Client Customization” on page 92).
Then the remote command can be typed in and sent to the RSH server (′aix320′
in our case) as shown in the example below.
No data was returned from the TCP/IP host for the command entered.
rsh> bye
* $$ JOB JNM=RSHBATCH,DISP=D,PRI=3, C
* $$ NTFY=YES, C
* $$ LDEST=(,RSCS), C
* $$ CLASS=Y
* $$ LST CLASS=Z
// JOB RSHBATCH
// OPTION NOLOG,SYSDUMP,JCANCEL
// LIBDEF *,SEARCH=TCPOCS.FTPC,TEMP
// EXEC PGM=RSHC,SIZE=(RSHC,256K)
PARMLIB TCPOCS.FTPC
RSH AIX320 -l wacker -n date; echo $HOME; ls -l
RSH AIX320 -l wacker -n cat /etc/hosts
RSH AIX320 -l maru -n ls -l grep Oct
RSH 192.61.100.81 -l maru -n ls -l grep Oct
BYE
/*
/&
* $$ EOJ
Y1-0046
46 STOP
Y1 0046 TAI000I STOP COMMAND ACCEPTED
Y1 0046 EOJ TNFS
msg fx
where fx is the partition name. After you receive a response from the partition,
type the command as shown in the sample Figure 215 above.
logon applid(vstelnet)
The Primary Option Menu lets you define your terminal environment and
overwrite the default values specified in the DFLTUSR file (refer section 10.2.2,
“TELNET Client Customization” on page 137).
Figure 216 to Figure 219 on page 292 show the options available for terminal,
translation table and keyboard definition.
PF 1= 2= 3=QUIT 4= 5= 6=
PF 7= 8= 9= 10= 11= 12=QUIT
• 1 SETUP. The terminal setup menu (Figure 217 on page 289) is displayed
• 2 TRANSLATE. The translation table setup menu (Figure 218 on page 291) is
displayed
• 3 KEYBOARD. The keyboard setup menu (Figure 219 on page 292) is
displayed
• O OPEN. The host selection panel (Figure 220 on page 293) is displayed
• C CLOSE. The current session with your Telnet partner is closed
• T TERMINAL. After a TN connection is established, you can enter remote
host commands as if your terminal were attached to that host. The remote
host welcome menu is displayed as a result of the TN connection. An
example of connecting to an AIX node is shown in Figure 220 on page 293
• Q QUIT. The session with OC/TELNET FS is closed
PF 1= 2= 3=END 4= 5= 6=
PF 7= 8= 9= 10= 11= 12=END
• TERMINAL TYPE. You can choose the desired terminal emulation. The
allowed values are shown on the right side of the screen
• KEYBOARD PROFILE. You can choose the desired keyboard mapping. The
value selected must match one of the names in the VSAM
TEST.PARMLIB. type data set, where type is the keyboard profile name (see
Figure 97 on page 143)
• DISPLAY MODE. The value selected depends on the application program you
want to use at the remote TCP/IP node. If it is a full-screen application,
BLOCK is the best choice
• LOCAL ECHO. If you choose YES, the OC/TELNET FS will display input data
at your terminal
• NEW LINE. Defines the meaning of the <NL> control code sent on the
remote system:
− YES. OC/TELNET FS will send the ASCII carriage return and line feed
character
− NO. OC/TELNET FS will send only the ASCII carriage return character
• AUTOWRAP. You can enable the autowrap facility on your terminal
• SHIFT LOCK. Determines the automatic translation from lower case to upper
case when transmitting data to the remote system
• COMMAND PREFIX. Defines the prefix character of input data that the
OC/TELNET FS has to interpret as a terminal mode command
• AUTO KEYBOARD UNLOCK. Specifies whether the system will automatically
unlock your keyboard after an input operation
• VERTICAL CURSOR MOVEMENT. Defines the vertical cursor movement to be
used:
PF 1= 2= 3=END 4= 5= 6=
PF 7=UP 8=DOWN 9= 10= 11= 12=END
This panel lets you modify the active translation table simply by typing over the
EBCDIC predefined values. The translation between ASCII and EBCDIC
characters is made automatically by OC/TELNET FS.
The following key definitions are currently active during terminal mode:
PF 1= 2= 3=END 4= 5= 6=
PF 7=UP 8=DOWN 9= 10= 11= 12=END
This panel allows for modification of the keyboard mapping chosen in the
Terminal Setup Options Panel (see Figure 217 on page 289 ). Just enter the new
values required and press the ′enter′ key.
PF 1= 2= 3=END 4= 5= 6=
PF 7= 8= 9= 10= 11= 12=END
• HOST. Specifies the name or the IP address (in dotted decimal format) of the
remote host to be accessed.
• PORT. Specifies the port number of the remote TELNET server. This
parameter is optional; if you omit it, OC/TELNET FS will take the default
value (23).
After having logged in as the ′root′ user, the contents of the ′ / usr/oc/sna/etc′
directory are displayed as in the figure below.
Before you can log on to VSE/ESA, the OCS II Telnet Server needs to be active,
that is, running as a process on the RISC/6000 OCS II Gateway (please refer to
Chapter 13, “OCS II Gateway Operation” on page 189).
where:
• host = host name or IP address of the OCS II Telnet Server. This value must
match the IP addresses and the host names defined in AIX TCP/IP and the
parameter contained in the HOSTS file (see Figure 91 on page 139). Or you
have provided a Domain Name Server to resolve the host name.
• port = OCS II Telnet Server port number. This value must match the number
specified in OCS II Telnet Server customization panel (see Figure 127 on
page 171). We have used the TCP/IP standard TELNET port number (23) for
the VSE TELNET. The AIX TELNET port number has been changed to (2023),
please refer to 12.6, “Set up Alternative Ports for AIX TELNET and FTP
Servers” on page 186 for details. Also refer to Figure 127 on page 171 for
the matching value in OCS II configuration.
The figure below shows a Telnet session from a TCP/IP station to VSE using OCS
II Telnet Server.
[C:\]telnet aix320
TS>
A short description of the commands follows; for more details refer to the OCS II
Telnet Server Manager, 350-0193-101 .
• bye. Closes the connection with OCS II Telnet Server.
• clients. Gives a list of clients connected to OCS II Telnet Server with their
attributes such as IP address, port number, as shown in Figure 226 on
page 299.
• config. Reads the configuration values of the OCS II Telnet Server in the
files:
− features. Internal OCS II Telnet Server file. Its contents change according
to the feature of the TELNET product used.
− sna_bin. ASCII file created automatically when saving the values entered
in the occonfig exec (see 12.4.8, “Save Configuration File Set” on
page 183).
− options. This file can be customized by just editing and changing the
values inside. It contains parameters about OCS II Telnet Server and is
an alternative method to customizing OCS II Telnet Server without using
the occonfig utility but was not used or tested in our implementation.
Figure 227 on page 299 shows an example.
• default. OCS II Telnet Server prompts the default command line (for example,
TS> !vt100,3278).
TS> clients
Service IP Address Port# Socket# PU Name LU Name LU# State IT IL Spy
------- --------------- ----- ------- -------- -------- --- ----- --- --- ---
Tsmgr 192.61.100.83 1026 6 ******** ******** *** 1 *** *** ***
tn3270 192.61.100.81 1024 4 IPFP2209 IPFT2S9M 13 1 *** *** ***
3278 192.61.100.199 1026 7 IPFP2209 IPFT2S9N 14 1 *** *** ***
Configured sessions: 8 Active sessions: 3
TS> config
Service Feature Option Config Result
------------ ------- ------ ------ ------
USERS_TELNET 16 8 *** 8
USERS_3278 16 16 3 3
USERS_5250 0 0 0 0
USERS_TN3270(E) 16 8 3 3
USERS_TN5250 16 *** 0 0
USERS_TSPASS 16 *** *** 8
TS> hat
Name IP address IP mask Port Pmask
------------ --------------- --------------- ------ ------
tcpcl3 192.61.100.199 0xFF.FF.FF.FF 0 0x0000
allhosts 0.0.0.0 0.0.0.0 0 0
TS> keycode
You entered key detect mode. Type Q to exit.
Char: <^[> Decimal: 27 Hex: 0x1B Octal: \033
Char: < [> Decimal: 91 Hex: 0x5B Octal: \133
Char: < 2> Decimal: 50 Hex: 0x32 Octal: \062
Char: < 8> Decimal: 56 Hex: 0x38 Octal: \070
Char: < ~> Decimal: 126 Hex: 0x7E Octal: \176
TS> trace -x
-> PID: 6237 Start Time: Thu Jul 19 08:11:50 1996
-> Current Trace Log Filename: L0421152625
-> Last 2 trace files being kept.
-> Maximum byte size of Trace Files is: 1046576
Lvl Description Lvl Description
--- -------------------------------- --- --------------------------
100 TCP/IP Control Trace Level 101 Dump ALL TCP/IP Packets
102 Dump PS TCP/IP Packets 103 Dump Telnet TCP/IP Packets
104 Dump FTP TCP/IP Packets 105 Dump IP Route TCP/IP Packets
106 Dump RSH TCP/IP Packets 107 Dump Internal IFBUF Packets
108 Dump Short Format IFBUF Packets 199 Full TCP/IP Trace Level
200 DLC Control Trace Level 201 DLC Read/Writes Trace Level
202 Dump DLC Packets (Long format) 203 Dump DLC Packets (Short format)
299 Full DLC Trace Level 300 SUP Malloc Trace Level
TS> service
5250 is default, available services are:
3278 - TELNET Server/IBM 3278 display station emulation.
5250 - TELNET Server/IBM 5270 display station emulation.
tn3270 - TN3270 client support.
tn3270E - TN3270E client support.
tn5250 - TN5250 client support.
local - local TELNET redirector support.
TS> showterm
Terminals known to TELNET Server:
ANSI FALCO-925-32 IBM-3477-FC-E TEKTRONIX-4115
APOLLO FALCO-925-32W IBM-3477-FC-P TEKTRONIX-4115N
ATT-4418 FALCO-925W IBM-3477-FG TEKTRONIX-4205
ATT-4425 HP-2640 IBM-3477-FG-E TEKTRONIX-4224
ATXENIX HP-2640C IBM-3477-FG-P TEKTRONIX-4316
DATA-GENERAL-210 HP-9000 IBM-5251-11 TEKTRONIX-4316X
DATA-GENERAL-410 HP-9000C IBM-5251-11-E TEKTRONIX-4324
DATA-GENERAL-410A IBM-3151 IBM-5251-11-P TELEVIDEO-925
DEC-VT100 IBM-3164 IBM-5292-1 VISENTECH-VS230-8
DEC-VT100-32 IBM-3179-2 IBM-5292-1-E WYSE-50
DEC-VT100-C IBM-3179-2-E IBM-5555-B01 WYSE-60
DEC-VT100C IBM-3179-2-P IBM-5555-B01-E XTERM
DEC-VT100G IBM-3196-A1 IBM-5555-C01 allhosts
DEC-VT102 IBM-3196-A1-E IBM-5555-C01-E dgbasic
DEC-VT220 IBM-3196-A1-P LINK-125 tekbasic
DEC-VT220-8 IBM-3278-2 LSI-ADM-3A vt100
DEC-VT300 IBM-3278-3 LSI-ADM-3A+ vt220
DEC-VT300-8 IBM-3278-4 LSI-ADM-5 vt220basic
DEC-VT320 IBM-3278-5 MACPLUS vtbasic
DEC-VT320-132 IBM-3279-2 PCENH
DEC-VT320-8 IBM-3287-1 PCXTC
DEC-VT52 IBM-3477-FC SUN
TS> status
TELNET Server finds everything ok
TS> help
OpenConnect (R) TELNET Server --- Help
The OC/SAM software packet allows a VSE system to communicate with a local
area network using an OpenConnect Server. The program on the VSE system
communicates with a partner program on the LAN, using either the User
Datagram Protocol (UDP) or Transmission Control Program (TCP). Program
development using UDP can be either single or multi-user. Program
development using TCP can be either single or, if using VTAM LU0, multi-user.
The Socket Access Method provides the entry point into the network, the
so-called socket, which is used by the application program to communicate with
the partner program. The network complexity is handled by the OC/SAM
software product. The only programming required in the VSE program is for the
protocol established by the partner program.
The interface between the mainframe application and the OpenConnect Server is
the APPL definition (VTAM), the LU definition (VTAM), or channel address (GTO).
All transactions flow through this single path. There can be any number of
partners on the LAN interfacing to the VSE application through this single path.
This eliminates the tying up of more than one resource (LU) on the OpenConnect
Server to run a multi-user configuration.
Before writing your own socket programs you should study the sample programs
provided in TCPOCS.SAMSMP.
The TCP/IP communication software from OCS supports the sockets network
programming API. Sockets provide a network programming API that is very
similar to do input/output to local devices. The sockets API is currently by far the
most commonly used API for network programming in the TCP/IP environment.
socket_setup socket_setup
connect_to connect_to
process request
...
disconnect_from disconnect_from
When the network resources are no longer required by the program, the
program terminates the socket in an orderly fashion:
1. Session end: terminate the session with the LU on the OpenConnect server.
2. Close all: this function closes any internal files and file buffers.
3. Put work area: all storage areas allocated by the ′Get work area′ function
are released.
socket_setup socket_setup
listen_on_port
accept_session
process request
...
close_session close_session
Figure 239 is an extract from the complete VTAM APPL provided in the sample
library member ′$VTAMGEN′.
The two LU definitions we used for the OC/SAM sample programs are shown in
the following figure.
IPF2S9I LU LOCADDR=9,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
IPF2S9P LU LOCADDR=16,DLOGMOD=OCSLU0, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
UDPCBV0 is a TCP/IP client program using UDP to call the UDPSBV0 server.
Both programs are running on VSE/ESA and communicate with each other via
the OCS II Gateway.
Some of the SAM function calls in the source code have to provide environment
specific parameters. We modified that code as follows:
1. For the server UDPSBV0:
The modified source code is then cataloged back into library TCPOCS.SAMSMP.
Then we assembled and ran the UDP server program using the following job:
* $$ JOB JNM=UDPSBV0,CLASS=0,DISP=D
* $$ LST DISP=D,CLASS=A,DEST=(,WSTIEBER)
// JOB UDPSBV0
// LIBDEF SOURCE,SEARCH=TCPOCS.SAMMAC
// LIBDEF OBJ,SEARCH=TCPOCS.SAMOBJ
// LOG
// OPTION LINK
// EXEC PGM=ASMA90,SIZE=(ASMA90,50K), C
PARM=SYSPARM(DOS)¢
* $$ SLI MEM=UDPSBV0.A
/*
// EXEC PGM=LNKEDT
/*
// EXEC ,SIZE=AUTO
/*
/&
* $$ EOJ
When the server program UDPSBV0 is ready to accept client requests, the
following message appears on the VSE system console:
′SOCK$AM/UDPS READY FOR CLIENT′
Now the client program UDPCBV0 can be assembled and started.
The programs exchange short notices to test the UDP link and complete without
further messages. Check the trace entries in the job output to verify that the
programs communicated successfully.
TCPCBV0 is a TCP/IP client program using TCP to call the TCPSBV0 server.
TCPSBV0 and TCPCBV0 are running on VSE/ESA and communicate with each
other via the OCS II Gateway.
Some of the SAM function calls in the source code have to provide environment
specific parameters. We modified that code as follows:
1. For the server TCPSBV0:
• GET_WORK_AREA function must use parameter value ″DOS″ instead of
″MVS″.
• SET_NET_BY_LU function must specify LU name ″IPFT2S9I″.
• SET_ACB_BY_NAME function must specify VTAM application program
name ″TCPTEST1″.
2. For the client TCPCBV0:
• ESTABLISH_SESSION function must specify the server IP address, in our
case X′C03D6451′ (192.61.100.81).
• GET_WORK_AREA function must use parameter value ″DOS″ instead of
″MVS″.
The modified source code is then cataloged back into library TCPOCS.SAMSMP.
Then we assembled and ran the TCP server program using the following job:
* $$ JOB JNM=TCPSBV0,CLASS=0,DISP=D
* $$ LST DISP=D,CLASS=A,DEST=(,WSTIEBER)
// JOB TCPSBV0
// LIBDEF SOURCE,SEARCH=TCPOCS.SAMMAC
// LIBDEF OBJ,SEARCH=TCPOCS.SAMOBJ
// LOG
// OPTION LINK
// EXEC PGM=ASMA90,SIZE=(ASMA90,50K), C
PARM=SYSPARM(DOS)¢
* $$ SLI MEM=TCPSBV0.A
/*
// EXEC PGM=LNKEDT
/*
// EXEC ,SIZE=AUTO
/*
/&
* $$ EOJ
When the server program TCPSBV0 is ready to accept client requests, the
following message appears on the VSE system console:
′SOCK$AM/TCPS READY FOR CLIENT′
Now the client program can be assembled and started.
* $$ JOB JNM=TCPCBV0,CLASS=5,DISP=D
* $$ LST DISP=D,CLASS=A,DEST=(,WSTIEBER)
// JOB TCPCBV0
// LIBDEF SOURCE,SEARCH=TCPOCS.SAMMAC
// LIBDEF OBJ,SEARCH=TCPOCS.SAMOBJ
// LOG
// OPTION LINK
// EXEC PGM=ASMA90,SIZE=(ASMA90,50K), C
PARM=SYSPARM(DOS)¢
* $$ SLI MEM=TCPCBV0.A
/*
// EXEC PGM=LNKEDT
/*
// EXEC ,SIZE=AUTO
/*
/&
* $$ EOJ
The programs exchange short notices to test the TCP link and complete without
further messages. Check the trace entries in the job output to verify that the
programs communicated successfully.
Some of the SAM function calls in the source code have to provide environment
specific parameters. We modified that code as follows:
• ESTABLISH_SESSION function must specify the server IP address, in our
case X′C03D6451′ (192.61.100.81).
• GET_WORK_AREA function must use parameter value ″DOS″ instead of
″MVS″.
• SET_NET_BY_LU function must specify LU name ″IPFT2S9P″.
• SET_ACB_BY_NAME function must specify VTAM application program name
″TCPTEST1″.
The modified source code is then cataloged back into library TCPOCS.SAMSMP.
The TCPSMTP program reads mail to be sent from SYSIPT, the input must also
include the standard SMTP control information. A more advanced mail client
function for VSE is described in the next section.
* $$ JOB JNM=TCPSMTP,CLASS=0,DISP=D
* $$ LST DISP=D,CLASS=A,DEST=(,WSTIEBER)
// JOB TCPSMTP
// LIBDEF SOURCE,SEARCH=TCPOCS.SAMMAC
// LIBDEF OBJ,SEARCH=TCPOCS.SAMOBJ
// LOG
// OPTION LINK
// EXEC PGM=ASMA90,SIZE=(ASMA90,50K), C
PARM=SYSPARM(DOS)¢
* $$ SLI MEM=TCPSMTP.A
/*
// EXEC PGM=LNKEDT
/*
// EXEC ,SIZE=AUTO
MAIL FROM:<wacker@aix320>
RCPT TO:<pram@aix320>
DATA
SUBJECT: VSE/aix
This is a line of data from an SMTP client on the VSE system.
/*
/&
* $$ EOJ
The example described in this chapter works as a standard SMTP mail client
which delivers mail to standard Internet SMTP mail servers, in order to send
mail to other Internet users.
In our test environment we sent mail from the VSE system to users on AIX, OS/2
and Windows and where the mail can be retrieved using the standard
TCP/IP-based mail programs on these platforms.
Note
The programs referred to in this chapter are available on the IBMVSE tools
disk (managed by VMTOOLS at BOEVM3).
VSE/ESA
Message
Entry Function RS/6000
Message
Transfer Agent SMTP Server
VSE/VTAM AIX
access to
Internet
Note
The Message Entry Function (MEF) is not described further in this book; a
detailed description is available on the IBMVSE tools disk (managed by
VMTOOLS at BOEVM3).
Our implementation of the MTA supports the following Message Header (MH)
components (note that all MH component identifiers have to start in column 1):
MH-Component Comment
From: Specifies the sender address of the message. Has to be the first MH
component. In our implementation this is inserted by the MEF and
corresponds to the VSE/ESA user ID.
To: Specifies the address(es) of the primary recipient(s). At least one user
has to be specified. Multiple users can be specified separated by
blanks.
Cc: Specifies the address(es) of secondary recipient(s), that is the ′carbon
copy′ list.
Subject: Provides for a comment line which will be displayed by the receiver′ s
mail system.
All necessary SMTP control cards are generated by the Message Transfer Agent.
To handle the communication with the calling program the message is prefixed
by an 80-byte Control Buffer, mainly to signal error conditions to the caller.
The contents of this Mail Control Buffer are listed in the following figure.
The VSE/ESA MTA supports a TRACE function, which writes all message lines
and SMTP control records sent as well as the messages returned by the SMTP
server to CICS Temporary Storage (using a default TS Queue name of
″IESXMAIL″).
The following TRACE lines were written to subject TS Queue when we sent the
sample mail message shown in Figure 247 on page 317:
Figure 250. Communication between the VSE/ESA MTA Client and the SMTP Server
CEDA DEFINE
PROGram : IESMTA
Group : VSEGROUP
Language : Assembler CObol | Assembler | C | Pli | Rpg
RELoad : No No | Yes
RESident : No No | Yes
RSl : 00 0-24 | Public
Status : Enabled Enabled | Disabled
REMOTE ATTRIBUTES
REMOTESystem :
REMOTEName :
Transid :
Executionset : Fullapi Fullapi | Dplsubset
If the table does not contain an entry for SMTP, add an entry as described in
11.2.1, “GET SERVICE BY NAME Table Customization” on page 150.
The definitions required in VSE/ESA and the OCS II Gateway are covered in
previous chapters. This chapter summarizes the relationships between the
definitions in the different subsystems affected using a number of figures.
These figures are meant to help you to better understand the implementation of
OCS products. Pointers in the figures illustrate the relationships of the
definitions and where parameter values must match.
SNA Configuration:
OCSLU62P MODEENT
OCSLU0 MODEENT
OCSMD2 MODEENT
IPFP2209 PU
IPFT2S9A LU
MODETAB=OCSBIND
DLOGMODE=OCSLU0
LOGAPPL=OCSFTPS
IPFT2S9B LU
IPFT2S9C LU
:
:
IPFT2S9P LU
OCSFTP01 APPL
MODTAB=OCSBIND
DLOGMOD=OCSLU0
OCSFTP02 APPL
MODTAB=OCSBIND
DLOGMOD=OCSLU0
:
:
OCSFTP10 APPL
CEDA SESSION VSESESS
OCSLU0 MODEENT
OCSMD2 MODEENT
CEDA TRANSACTION FTP
CEDA TRANSACTION RSH
IPFP2209 PU
CEDA PROGRAM APPCFTPC
IPFT2S9A LU
GROUP VSEGROUP
IPFT2S9B LU
MODETAB=OCSBIND
DLOGMODE=OCSLU0
IPFT2S9C LU
:
IPFT2S9I LU
IPFT2S9J LU
:
IPFT2S9P LU
Figure 257. OC/FTP Client and OC/RSH Client Definitions Summary - VTAM and CICS
NETWORKS.FTP
IPFT2S9A LU IPFNET.FTP
IPFT2S9B LU LU IPFT2S9B
IPFT2S9C LU LU IPFT2S9C
IPFT2S9D LU LU IPFT2S9D
IPFT2S9E LU LU IPFT2S9E
IPFT2S9F LU
IPFT2S9G LU AIXNET.FTP
IPFT2S9H LU LU IPFT2S9F
IPFT2S9I LU (LPD) LU IPFT2S9G
IPFT2S9J LU SUNNET.FTP
:
IPFT2S9P LU LU IPFT2S9H
HOSTS.FTP
PACING.FTP
192.61.100.84 TCPCL2
10.10 TCPCL2
CACHE.FTP
OCS II GATEWAY CONFIG
192.61.100.84 TCPCL2
IP Addr: 192.61.100.81
RESOLVER.FTP Indirect Route:
192.61.100.55
SERVER 192.61.100.83 Default Route:
DOMAIN ITSC.IBM.COM 192.61.100.83
NETMASK.FTP
Figure 258. OC/FTP Client Definitions Summary - VTAM, FTP Client and OCS II Gateway
IPFT2S9J LU LU IPFT2S9J
MODETAB=OCSBIND LU IPFT2S9K
DLOGMODE=OCSLU0 LU IPFT2S9L
IPFT2S9K LU
MODETAB=OCSBIND
DLOGMODE=OCSLU0
:
IPFT2S9P LU
The purpose of this part is to summarize the functions and limitations of the
OpenConnect Systems products.
Note
The conclusions drawn in this part are based on the following levels of
subject products:
• OCC Software V1.3
• OC/FTP Server V2.2.4.1
• OC/FTP Client V2.2.4.1
• OC/LPD V1.1.0
• OC/RSH Client V2.1.5
• OC/TELNET FS V4.11
• OC/SAM V2.1
• OCS II Gateway V3.7.5
• OC/Print Server for AIX V1.2
This part provides a quick summary of the products′ functions and limitations.
We also discuss a few user requirements to illustrate how the product addresses
these situations. We hope that this explanation will help you to:
• Better understand the application aspects of the products
• Make a better selection of specific products based on your requirements
The following products are currently available within the IBM Cooperative
Software Program (CSP) from OpenConnect Systems:
• OC/FTP Server
• OC/FTP Client
• OC/LPD
• OC/RSH Client
• OC/TELNET FS
• OC/SAM
• OCS II Gateway
• OCS II Telnet Server
• OCS Print Server for AIX
OC/FTP Server also allows TCP/IP FTP clients to issue POWER commands to
manipulate POWER spool files.
OC/FTP Client allows VSE/ESA users to initiate and perform file transfer
operations between VSE/ESA and TCP/IP nodes, accessing the TCP/IP FTP
server′s file systems and VSAM files and VSE Libraries.
OCS II Telnet Server allows TCP/IP TELNET clients to initiate and establish 3278
terminal emulation sessions with VSE/ESA.
Chapter 26. OpenConnect Systems Products Functions and Limitations Summary 337
338 TCP/IP for VSE/ESA
Part 4. Job Streams and Definition Examples
* $$ JOB JNM=OCSINST,CLASS=0,DISP=D,NTFY=YES
// JOB OCSINST INSTALL OCS PRODUCT
// ASSGN SYS006,180
// MTC REW,SYS006
// EXEC MSHP
INSTALL PRODUCT FROMTAPE -
PRODUCTION INTO=lib.sublib
/*
// MTC RUN,SYS006
/&
* $$ EOJ
Appendix A. Job Streams and Definition Examples for OCS Products 343
IPFT2S9P LU LOCADDR=16,DLOGMOD=OCSMD2, C
ISTATUS=ACTIVE,MODETAB=OCSBIND, C
MDLTAB=VTMMDL,MDLENT=VSELU2A, C
PACING=1,VPACING=2, C
SSCPFM=USSSCS,USSTAB=VTMUSSTR
*
/+
/*
/&
* $$ EOJ
/+
/*
/&
* $$ EOJ
Appendix A. Job Streams and Definition Examples for OCS Products 345
USSPARM PARM=P2,REP=DATA
*
F USSCMD CMD=F,REP=LOGON,FORMAT=BAL
USSPARM PARM=P1,REP=APPLID,DEFAULT=CICSSA22
USSPARM PARM=P2,REP=DATA
*
/+
/*
* *****************************************************************
** *
* * JOBSTEP 2 *
** *
** IF THERE IS NO APPLICATION NAME CORRESPONDING TO A *
** PARTICULAR VARIABLE, REPLACE IT WITH ________ TO INDICATE *
** THAT THERE IS NO NAME. *
** *
* *****************************************************************
// EXEC LIBR,PARM=¢MSHP¢
ACCESS SUBLIB=PRD2.CONFIG
CATALOG VTMUSSTZ.A REPLACE=YES
*
* THE FOLLOWING MENU WILL BE DISPLAYED ON SNA TERMINALS ONLY
*
*
DC X¢15¢ NEW LINE (ROW 5)
DC CL9¢ ¢
DC CL2¢A ¢
DC CL8¢DBDCCICS¢
*
DC X¢15¢ NEW LINE (ROW 6)
DC CL9¢ ¢
DC CL2¢B ¢
DC CL8¢CICSSA22¢
*
DC X¢15¢ NEW LINE (ROW 7)
DC CL9¢ ¢
DC CL2¢C ¢
DC CL8¢VMESASA2¢
*
DC X¢15¢ NEW LINE (ROW 8)
DC CL9¢ ¢
DC CL2¢D ¢
DC CL8¢VSTELENT¢
*
DC X¢15¢ NEW LINE (ROW 9)
DC CL9¢ ¢
DC CL2¢E ¢
DC CL8¢VM/ESA12¢
*
DC X¢15¢ NEW LINE (ROW 10)
DC CL9¢ ¢
DC CL2¢F ¢
DC CL8¢________¢
*
/+
/*
* *****************************************************************
** *
* * JOBSTEP 3 *
Appendix A. Job Streams and Definition Examples for OCS Products 347
DC X¢4BD9¢ ROW 10 COLUMN 10
DC X¢1D¢ START FIELD ORDER
DC X¢F8¢ PROTECT SKIP INTENSIFIED ATTRIBUTE
DC CL2¢F ¢
DC X¢1D¢ START FIELD
DC X¢F0¢ PROTECT SKIP NORMAL
DC CL8¢________¢
*
/+
/*
// LIBDEF *,SEARCH=(PRD1.BASE,PRD2.CONFIG),TEMP
// LIBDEF PHASE,CATALOG=PRD2.CONFIG
// OPTION CATAL
PHASE VTMUSSTR,*
// EXEC ASSEMBLY
PRINT NOGEN
VTMUSSTR USSTAB TABLE=STDTRANS,FORMAT=DYNAMIC
*
COPY VTMUSSCD
*
TEST USSCMD CMD=TEST,REP=IBMTEST,FORMAT=BAL
USSPARM PARM=P1,DEFAULT=10
USSPARM PARM=P2,DEFAULT=OK
*
MESSAGES USSMSG MSG=0,TEXT=¢COMMAND ACCEPTED¢
USSMSG MSG=1,BUFFER=M1
USSMSG MSG=2,BUFFER=M1
USSMSG MSG=3,TEXT=¢ERROR IN VTMUSSTR. PRESS ENTER¢
USSMSG MSG=4,TEXT=¢APPLICATION NOT ACTIVATED. PRESS ENTER¢
USSMSG MSG=5,BUFFER=M1
USSMSG MSG=6,TEXT=¢LOGON ALREADY PENDING¢
USSMSG MSG=7,TEXT=¢%(1) UNABLE TO ESTABLISH SESSION - %(2) F*
AILED WITH SENSE %(3)¢
USSMSG MSG=8,TEXT=¢INSUFFICIENT STORAGE¢
USSMSG MSG=9,TEXT=¢MAGNETIC CARD DATA ERROR¢
USSMSG MSG=10,BUFFER=M1
USSMSG MSG=12,TEXT=¢REQUIRED PARAMETER OMITTED¢
USSMSG MSG=13,TEXT=¢IBMECHO%¢
*
STDTRANS DC 128AL1(*-STDTRANS)
DC X¢80C1C2C3C4C5C6C7C8C98A8B8C8D8E8F¢
DC X¢90D1D2D3D4D5D6D7D8D99A9B9C9D9E9F¢
DC X¢A0A1E2E3E4E5E6E7E8E9AAABACADAEAF¢
DC X¢B0B1B2B3B4B5B6B7B8B9BABBBCBDBEBF¢
DC X¢C0C1C2C3C4C5C6C7C8C9CACBCCCDCECF¢
DC X¢D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF¢
DC X¢E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEF¢
DC X¢F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF¢
END USSEND
*
M1 DC AL2(M1E-M1S)
M1S DC X¢15¢ NEW LINE (ROW 1)
*
* VTMUSSTR VTAM APPLICATION SELECTION MENU
*
DC CL1¢ ¢
DC CL8¢VSEESA22¢
DC CL12¢ ¢
DC C¢VTAM APPLICATION SELECTION MENU¢
Appendix A. Job Streams and Definition Examples for OCS Products 349
M1 DC AL2(M1E-M1S)
M1S DC X¢F5¢ ERASE WRITE COMMAND
DC X¢C7¢ WCC ALARM
*
* VTMUSSTB VTAM APPLICATION SELECTION MENU
*
DC X¢11¢ SET BUFFER ADDRESS ORDER
DC X¢40C1¢ ROW 1 COLUMN 2
DC X¢1D¢ START FIELD
DC X¢F0¢ PROTECT SKIP NORMAL
DC CL8¢VSEESA22¢
DC X¢11¢ SET BUFFER ADDRESS ORDER
DC X¢40D7¢ ROW 1 COLUMN 24
DC X¢1D¢ START FIELD ORDER
DC X¢F8¢ PROTECT SKIP INTENSIFIED ATTRIBUTE
DC C¢VTAM APPLICATION SELECTION MENU¢
*
* ENTER THE CHARACTER OF YOUR SELECTION AND PRESS THE ENTER KEY:
* (MIXED-CASE)
*
DC X¢11¢ SET BUFFER ADDRESS ORDER
DC X¢C2E3¢ ROW 3 COLUMN 4
DC X¢1D¢ START FIELD
DC X¢F0¢ PROTECT SKIP NORMAL
DC X¢C595A3859940A3888540838881998183A3859940968640¢
DC X¢A896A49940A285938583A38996954081958440979985A2A240¢
DC X¢A3888540C5D5E3C5D9409285A87A¢
*
COPY VTMUSSTX
*
DC X¢11¢ SET BUFFER ADDRESS ORDER
DC X¢D661¢ ROW 19 COLUMN 2
DC X¢1D¢ START FIELD
DC X¢F8¢ PROTECT SKIP INTENSIFIED ATTRIBUTE
DC C¢==> ¢
DC X¢1D¢ START FIELD ORDER
DC X¢40¢ UNPROTECTED NORMAL ATTRIBUTE
DC X¢13¢ INSERT CURSOR ORDER
DC X¢3C¢ REPEAT TO ADDRESS ORDER
DC X¢D7F0¢ ROW 20 COLUMN 1
DC C¢ ¢
DC X¢1D¢ START FIELD ORDER
DC X¢F0¢ PROTECT SKIP NORMAL ATTRIBUTE
M1E EQU *
END
/*
// EXEC LNKEDT
/&
* $$ EOJ
Appendix A. Job Streams and Definition Examples for OCS Products 351
FMPROF=X¢03¢, C
TSPROF=X¢03¢, C
PRIPROT=X¢B1¢, C
SECPROT=X¢90¢, C
COMPROT=X¢3080¢, C
RUSIZES=X¢87C7¢, C
PSERVIC=X¢028000000000000000000200¢
TITLE ¢Printer Client¢
********************************************************************
* *
* PRINTER CLIENT FOR OCS TCP/IP *
* *
********************************************************************
OCSSCS MODEENT LOGMODE=OCSSCS, C
FMPROF=X¢03¢, C
TSPROF=X¢03¢, C
PRIPROT=X¢B1¢, C
SECPROT=X¢90¢, C
COMPROT=X¢3080¢, C
RUSIZES=X¢8587¢, C
SRCVPAC=X¢02¢, C
PSNDPAC=X¢04¢, C
PSERVIC=X¢01000000E100000000000000¢
OCSDSC MODEENT LOGMODE=OCSDSC, C
FMPROF=X¢03¢, C
TSPROF=X¢03¢, C
PRIPROT=X¢B1¢, C
SECPROT=X¢90¢, C
COMPROT=X¢3080¢, C
RUSIZES=X¢8587¢, C
SRCVPAC=X¢02¢, C
PSNDPAC=X¢04¢, C
PSERVIC=X¢030000000000000000000200¢
TITLE ¢SAM-APPLICATION¢
********************************************************************
* *
* SAM PROGRAMMING *
* *
********************************************************************
MTKLU62X MODEENT LOGMODE=MTKLU62X, C
TYPE=X¢00¢, C
FMPROF=X¢13¢, C
TSPROF=X¢07¢, C
PRIPROT=X¢B0¢, C
SECPROT=X¢B0¢, C
COMPROT=X¢50D1¢, C
RUSIZES=X¢8989¢, C
SSNDPAC=X¢07¢, C
SRCVPAC=X¢07¢, C
PSNDPAC=X¢07¢, C
PSERVIC=X¢060200000000000000002C00¢
MODEEND
END , END OF IESINCLM
/*
// EXEC LNKEDT
/*
/&
* $$ EOJ
The purpose of this publication is to help with the installation and customization
of OCS TCP/IP for VSE.
See the PUBLICATIONS section of the IBM Programming Announcement for the
products listed below, for more information about what publications are
considered to be product documentation.
• ACF/VTAM Version 4.2.0
• OpenConnection for Channel (OCC)
• OpenConnect/File Transfer Program Client (OC/FTPC)
• OpenConnect/File Transfer Program Server (OC/FTPS)
• OpenConnect/Line Printer Daemon (OC/LPD)
• OpenConnect/Remote Shell (OC/RSH)
• OpenConnect/TELNET Client Full Screen (OC/TELNET Client FS)
• OpenConnect/Socket Access Method (OC/SAM)
• OpenConnect Server II Gateway for RISC/6000 (OCS II Gateway)
• OpenConnect Systems Print Server for UNIX (OCS Print Server)
• VM/ESA Release 2.1
• VSE/ESA Version 2.1.2
Information in this book was developed in conjunction with use of the equipment
specified, and is limited in application to those specific hardware and software
products and levels.
IBM may have patents or pending patent applications covering subject matter in
this document. The furnishing of this document does not give you any license to
these patents. You can send license inquiries, in writing, to the IBM Director of
Licensing, IBM Corporation, 500 Columbus Avenue, Thornwood, NY 10594 USA.
The information contained in this document has not been submitted to any
formal IBM test and is distributed AS IS. The information about non-IBM
(″vendor″) products in this manual has been supplied by the vendor and IBM
assumes no responsibility for its accuracy or completeness. The use of this
information or the implementation of any of these techniques is a customer
responsibility and depends on the customer′s ability to evaluate and integrate
them into the customer′s operational environment. While each item may have
been reviewed by IBM for accuracy in a specific situation, there is no guarantee
that the same or similar results will be obtained elsewhere. Customers
attempting to adapt these techniques to their own environments do so at their
own risk.
The following document contains examples of data and reports used in daily
business operations. To illustrate them as completely as possible, the examples
contain the names of individuals, companies, brands, and products. All of these
names are fictitious and any similarity to the names and addresses used by an
actual business enterprise is entirely coincidental.
Reference to PTF numbers that have not been released through the normal
distribution process does not imply general availability. The purpose of
including these reference numbers is to alert IBM customers to specific
information relative to the implementation of the PTF when it becomes available
to each customer according to the normal IBM PTF distribution process.
The publications listed in this section are considered particularly suitable for a
more detailed discussion of the topics covered in this redbook.
IBM Publications
• TCP/IP for OS/2 V2.0 Installation and Administration , SC31-6075
• Internetworking with TCP/IP, Volume I , SC31-6144
• Internetworking with TCP/IP, Volume II , SC31-6145
• VSE/ESA 2.1.2 Messages and Codes , SC33-6607
• VSE/ESA 2.1.2 System Control Statements , SC33-6613
• VSE/VSAM User ′ s Guide and Application Programming , SC33-6632
• VTAM V4R2 Messages and Codes , SC31-6493
• VTAM V4R2 Operation , SC31-6495
• VTAM V4R2 Resource Definition Reference , SC31-6498
• AIX System User ′ s Guide: Communication and Networks , GC23-2523
This information was current at the time of publication, but is continually subject to change. The latest
information may be found at URL http://www.redbooks.ibm.com.
IBMMAIL Internet
In United States: usib6fpl at ibmmail [email protected]
In Canada: caibmbkz at ibmmail [email protected]
Outside North America: bookshop at dkibmbsh at ibmmail [email protected]
• Telephone orders
• 1-800-IBM-4FAX (United States) or (+1) 415 855 43 29 (Outside USA) — ask for:
Index # 4421 Abstracts of new redbooks
Index # 4422 IBM redbooks
Index # 4420 Redbooks for last six months
• Direct Services - send note to [email protected]
• On the World Wide Web
Redbooks Home Page http://www.redbooks.ibm.com
IBM Direct Publications Catalog http://www.elink.ibmlink.ibm.com/pbl/pbl
• Internet Listserver
With an Internet E-mail address, anyone can subscribe to an IBM Announcement Listserver. To initiate the
service, send an E-mail note to [email protected] with the keyword subscribe in the body of
the note (leave the subject line blank).
• Please put me on the mailing list for updated versions of the IBM Redbook Catalog.
Company
Address
We accept American Express, Diners, Eurocard, Master Card, and Visa. Payment by credit card not
available in all countries. Signature mandatory for credit card payment.
Index 365
OCS II (continued) PASSWD m e m b e r 71
VSE customization 48 path table 45, 48
VTAM customization 45 PC Windows applications 38
OCS Print Server Installation and Customization 193 port number for aix 186
CICS Customization 202 PORT parameter 68
config file 197 POWER 18, 69
Customization 195 POWER command 225
Customization in VSE/ESA 200 printing 207
Customization of the Print Server 196 PRODBLDL.PROC 110
defaults file 196 PRODBUILD.PROC 73, 82, 124
Definition to OCS II Gateway 200 PROFILE EXEC 44
eps_start command 205 PROGRAM parameter 91, 127
eps_status command 205 PROTOCOL parameter 89, 90
eps_stop command 205 PS/2 workstations 41
installation 193 PTF found 236
operation 205 PU configuration 165
o v e r v i e w 193 PU name parameter 54, 56, 165
printing 207 PU type parameter 165
starting up 205 PUT queue file command 225
stopping 205 PUTYPE parameter 56
stopping the license manager 206
ocsna command 189
OCSNA environment variable 189 Q
octermcap file 295, 302 QUEUE parameter 113
offline interface for FTP 84 QUEUENAME operand 113
online interface for FTP 84 QUEUETYPE operand 113
online interface for RSH 124 QUOTE POWER command 225
OPEN command 84, 99 QUOTE SITE command 69, 221, 227
Open Connection for Channel (OCC)
hardware 11
Main Circuit Board 12
R
Receive output from VSE 233
overview 8
RECEIVESIZE parameter 90
SCSI Bus/Tag Transition Board 12
RECORDFORMAT parameter 65
OpenConnection for Channel (OCC) 209
RECORDS parameter 65
Configure OCC with OCC Configuration file 213
RECORDSIZE parameter 65
Configuring OCC Hardware 210
remote IP address 99
Customization 212
remote link address parameter 176
Customizing OCS II Gateway 212
remote SAP address parameter 176
Installing OCC Hardware 210
Replace Duplicate Keys (RDK) 268
OCC Administration Software Installation 209
RESOLVER member 101
OCC customization 212
RETAIN parameter 94
OCC installation 209
RISC/6000 DLC 174
OCC operation 217
Route algorithm
RISC/6000 Host Software Installation 209
default routing 36
SNA configuration 215
direct routing 36
OpenConnection for Channel (OCC) Operation 217
indirect routing 36
OPNDSP parameter 94
Route table of test environment 37
outbound pacing 100
Route type
dynamic route 36
P explicit route 36
PACEIN parameter 68 implicit route 36
PACEOUT parameter 68 RTB (Remove Trailing Blanks) 256
PACING member 100
PACING parameter 56, 136
PALLOC parameter 94
S
SALLOC parameter 94
Parameter Library 67
SAPADDR parameter 53, 56, 176
PARSESS= parameter 86
Index 367
transport layer 3 VTAM (continued)
tuning parameters 176 Token-Ring adapter 53
TWASIZE parameter 91, 127 user directory 44
USSTAB 137
VSE customization 48
U
usage 336
User exits
Access Control 79
I/O Exit 79
USSTAB 137
V
VCTCA 41
VM/ESA
customization 44
SYSTEM CONFIG file 44
VSE user directory 44
VTAM customization 45
VTAM user directory 44
VPACING parameter 56, 136
VSAM access 71
VSAM catalog space 62
VSAM definition for FTP 82
VSAMCAT parameter 94
VSE/ESA
IPL procedure 52
OCC 58
POWER command 225
PROFILE EXEC 44
TCP overview 6
Telnet overview 26
Token-Ring adapter 52
user directory 44, 52
VTAM customization 48
VTAM
APPL major node 66, 83, 111, 124, 135
CDRM major node 46, 49
CDRSC major node 49
CONFIG member 67
connection VSE 88
CTCA major node 45, 48
customization for FTP 83
customization for LPD 110
customization for OC/Print Server 200
customization for RSH 124
FAPPL member 94
LAN major node 53
local SNA major node 46
logmode table 66, 83, 111, 134, 201
LU definition 66, 87, 136, 201
OCC 58
path table 45, 48
PROFILE EXEC 44
session definition 89
switched major node 54
Telnet customization 134
Telnet overview 26
Printed in U.S.A.
SG24-4270-01
Artwork Definitions
ITLOGO 4270SU
i i
ITLOGOS 4270SU
i
Table Definitions
COL1 4270VARS
i 36, 36, 70, 70, 197, 199
COL1H 4270VARS
i
COL31 4270VARS
i
COL32 4270VARS
i 35
COL34 4270VARS
i 70, 196
COL3A0 4270VARS
i 36
COL3A1 4270VARS
i 36
ROUTAB1 4270VARS
i 37, 37, 37, 37
COL3A 4270VARS
i
COL5 4270VARS
i
TT1 4270VARS
i 222
TT2 4270VARS
i 222
T21 4270VARS
i 223
TT3 4270VARS
i 223
TT4 4270VARS
i 224
TT5 4270VARS
i 225
TT6 4270VARS
i 225
TT7 4270VARS
i 240
TT8 4270VARS
i 241
TT9 4270VARS
i 242
Figures
OSITCP 4270CH01
4 1
4
OCSOV 4270CH02
6 2
5, 153, 153
OCCENV 4270CH02
11 3
10
FGATE 4270CH03
16 4
16
FTNS 4270CH03
18 5
17
FFTPS 4270CH03
19 6
19
FFTPC 4270CH03
21 7
21
LPD 4270CH03
23 8
23
FRSHC 4270CH03
25 9
25, 25, 281
FTNFS 4270CH03
27 10
27, 287
FSAM 4270CH03
29 11
CH3OVER 4270CH03
30 12
FONWD 4270CH04
34 13
31, 31, 32, 33, 35, 36, 96, 138, 160, 184, 245
LOGCONF 4270CH04
37 14
37
PCWIN 4270CH04
38 15
38
PCWIN1 4270CH04
38 16
38
PCWIN2 4270CH04
39 17
39
PCWIN3 4270CH04
40 18
39
FIVMVSE 4270CH05
43 19
42
FVMRDEV 4270CH05
44 20
FMPATH 4270CH05
45 21
FMCTCA 4270CH05
45 22
45
FMCDRM 4270CH05
46 23
46
FM3174 4270CH05
47 24
46, 66, 87, 111, 136, 165, 201, 311
FSPATH 4270CH05
48 25
48
FSCTCA 4270CH05
49 26
48
FSCDRM 4270CH05
49 27
49
FSCDRS 4270CH05
50 28
49
FIVSE 4270CH05
51 29
50
FSTR 4270CH05
53 30
53, 176, 176
FSSW 4270CH05
55 31
54, 161, 163, 165
OCCVSE 4270CH05
57 32
56
OCPU 4270CH05
59 33
58
FLIB 4270CH06
62 34
61
FSCANT 4270CH06
63 35
63, 82, 110, 123, 133
FRETR 4270CH06
64 36
63, 82, 110, 123, 134
FMVSAM 4270CH06
65 37
64, 82
FML0 4270CH06
66 38
66
FSAPPL 4270CH06
66 39
FSLU 4270CH06
67 40
66
PARM 4270CH06
67 41
FSCONF 4270CH06
68 42
67
FSSITE 4270CH06
70 43
69
FSPASS 4270CH06
72 44
71, 226
FTPSBIL 4270CH06
74 45
73
FTPSSP 4270CH06
76 46
76
FTPS 4270CH06
76 47
76, 219
FTPS1 4270CH06
78 48
77
FML62 4270CH07
83 49
83
FCVTAM 4270CH07
85 50
83, 88, 239
FCAPPL 4270CH07
86 51
85, 89
FCLU 4270CH07
87 52
87, 111
FCDYNAL 4270CH07
93 53
93, 239
FCFAPP 4270CH07
95 54
94
FIPADDR 4270CH07
96 55
96
FCNW 4270CH07
97 56
96
FCNWL 4270CH07
97 57
97
FCNWL1 4270CH07
98 58
98
FCNWL2 4270CH07
98 59
98
FCHOST 4270CH07
99 60
99
FCCACHE 4270CH07
100 61
99
FCPAC 4270CH07
100 62
100
SUBMASK 4270CH07
101 63
101
RESOLV 4270CH07
102 64
101
FTPCBIL 4270CH07
103 65
102, 105, 105
FTPCSP 4270CH07
104 66
104
FTPC 4270CH07
104 67
104, 262, 282
FTPCBAT 4270CH07
105 68
105
XLATE2 4270CH07
106 69
105
XLATE21 4270CH07
107 70
105
LPAPPL 4270CH08
111 71
LDLU 4270CH08
112 72
111
LPDCONF 4270CH08
113 73
112, 114
LPDBIL 4270CH08
116 74
115, 118, 118, 119, 120
LPDSTJO 4270CH08
117 75
117, 273
XLATE3 4270CH08
119 76
118
BANNER 4270CH08
120 77
120
LPDSMIT 4270CH08
121 78
121
RCVTAM 4270CH09
126 79
124, 281
RSHCHE 4270CH09
129 80
128
RSHCRH 4270CH09
129 81
128
RSHCBIL 4270CH09
129 82
129
RSHCSP 4270CH09
130 83
130
STRTRSH 4270CH09
130 84
130
RSHCBAT 4270CH09
131 85
131
FMLTN 4270CH10
134 86
134
FTAPPL 4270CH10
135 87
135
FTLU 4270CH10
136 88
136
TNNW 4270CH10
138 89
138
TNNWL 4270CH10
138 90
138
TNHOST 4270CH10
139 91
138, 295
TNSYSIN 4270CH10
139 92
139
TNUSER 4270CH10
140 93
140
TNTSYS 4270CH10
141 94
141
TNTUSR 4270CH10
141 95
141
TNCMDS 4270CH10
142 96
142
TNJOB 4270CH10
143 97
143, 289
SAMSCAN 4270CH11
146 98
145
SAMINP1 4270CH11
146 99
SAMINP2 4270CH11
147 100
SAMINP3 4270CH11
147 101
SAMINP4 4270CH11
148 102
SAMINS 4270CH11
148 103
146, 148
SAMVER1 4270CH11
149 104
SAMVER2 4270CH11
149 105
SAMVER3 4270CH11
150 106
SAMTAB 4270CH11
151 107
SAMVER4 4270CH11
152 108
151
TII14 4270CH12
154 109
154
OCSGIN1 4270CH12
155 110
154
INST 4270CH12
157 111
156, 183
OCSGCUS 4270CH12
158 112
157
OCSGCU2 4270CH12
158 113
157, 212
OCSGF11 4270CH12
159 114
OCSGC11 4270CH12
160 115
OCSGC12 4270CH12
161 116
160
OCSGC14 4270CH12
162 117
161
OCSGC13 4270CH12
162 118
160
OCSGC21 4270CH12
163 119
163
OCSGC31 4270CH12
164 120
OCSGC32 4270CH12
165 121
OCSGC33 4270CH12
166 122
166
OCSGT33 4270CH12
167 123
166, 200
OCSGC41 4270CH12
168 124
168
OCSGC42 4270CH12
169 125
OCSGT55 4270CH12
170 126
OCSGC45 4270CH12
171 127
295, 295, 296
OCSGT90 4270CH12
172 128
OCSGT91 4270CH12
173 129
OCSGT93 4270CH12
173 130
OCSGC51 4270CH12
174 131
OCSGC52 4270CH12
175 132
OCSGT52 4270CH12
175 133
176
OCSGC54 4270CH12
177 134
176
OCSGC53 4270CH12
178 135
176, 176
OCSGC61 4270CH12
179 136
56
OCSGO61 4270CH12
181 137
OCSGC71 4270CH12
183 138
183
OCSGC81 4270CH12
184 139
OCSC811 4270CH12
185 140
185
OCSC812 4270CH12
186 141
185
OCSC813 4270CH12
187 142
187
SMP25 4270CH13
189 143
189, 189
SMP251 4270CH13
190 144
189
SMP24 4270CH13
191 145
190
SMP26 4270CH13
191 146
191
EPSFIG1 4270CH14
196 147
196
EPSFIG2 4270CH14
198 148
198
EPSFIG3 4270CH14
200 149
200, 205
LOGPS 4270CH14
201 150
201, 201
LUPS 4270CH14
201 151
201
EPSFG10 4270CH15
205 152
205, 206
EPSFG11 4270CH15
206 153
206
EPSFG12 4270CH15
207 154
206
EPSFG13 4270CH15
207 155
207, 207
EPSFG14 4270CH15
207 156
207
OCC14 4270CH16
210 157
210
CONFLU 4270CH16
213 158
OCC15 4270CH16
214 159
214
OCC16 4270CH16
215 160
214
OCC17 4270CH16
216 161
216
OCCST 4270CH17
217 162
217
SCAST 4270CH17
218 163
217
OCC26 4270CH17
218 164
218
SMP10 4270CH18
219 165
219
SMP101 4270CH18
220 166
220
SMP4 4270CH18
226 167
226
SMP2 4270CH18
227 168
227
SMP22 4270CH18
228 169
SMP3 4270CH18
229 170
228
SMP1 4270CH18
230 171
230
SMP6 4270CH18
231 172
231
SMP62 4270CH18
232 173
231
SMP63 4270CH18
232 174
231
SMP64 4270CH18
233 175
233
SMP65 4270CH18
233 176
233, 233
SMP66 4270CH18
235 177
234
SMP23 4270CH18
236 178
236
TCPFB1 4270CH19
246 179
245
TCPFB2 4270CH19
246 180
245
TCPSK01 4270CH19
249 181
248
TCPSK02 4270CH19
250 182
248
TCPSK04 4270CH19
251 183
248
TCPSK05 4270CH19
252 184
248
TCPSK11 4270CH19
254 185
253
TCPSK12 4270CH19
254 186
253
TCPSK13 4270CH19
255 187
253
TCPSK14 4270CH19
256 188
253
TCPSK15 4270CH19
257 189
253
TCPFB3 4270CH19
259 190
259
TCPFB4 4270CH19
260 191
259
SMP11 4270CH19
262 192
239, 262
SMP12 4270CH19
264 193
262
SMP13 4270CH19
265 194
262
SMP16 4270CH19
267 195
267
SMP161 4270CH19
267 196
267
SMP162 4270CH19
268 197
266, 267
SMP18 4270CH19
269 198
268
SMP181 4270CH19
270 199
268
SMP19 4270CH19
271 200
271
SMP191 4270CH19
272 201
271
LPDS01 4270CH20
273 202
273
LPDS02 4270CH20
273 203
273
LPDS03 4270CH20
274 204
274
LPDS04 4270CH20
275 205
275
LPDS44 4270CH20
275 206
275
LPDS05 4270CH20
277 207
278
LPDS55 4270CH20
279 208
LPDS06 4270CH20
279 209
RSHST 4270CH21
282 210
282
SMP7 4270CH21
283 211
282
SMP8 4270CH21
283 212
282
TCPRB1 4270CH21
284 213
284
TCPRB2 4270CH21
284 214
284
SMP20 4270CH22
287 215
287, 287
SMP15 4270CH22
288 216
288, 288
TERMSET 4270CH22
289 217
288, 292, 294
SMP21 4270CH22
291 218
288
SMP17 4270CH22
292 219
288, 288
HOSTSEL 4270CH22
293 220
288, 288
AIXWEL 4270CH22
294 221
294
SMP29 4270CH22
294 222
TII0 4270CH23
295 223
TII1 4270CH23
296 224
296
TI2 4270CH23
297 225
297
TI3 4270CH23
299 226
297
TI4 4270CH23
299 227
297
HATTAB 4270CH23
299 228
298
TI6 4270CH23
300 229
298
TI7 4270CH23
300 230
298
TI8 4270CH23
300 231
298
TI9 4270CH23
301 232
298
TIA 4270CH23
301 233
298
TIB 4270CH23
302 234
298
TID 4270CH23
303 235
298
TIC 4270CH23
303 236
302
SAMUDP 4270CH24
307 237
306
SAMTCP 4270CH24
309 238
308
SAMAPPL 4270CH24
310 239
310
SAMLU 4270CH24
311 240
SAMUDSR 4270CH24
312 241
SAMUDCR 4270CH24
313 242
SAMTCSR 4270CH24
314 243
SAMTCCR 4270CH24
314 244
SAMTCSM 4270CH24
315 245
SAMML1 4270CH24
316 246
SAMML2 4270CH24
317 247
316, 318, 319
SAMML3 4270CH24
318 248
SAMM4 4270CH24
318 249
SAMML5 4270CH24
320 250
SAMML6 4270CH24
321 251
321
SAMML7 4270CH24
321 252
321
FSGATE 4270CH25
326 255
FSFTPS 4270CH25
327 256
FSFTPC1 4270CH25
328 257
FSFTPC2 4270CH25
329 258
FSTN 4270CH25
330 259
Headings
P1 4270CH01
1 Part 1, Introduction
CH1INT 4270CH01
3 Chapter 1, Introduction to TCP/IP
xvii
IVSETCP 4270CH02
5 Chapter 2, VSE/ESA and TCP/IP
xvii
CH1OCS 4270CH02
5 2.1, OCS TCP/IP for VSE
CH2TELN 4270CH02
6 2.1.1, OC/Telnet
CH2FTPC 4270CH02
6 2.1.2, OC/FTP Client
CH2FTPS 4270CH02
7 2.1.3, OC/FTP Server
CH2RSH 4270CH02
7 2.1.4, OC/RSH Client
CH2SAM 4270CH02
8 2.1.5, OC/SAM
CH2LPD 4270CH02
8 2.1.6, OC/Line Printer Daemon (LPD)
CH2GATE 4270CH02
8 2.1.7, OCS II Gateway
CH2PS 4270CH02
8 2.1.8, OCS Print Server for AIX
CH2OCC 4270CH02
8 2.2, OpenConnection for Channel (OCC)
209, 217
CH1HSW 4270CH02
9 2.3, Hardware and Software Requirements for OCS TCP/IP
CH1OCSH 4270CH02
9 2.3.1, Hardware Requirements
CH1OCSS 4270CH02
10 2.3.2, Software Requirements
CH2HW 4270CH02
11 2.3.3, OCC Hardware
CH2MCB 4270CH02
12 2.3.3.1, Main Circuit Board
CH2BTT 4270CH02
12 2.3.3.2, SCSI Bus/Tag Transition Board
P2 4270CH03
13 Part 2, OCS TCP/IP for VSE Installation and Implementation
OCOV 4270CH03
15 Chapter 3, OCS Software Functional O v e r v i e w
xvii, 153
OCGOV 4270CH03
16 3.1, OCS II Gateway Functional Overview
153, 335
TNS3270 4270CH03
17 TELNET Server 3270
FTPSOV 4270CH03
18 3.2, OC/FTP Server Functional Overview
FTPCOV 4270CH03
20 3.3, OC/FTP Client Functional Overview
LPDOV 4270CH03
22 3.4, OC/Line Printer Daemon Functional Overview
RSHOV 4270CH03
24 3.5, OC/RSH Client Functional Overview
TNFSOV 4270CH03
26 3.6, OC/TELNET FS Functional Overview
287, 287
SAMCOV 4270CH03
28 3.7, OC/SAM Functional Overview
TCPTOV 4270CH03
30 3.8, OCS Software Functional Overview
OLAB 4270CH04
31 Chapter 4, Sample Environment
xvii
OHW 4270CH04
31 4.1, Hardware
OSW 4270CH04
32 4.2, Software
331
ONWC 4270CH04
33 4.3, N e t w o r k Configuration
OGATT 4270CH04
35 4.3.1, OCS II Gateway Attachment Configurations
IPADDR 4270CH04
35 4.3.2, IP Address and Name Assignments
FUNCT1 4270CH04
36 4.4, Router Functions
CLIENTS 4270CH04
38 4.5, PC/DOS Windows Client in our Test Environment
OCIGATE 4270CH05
41 Chapter 5, Defining the OCS II Gateway to the Host
xvii, 61, 81, 109, 123, 133, 145, 199
OCIVMVS 4270CH05
41 5.1, VM/VSE with OCS II Gateway Attached via the IBM 3174
35
LOCSNAM 4270CH05
46 5.1.2.4, VTAM Local SNA Major Node
311, 311
OCIVSE 4270CH05
50 5.2, VSE/ESA with OCS II Gateway Attached via the
Token-Ring Adapter
35
SVTAM 4270CH05
53 5.2.3, Customization in VSE VTAM
46
OCCVS01 4270CH05
56 5.3, VSE/ESA with OSCII Gateway Attached via the OCC
35, 216
OCCVTAM 4270CH05
58 5.3.3, Customization in VSE VTAM
OCIFTPS 4270CH06
61 Chapter 6, OC/FTP S e r v e r Installation and Customization
xvii
IFTPS 4270CH06
61 6.1, OC/FTP Server Installation
81, 81, 81, 109, 123, 133, 133, 145
CFTPS 4270CH06
64 6.2, OC/FTP Server Customization
54
VSAMC 4270CH06
64 6.2.1, VSAM Customization
82
VTAMFTS 4270CH06
66 6.2.2, VTAM Customization
311
FTPSFC 4270CH06
67 6.2.3, FTP Server Customization
331
HCONFIG 4270CH06
67 6.2.3.1, CONFIG Member
73, 79, 100
HSITE 4270CH06
69 6.2.3.2, SITE Member
61, 62, 65
CUSTXLT 4270CH06
77 6.2.5, Customizing the Translation Tables
105, 118
EXITPGM 4270CH06
79 6.2.6, User Exits
221
OCIFTPC 4270CH07
81 Chapter 7, OC/FTP Client Installation and Customization
xvii, 123, 124, 124, 127, 128
IFTPC 4270CH07
81 7.1, OC/FTP Client Installation
CFTPC 4270CH07
82 7.2, OC/FTP Client Customization
22, 54
VSAMCC 4270CH07
82 7.2.1, VSAM Customization
FTPCVTM 4270CH07
83 7.2.2, VTAM Customization
111, 114
CICSC 4270CH07
88 7.2.3, CICS Customization
86
FTPCFC 4270CH07
92 7.2.4, FTP Client Customization
36, 283
FTPCDYN 4270CH07
92 7.2.4.1, DYNALL Member
81, 81, 82
FTPCAPP 4270CH07
94 7.2.4.2, FAPPL Member
86
FTPCNW 4270CH07
95 7.2.4.3, NETWORKS Member
138
FTPCL 4270CH07
97 7.2.4.4, NETWORKS LU List Member for IPFNET NETWORKS
Member
87, 87
FTPCL1 4270CH07
97 7.2.4.5, NETWORKS LU List Member for SUNNET NETWORKS
Member
87
FTPCL3 4270CH07
98 7.2.4.6, NETWORKS LU List Member for AIXNET NETWORKS
Member
FTPCHOS 4270CH07
99 7.2.4.7, HOSTS Member
FTPCCAC 4270CH07
99 7.2.4.8, CACHE Member
FTPCPAC 4270CH07
100 7.2.4.9, PACING Member
MASK 4270CH07
101 7.2.4.10, NETMASK Member
95
RESOLV 4270CH07
101 7.2.4.11, RESOLVER Member
99, 226
STRTJOB 4270CH07
104 7.2.5.3, Create the FTP Client Startup Online Job
101
OCILPD 4270CH08
109 Chapter 8, OC/Line Printer Daemon Installation and
Customization
xvii
ILPD 4270CH08
109 8.1, OC/Line Printer Daemon Installation
CLPD 4270CH08
110 8.2, OC/Line Printer Daemon Customization
LPDFC 4270CH08
112 8.2.2, LPD Customization
121
LPDCONF 4270CH08
112 8.2.2.1, LPDCONF Member
111, 274
LPDADDL 4270CH08
115 8.2.2.2, Additional Configuration Members
LPSTJO 4270CH08
117 8.2.3.2, Create the LPD Startup Job
115
CBANNER 4270CH08
119 8.2.5, Customizing the OC/Line Printer Daemon Print Banner
114
OCIRSHC 4270CH09
123 Chapter 9, OC/RSH Client Installation and Customization
xviii
IRSHC 4270CH09
123 9.1, OC/RSH Client Installation
CRSHC 4270CH09
124 9.2, OC/RSH Client Customization
RSHCICS 4270CH09
126 9.2.2, CICS Customization
RSHCRC 4270CH09
128 9.2.3, RSH Client Customization
OCITN 4270CH10
133 Chapter 10, OC/TELNET FS Installation and Customization
xviii, 287
ITN 4270CH10
133 10.1, OC/TELNET FS Installation
CTN 4270CH10
134 10.2, OC/TELNET FS Customization
26, 54
TNCC 4270CH10
137 10.2.2, TELNET Client Customization
288
TNHOST 4270CH10
138 10.2.2.3, HOSTS File
293
SYSIN 4270CH10
139 10.2.2.4, SYSIN File
136
OCISAM 4270CH11
145 Chapter 11, OC/SAM Installation and Customization
xviii
ISAM 4270CH11
145 11.1, OC/SAM Installation
SAMVER 4270CH11
149 11.1.3, Installation Verification
ISAMGST 4270CH11
150 11.2.1, GET SERVICE BY NAME Table Customization
324
OCIGTW 4270CH12
153 Chapter 12, OCS II Gateway Installation and Customization
xviii, 17
OCIGTWO 4270CH12
153 12.1, OCS II Gateway Overview
OCSGPI 4270CH12
153 12.2, Preinstallation Tasks
OCSGI 4270CH12
154 12.3, Installation
OCSGC 4270CH12
156 12.4, Customization
212
OCSGC1 4270CH12
160 12.4.1, Local Area Network (TCP/IP) Configuration
OCSGC2 4270CH12
163 12.4.2, SNA Level Data Link Configuration
200
OCSGC3 4270CH12
164 12.4.3, Physical/Logical Unit Configuration
OCSGC4 4270CH12
168 12.4.4, System Wide Configuration Options
295
OCSGC5 4270CH12
174 12.4.5, OCS II RISC/6000 Data Link Configuration
OCSGC6 4270CH12
178 12.4.6, Generate a Configuration Listing
56
OCSGC7 4270CH12
182 12.4.7, Load Configuration File Set
OCSGC8 4270CH12
183 12.4.8, Save Configuration File Set
297
OCISPC 4270CH12
184 12.5, Special Considerations
OCISPCN 4270CH12
184 12.5.1, TCP/IP Node Considerations
OCSPCH 4270CH12
185 12.5.2, Host Access Table (HAT)
PORTNO 4270CH12
186 12.6, Set up Alternative Ports for AIX TELNET and FTP
Servers
68, 171, 184, 226, 295
TCPTOGW 4270CH13
189 Chapter 13, OCS II Gateway Operation
xviii, 295
TCPGWS 4270CH13
189 13.1, Operation Samples (start,stop,status....)
156
OCIPRTS 4270CH14
193 Chapter 14, OCS Print S e r v e r Installation and Customization
xviii
OCIPRTO 4270CH14
193 14.1, OCS Print Server Overview
OCSPRTI 4270CH14
193 14.2, OCS Print Server Installation
OCSPRTC 4270CH14
195 14.3, OCS Print Server Customization
OPCUST 4270CH14
196 14.3.1, Customization of the OCS Print Server
195
CUSTDEF 4270CH14
196 14.3.1.2, Customizing the Defaults File
199
CUSTCFG 4270CH14
197 14.3.1.3, Customizing the Config File
OPGATE 4270CH14
200 14.3.2, Customization of the OCS II Gateway for OCS Print
Server
195, 201
OPVSE 4270CH14
200 14.3.3, Customization in VSE/ESA
195
OPVTAM 4270CH14
200 14.3.4, VTAM Customization
200
PSVTAM 4270CH14
201 14.3.4.1, Logmode Table OCSBIND
PSLU 4270CH14
201 14.3.4.2, VTAM LU Definition
PSCICS 4270CH14
202 14.3.5, CICS Customization
TCPTOPS 4270CH15
205 Chapter 15, OCS Print S e r v e r Operation
xviii
TCPPSS 4270CH15
205 15.1, Operation Samples (start,stop,status....)
TCPPSV 4270CH15
207 15.2, Printing Files from CICS Report Controller
OCCINST 4270CH16
209 Chapter 16, OpenConnection for Channel Installation and
Customization
xviii
OCCSUM 4270CH16
209 16.1, Installation S u m m a r y
OCCGT 4270CH16
209 16.1.1, RISC/6000 Host Software Installation
OCCSW 4270CH16
209 16.1.1.1, OCC Administration Software Installation
OCCHW 4270CH16
210 16.1.2, Installing OCC Hardware
OCCCO 4270CH16
210 16.1.3, Configuring OCC Hardware
58
OCCCI 4270CH16
212 16.1.4, OCC Customization
OCCGC 4270CH16
212 16.1.4.1, Customize OCS II Gateway
OCCSN 4270CH16
215 16.1.5, Configure the SNA Host for OCS II Gateway
OCCST 4270CH17
217 Chapter 17, OpenConnection for Channel Operation
xviii
OCCOP 4270CH17
217 17.1, OCC Operation Samples
TCPTOFS 4270CH18
219 Chapter 18, OC/FTP S e r v e r Operation and Examples
xviii, 18, 63, 65, 76
TCPFSC 4270CH18
219 18.1, Operation
TCPFSCH 4270CH18
219 18.1.1, VSE Host (FTP Server)
TCPFSCC 4270CH18
220 18.1.2, TCP/IP FTP Clients
69
TCPFSS 4270CH18
226 18.2, Operation Samples
221
TCPFSLS 4270CH18
226 18.2.1, Establish Connection to the OC/FTP Server
TCPFSSS 4270CH18
227 18.2.2, Using SITE
TCPFSSL 4270CH18
228 18.2.3, Switching/Displaying Libraries (Librarian)
TCPFSSV 4270CH18
230 18.2.4, Switching/Displaying VSAM Data Sets
TCPFSPO 4270CH18
231 18.2.5, Accessing POWER
TCPFSSJ 4270CH18
231 18.2.6, Submitting a Job to VSE/ESA
TCPFSSP 4270CH18
233 18.2.7, Sending Print Lists to VSE/ESA
TCPFSSR 4270CH18
234 18.2.8, Receiving Print Lists from VSE/ESA
FTPSPRB 4270CH18
236 18.2.9, Transferring Files to/from VSE/ESA
TCPTOFC 4270CH19
239 Chapter 19, OC/FTP Client Operation and Examples
xviii, 20, 82, 82, 92, 104
FCCS 4270CH19
239 19.1, FTP Client Command Summary
TCPFCS 4270CH19
245 19.2, Batch Operation Samples
TCPFCSB 4270CH19
245 19.2.1, Get a File from PC/DOS to VSE Library
101
TCPSKSD 4270CH19
248 19.2.2, Send a VSE/VSAM KSDS File to AIX
TCPSVSM 4270CH19
253 19.2.3, Sending a VSE/VSAM SAM File to AIX
TCPFCB1 4270CH19
259 19.2.4, Remote Directory Operations
TCPFCC 4270CH19
262 19.3, Online Operation Samples
TCPFCSO 4270CH19
262 19.3.1, Obtaining Multiple Files from AIX
TCPFCO1 4270CH19
266 19.3.2, Transferring Multiple Files to AIX
TCPFRK1 4270CH19
268 19.3.3, Moving an AIX Data File into a VSAM KSDS
TCPFRK2 4270CH19
271 19.3.4, Transferring an AIX Data File into a VSAM SAM File
TCPTOLP 4270CH20
273 Chapter 20, OC/Line Printer Daemon Operation and
Examples
xviii, 110, 118
TCPTORS 4270CH21
281 Chapter 21, OC/RSH Client Operation and Examples
xviii, 24, 124, 130
TCPRCC 4270CH21
282 21.1, OC/RSH Client Online Operation Examples
TCPRCS 4270CH21
284 21.2, Batch Operation Samples
TCPRCSB 4270CH21
284 21.2.1, RSH Batch Example
TCPTOTN 4270CH22
287 Chapter 22, OC/TELNET FS Operation and Examples
xviii, 134
TCPTNSS 4270CH22
287 22.1, Operation Samples
TCPTNSP 4270CH22
288 22.2, Working with Telnet Panels
TCPTOTS 4270CH23
295 Chapter 23, OCS II Telnet S e r v e r Operation and Examples
xix
TCPTSG 4270CH23
295 23.1, General Considerations
TCPTSS 4270CH23
295 23.2, Operation Examples
TCPTSSW 4270CH23
296 23.2.1, Telnet Server Welcome Panel
TCPTSSC 4270CH23
297 23.2.2, Telnet Server Commands Panel
TCPTSCL 4270CH23
299 23.2.3, Display OCS II Telnet Server Clients
TCPTSCO 4270CH23
299 23.2.4, Display OCS II Telnet Server Configuration
TCPTSHT 4270CH23
299 23.2.5, Display OCS II Telnet Server HAT Table
TCPTSKE 4270CH23
300 23.2.6, Display OCS II Telnet Server Keycodes
TCPTSAD 4270CH23
300 23.2.7, Display OCS II Telnet Server ′trace′ Facility
TCPTSSE 4270CH23
300 23.2.8, Display OCS II Telnet Server Services
TCPTSSH 4270CH23
301 23.2.9, Display OCS II Telnet Server Terminal Types
TCPTSST 4270CH23
301 23.2.10, Display OCS II Telnet Server Status
TCPTSTE 4270CH23
302 23.2.11, Display Terminal Characteristics
TCPTSH 4270CH23
302 23.2.12, OCS II Telnet Server Help Information
TCPTOSA 4270CH24
305 Chapter 24, OC/SAM Programming
xix
SAMTUT 4270CH24
305 24.1, TCP/IP Application Programming Tutorial
SAMOVER 4270CH24
305 24.1.1, Network Programming Overview
SAMPRG1 4270CH24
305 24.1.2, Socket Programming
SAMAD 4270CH24
306 24.1.3, Socket Addresses
TCPSAM 4270CH24
310 24.2, Running the Sample Programs
322
SAMMTAC 4270CH24
321 24.3.5, Message Transfer Agent Program Implementation and
Setup
OCISUM 4270CH25
325 Chapter 25, Implementation S u m m a r y
xix
P4 4270CH26
333 Part 3, Summary
OCSSUM 4270CH26
335 Chapter 26, OpenConnect Systems Products Functions and
Limitations S u m m a r y
xix
OCSADD 4270CH26
336 26.2, Additional OpenConnect Systems Products Summary
P5 4270AX01
339 Part 4, Job Streams and Definition Examples
APX1 4270AX01
341 Appendix A, Job Streams and Definition Examples for OCS
Products
INST 4270AX01
341 A.1, Product Installation Job Streams
VTSTR 4270AX01
341 A.2, VSE VTAM Start Options List
46, 174
ASSW 4270AX01
342 A.3, VSE TCPSW.B Switched Major Node
54, 66, 87, 111, 136, 167, 176, 201
TCPAPPL 4270AX01
344 A.4, VTAM APPL Major Node for OCS Products
66, 85, 135
USSTAB 4270AX01
345 A.5, VTAM USSTAB
137
OCSBIND 4270AX01
351 A.6, OCSBIND MODETAB for OCS Products
66, 83, 111, 134, 201
NOTICES SG244270 SCRIPT
353 Appendix B, Special Notices
ii
BIBL 4270BIBL
357 Appendix C, Related Publications
ORDER REDB$ORD
359 How To Get ITSO Redbooks
357
Index Entries
TCPIND 4270CH01
3 (1) TCP/IP
3, 5, 6, 6, 7, 7, 8, 8, 8, 9, 10, 15, 31, 160, 184, 220
FTPIND 4270CH01
3 (1) OC/FTP
18, 20, 61, 61, 62, 63, 64, 64, 66, 67, 69, 71, 73, 73, 73,
76, 76, 76, 81, 81, 82, 82, 83, 88, 90, 91, 92, 94, 95, 95,
99, 99, 100, 101, 101, 102, 102, 104, 104, 105, 219, 219,
220, 221, 222, 224, 224, 224, 225, 225, 225, 226, 226,
227, 228, 230, 230, 231, 232, 233, 236, 239, 245, 262,
262, 331, 335
RSHIND 4270CH01
3 (1) OC/RSH
24, 123, 123, 124, 124, 126, 127, 129, 129, 130, 130, 131,
282, 282, 284
SAMIND 4270CH01
3 (1) OC/SAM
28, 30, 145, 145, 310
OCSIND 4270CH01
3 (1) OCS II
16, 17, 44, 45, 48, 50, 153, 154, 156, 157, 160, 163, 164,
169, 171, 174, 176, 176, 178, 189, 189, 190, 191, 295,
297, 302
TELIND 4270CH01
3 (1) Telnet
17, 26, 133, 133, 134, 134, 135, 135, 137, 137, 137, 138,
139, 141, 141, 142, 142, 143, 171, 287, 287, 289, 291,
292, 293, 336
VTAMIND 4270CH01
3 (1) VTAM
26, 44, 44, 45, 45, 46, 46, 48, 48, 48, 49, 49, 53, 53, 54,
58, 66, 66, 66, 67, 83, 83, 83, 87, 88, 89, 94, 110, 111,
111, 124, 124, 134, 134, 135, 136, 137, 200, 201, 201
CICSIND 4270CH01
3 (1) CICS
88, 88, 89, 90, 126, 127, 202, 203
VMIND 4270CH01
3 (1) VM/ESA
44, 44, 44, 44, 45
VSEIND 4270CH01
3 (1) VSE/ESA
6, 26, 44, 44, 48, 52, 52, 52, 58, 225
OCC 4270CH02
8 (1) Open Connection for Channel (OCC)
8, 11, 12, 12
ROUTYPE 4270CH04
36 (1) Route type
ROUTALG 4270CH04
36 (1) Route algorithm
TOKIND 4270CH05
50 (1) Token-Ring adapter
52, 52, 52, 53, 53, 54, 177
OCCVS01 4270CH05
56 (1) OCC
FTPSSEC 4270CH06
69 (1) Security
73
UEXIT 4270CH06
69 (1) Security
(2) FTPSXIT1
OCSERR 4270CH06
69 (1) E r r o r
71, 101, 236
TRANCUT 4270CH06
76 (1) Translation table customize
105
USREXIT 4270CH06
78 (1) User exits
PRTIND 4270CH14
193 (1) OCS Print Server Installation and Customization
193, 193, 195, 196, 196, 197, 200, 200, 202, 205, 205,
205, 205, 205, 205, 206, 207
OCCIN 4270CH16
209 (1) OpenConnection for Channel (OCC)
209, 209, 209, 210, 210, 212, 212, 212, 213, 215, 217
OCCST 4270CH17
217 (1) OpenConnection for Channel (OCC) Operation
EXAMS 4270CH18
226 (1) example on OC/FTP Server
226, 228, 230, 231, 231, 233, 234, 236
SHELLPG 4270CH18
231 (1) Shell script
232, 233
EXAMC 4270CH19
245 (1) example on OC/FTP Client
248, 253, 259, 262, 266, 268, 271
Tables
OCST1 4270CH02
9 1
9
OCST2 4270CH02
10 2
10
TIPADDR 4270CH04
36 3
35, 96, 99, 138, 138
ROUTAB 4270CH04
37 4
37
TSITE 4270CH06
70 5
69
LPQUEUE 4270CH08
115 6
TDEF 4270CH14
197 7
196
TCONF 4270CH14
199 8
198
FTPSHC 4270CH18
220 9
220
FTPSCC 4270CH18
222 10
221
FTPSCC2 4270CH18
225 11
224
FTPCC1 4270CH19
239 12
239
FTPCJC 4270CH19
262 13
262, 262, 282
RSHCJC 4270CH21
282 14
282
Processing Options
Runtime values:
Document fileid ........................................................................................... SG244270 SCRIPT
Document type ............................................................................................ USERDOC
Document style ........................................................................................... REDBOOK
Profile ........................................................................................................... EDFPRF30
Service Level .............................................................................................. 0029
SCRIPT/VS Release ................................................................................... 4.0.0
Date .............................................................................................................. 96.09.03
Time .............................................................................................................. 04:55:33
Device .......................................................................................................... 3820A
Number of Passes ...................................................................................... 4
Index ............................................................................................................. YES
SYSVAR D .................................................................................................... YES
SYSVAR G ................................................................................................... INLINE
SYSVAR S .................................................................................................... OFFSET
SYSVAR X .................................................................................................... YES
Page 0 4270SU
Page 0 4270VARS
Page 0 REDB$BOE
Page i REDB$ED1
Page i 4270EDNO
Page i REDB$ED2
Page xvii 4270ABST
Page xvii 4270ORG
Page xix 4270ACKS
Page xix REDB$COM
Page xx 4270MAIN
Page xx 4270CH01
Page 4 4270CH02
Page 12 4270CH03
Page 30 4270CH04
Page 40 4270CH05
Page 59 4270CH06
Page 79 4270CH07
Page 107 4270CH08
Page 121 4270CH09
Page 131 4270CH10
Page 143 4270CH11
Page 152 4270CH12
Page 187 4270CH13
Page 191 4270CH14
Page 204 4270CH15
Page 207 4270CH16
Page 216 4270CH17
Page 218 4270CH18
Page 237 4270CH19
Page 272 4270CH20
Page 279 4270CH21
Page 285 4270CH22
Page 294 4270CH23
Page 303 4270CH24
Page 324 4270CH25
Page 331 4270CH26
Page 338 4270AX01
Page 353 4270SPEC
Page 353 REDB$SPE
Page 354 4270TMKS
Page 355 4270BIBL
Page 358 REDB$ORD