Add Site or Add Page to Favorites
>

 Connecting to UNIX on z/OS via Telnet 

Preview DRM-free music
Play clips of the most popular DRM-Free music in MP3 format
Legal Music .com

Get information on your favorite TV Shows at TV Series .com

Clarify the meaning of the acronyms on your web site.

Acronym Dictionary

Acronym Finder

Social Networking Web Sites

Register your own domain name at A to Z Domains.

or buy domains at Domain Names For Sale .net


Printer-friendly PDF* format:

How To Guides for UNIX System Services on z/OS

This Section

How To Guides for UNIX System Services on z/OS

Set up the user ID

In the installed security package, the user ID should be configured with a UNIX UID and a home directory. Under the covers, UNIX file systems identify users by their UID (not their username), so for any particular user, the same unique UID should be used on all systems that the user logs into. The home directory, usually /home/username , should be located in a file system that is separate from operating system files, so that users home directories can be carried forward whenever the OS file systems are replaced with new versions.

Make sure the inetd process is running

If you have access to all processes on the system, the following command can be used to determine if the inetd process is running:

ps -ef | grep inetd

The DISPLAY OMVS,A command can also be used.

Set up inetd to start Telnet processes

If the inetd process is not running, or if you get a Connection refused error, check the configuration.

  1. Make sure Telnet is defined in the /etc/services file: grep -i telnet /etc/services
    otelnet 2222/tcp
  2. Make sure Telnet is defined in the /etc/inetd.conf file: grep -i telnet /etc/inetd.conf
    otelnet stream tcp nowait OMVSKERN /usr/sbin/otelnetd otelnetd -l
    After changing inetd.conf, simply kill the inetd process to restart it with the changes to the inetd.conf file. If it does not restart automatically, it can be restarted manually.
  3. Make sure inetd is configured to start automatically when the system is IPLed: grep -i inetd /etc/rc
    _BPX_JOBNAME='INETD' /usr/sbin/inetd /etc/inetd.conf &

inetd can also be started by entering the command in /etc/rc on the command line.

Set up the Telnet connection

When configuring the Telnet connection, use the following options:

  • Use a Telnet connection (not TN3270).
  • Make sure the connection is configured to connect to the Telnet port, not TN3270. Since the mainframe uses the default Telnet port number 23 for TN3270 connections, the port number for a Telnet connection to UNIX will probably be something else. The following command can be used to determine the port number that needs to be used: grep -i telnet /etc/services
    otelnet 2222/tcp
    In the example above, 2222 is the Telnet port number.
  • Set up the connection for emulation of a DEC VT220 or ANSI terminal. You can verify that the type of terminal recognized by the server using: echo $TERM
    vt220
  • Configure the keyboard options so that the backspace key sends Backspace, not Delete.
  • Turn on the terminal "autowrap" option so that output automatically wraps at the right margin of the screen.

Last updated Tuesday October 17, 2006

You are currently viewing this page in HTML 5 XML* format (* see Clicklets for more infomation). This document is also available in XML* HTML 5 non-XML*XHTML 1 Style Sheet*HTML 5 Style Sheet* XHTML 1* HTML 4* XHTML 2* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.


Copyright © 2006 How To Guides .com. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.

DISCLAIMER: All information, links, forms, applications and other items on this site or obtained from it are provided AS IS, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.