Description:
TCPaccess can run with or without connecting to OMVS. Most current applications using sockets require that the stack supply OMVS connectivity. This document outlines how to enable that connectivity.
Solution:
Here are the instructions regarding setup of TCPaccess 6.0 to run with OMVS.
SET PROFILE(USER) DIV(OMVS) INSERT tcpaccess_user UID(0) HOME(/) PROGRAM(/bin/sh)
TSS ADD(tcpaccess_user) HOME(/) OMVSPGM(/bin/sh) UID(0) GROUP(OMVSGRP)
ALU tcpaccess_user OMVS(UID(0) HOME(/) PROGRAM(/bin/sh))
Note: The OMVS segment must contain the following:
- A home directory (HOME)
- A login shell (PROGRAM or OMVSPGM)
In the above examples we are using the USS default values.
Please change to match your environment if required.
Once you have completed this process, you can confirm the contents of the OMVS segment using the following commands:
SET PROFILE(USER) DIV(OMVS) LIST tcpaccess_user
TSS LIS(tcpaccess_user) DATA(ALL)
LISTUSER tcpaccess_user OMVS NORACF
SYSUNIQ SYSNAME(hostname)Where hostname specifies a 1 to 64 character value value (without any dotted notation) that uniquely identifies the TCPIP stack for USS / OE functions. Details are available in the Customization Guide Chapter 3, section on defining Stack Unique Settings.
Please be aware that PTF TP10072 (SP3) adds case sensitivity to this statement, so please Ensure that the hostname value is in uppercase unless lowercase is specifically desired.
MAXPROCSYS(200) MAXPROCUSER(25) MAXUIDS(200) MAXFILEPROC(1024) MAXPTYS(256) CTRACE(CTIBPX00) STEPLIBLIST('/SYSTEM/STEPLIB') FILESYSTYPE TYPE(HFS) ENTRYPOINT(GFUAINIT) FILESYSTYPE TYPE(SNSTCP60) <=======We recommend that this parameter match the STC name of your TCPaccess stack ENTRYPOINT(T010PFSA) <=======Entrypoint for 6.0 stack, supports asynch sockets PARM('SYSID(ACSS)') NETWORK DOMAINNAME(AF_INET) DOMAINNUMBER(2) MAXSOCKETS(4096) TYPE(SNSTCP60) <========Matches FILESYSTYPE TYPE parameter ROOT FILESYSTEM('OMVS.ROOT522') TYPE(HFS) MODE(RDWR) MOUNT FILESYSTEM('DEV.OMVS.HFS') MOUNTPOINT('/u') TYPE(HFS) MODE(RDWR) MAXTHREADTASKS(50)
MAXPROCSYS(200) MAXPROCUSER(25) MAXUIDS(200) MAXFILEPROC(1024) MAXTHREADTASKS(50) MAXPTYS(256) CTRACE(CTIBPX00) STEPLIBLIST('/etc/steplib') FILESYSTYPE TYPE(HFS) ENTRYPOINT(GFUAINIT) FILESYSTYPE TYPE(CINET) ENTRYPOINT(BPXTCINT) SUBFILESYSTYPE NAME(SNSTCP60) ) <==== This parameter must match the STC name of your TCPaccess stack DEFAULT PARM('SYSID(ACSS)') TYPE(CINET) ENTRYPOINT(T010PFSA SUBFILESYSTYPE NAME(TCPIP) TYPE(CINET) ENTRYPOINT(EZBPFINI) NETWORK DOMAINNAME(AF_INET) DOMAINNUMBER(2) INADDRANYPORT(20000) INADDRANYCOUNT(1000) MAXSOCKETS(60000) TYPE(CINET) ROOT FILESYSTEM('OMVS.ROOT522') TYPE(HFS) MODE(RDWR) MOUNT FILESYSTEM('DEV.OMVS.HFS') MOUNTPOINT('/u') TYPE(HFS) MODE(RDWR) MAXTHREADTASKS(50)Here is a sample setup for the hlq.TCPIP.DATA dataset that is pointed to using a SYSTCPD DD statement. The syntax is also correct, so this can be cut and pasted to a mainframe FB 80 dataset. This can be either a sequential dataset or PDS.
;started task name of your TCPaccess stack TCPIPJOBNAME SNSTCP60 ; ;name of your domain DOMAINORIGIN CA.COM ; ;IP address of domain nameserver, normally matches DNRNSCxx ;use multiple statements if you use more than one nameserver ;omit if you run the stack in LOCAL mode. NSINTERADDR 10.253.27.133 ; ;VMCFNAME if you are running IUCV, default is VMCF ;not needed if you are not running IUCV ;if running IBM?s VMCF use a non-default value to avoid conflicts VMCFNAME VMCF ; ;TCPaccess subsystem-ID, default is ACSS DNRSSID ACSS ; ;hlq for set of 5 MVS datasets ;you may not have these set up. Set to the same hlq as this dataset. DATASETPREFIX SNSTCP ; ;first qualifier of the fully qualified host name of the stack ;HOSTNAME + DOMAINORIGIN = fully qualified hostname. HOSTNAME FRED ; ;the following values are the defaults used in this dataset. ;they may be coded or omitted. NSPORTADDR 53 RESOLVEVIA UDP RESOLVERTIMEOUT 30 RESOLVERUDPRETRIES 1 ; ; ; ;The following are additional parameters that you may want to use for ;OE/USS applications. Please be aware that these are NOT used by ;TCPaccess, but by the IBM RESOLVER. Thus they will be ignored by ;TCPaccess HPNS or IUCV applications where name resolution is done ;through the TCPaccess DNR tables, thus they are all commented out in ;this example. ;For more information regarding use of these parameters please consult ;the appropriate IBM manuals. ; ;The SEARCH parameter is used instead of DOMAINORIGIN if your ;environment has multiple domain names that may need to be searched ;through. Domain names are delimited by a space. ;Be sure to comment out DOMAINORIGIN if using this. ; ;EXAMPLE: ;SEARCH MYCA.COM YOURCA.COM CA.COM ; ; ;The LOOKUP parameter denotes whether or not you want to use local DNS ;tables before accessing the nameserver. ; ;EXAMPLE: ;LOOKUP LOCAL DNS ; ;The COMMONSEARCH / NOCOMMONSEARCH overrides what is defined in ;RESOLVER. ; ;EXAMPLE: ;COMMONSEARCH