# tcl3270 Manual Page

## Contents

> Name
> Synopsis
> Description
> tcl3270-Specific Options
> See Also
> Copyrights
> Version

## Name

tcl3270 - IBM host access tool

## Synopsis

tcl3270 [script [script-arg...]] [-- [tcl3270-options] [s3270-options] [host|session-file.tcl3270]
tcl3270 -v
tcl3270 --help

## Description

tcl3270 opens a telnet connection to an IBM host, then allows a Tcl script to control the host login session. It is derived from s3270(1), a script-based IBM 3270 emulator.

For each action supported by s3270, tcl3270 defines a correcponding Tcl command. The result of the Tcl command is the output of the s3270 action. If the output is one line, the result is a string. If the output is multiple lines, the result is a list of strings.

On the command line, a session file can be named either name.tcl3270 or name.s3270. Resource values, such as those used in -rm options or in a session file, can be specified as tcl3270.resource or s3270.resource.

## tcl3270-Specific Options

-d
  Turns on debugging information, tracing data going between tcl3270 and s3270.

  ## See Also

  s3270(1)

  ## Copyrights

  Copyright © 1993-2020, Paul Mattes.
  Copyright © 2004-2005, Don Russell.
  Copyright © 2004, Dick Altenbern.
  Copyright © 1990, Jeff Sparkes.
  Copyright © 1989, Georgia Tech Research Corporation (GTRC), Atlanta, GA 30332.
  All rights reserved.

  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  *
    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  *
    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  *
    Neither the names of Paul Mattes, Don Russell, Dick Altenbern, Jeff Sparkes, GTRC nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission.

  THIS SOFTWARE IS PROVIDED BY PAUL MATTES, DON RUSSELL, DICK ALTENBERN, JEFF SPARKES AND GTRC "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PAUL MATTES, DON RUSSELL, DICK ALTENBERN, JEFF SPARKES OR GTRC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

  ## Version

  tcl3270 4.0ga10

  This HTML document and the accompanying troff document were generated with a set of write-only m4 macros and the powerful vi editor.
  Last modified 07 July 2020.