# DIGITAL TCP/IP Services for OpenVMS
User's Guide

Begin

## Contents (summary)

- Chapter 1 Getting Started
- Chapter 2 Accessing User Information Using the Finger Utility
- Chapter 3 Working with Files Using File Transfer (FTP)
- Chapter 4 Using Remote (R) Commands
- Chapter 5 Establishing Network Terminal Sessions Using TELNET/TN3270
- Chapter 6 Sending and Receiving E-Mail Using SMTP
- Chapter 7 Printing Files Using LPR/LPD
- Appendix A Finger Error and Status Messages
- Appendix B FTP Error and Status Messages
- Appendix C Remote (R) Command Error and Status Messages
- Appendix D TELNET/TN3270 Error and Status Messages
- Index
- Figures
- Tables

## Contents

- Chapter 1 Getting Started
  - 1.1 Which Service Do You Use?
    - 1.1.1 Services for Working with Files
    - 1.1.2 Services for Remote Logins
    - 1.1.3 Services for Issuing Commands at a Remote Host
  - 1.2 Client and Server Software
  - 1.3 User Commands
  - 1.4 Command Syntax
  - 1.5 Online Help

- Chapter 2 Accessing User Information Using the Finger Utility
  - 2.1 Typing Finger Commands
    - 2.1.1 Quotation Marks
    - 2.1.2 Wildcards
    - 2.1.3 Qualifiers
  - 2.2 Obtaining Online Help
  - 2.3 Displaying Information about Users
    - 2.3.1 Displaying Information About All Users
    - 2.3.2 Displaying Detailed Information About Specific Users
    - 2.3.3 Displaying Information about Users on Your Cluster
  - 2.4 Forwarding Information from Host to Host
  - 2.5 Making Your Information Available to Other Users
  - 2.6 Command Description
  - Command 1 FINGER

- Chapter 3 Working with Files Using File Transfer (FTP)
  - 3.1 Typing FTP Commands
    - 3.1.1 DCL and UNIX Command Formats
    - 3.1.2 Quotation Marks
    - 3.1.3 Wildcards
    - 3.1.4 Qualifiers
  - 3.2 Obtaining Online Help
  - 3.3 Customizing FTP Command Processing
  - 3.4 Starting FTP Sessions
    - 3.4.1 Making a Remote Connection
    - 3.4.2 Anonymous User Access (Anonymous FTP)
  - 3.5 Exiting FTP
  - 3.6 Command Procedures
    - 3.6.1 Task Command Files
    - 3.6.2 Initialization Command File
  - 3.7 Displaying and Changing the Default Directory
  - 3.8 Creating and Deleting Directories
  - 3.9 Viewing Directories on the Remote Host
  - 3.10 Renaming and Deleting Files
  - 3.11 Appending Files
  - 3.12 Viewing the Contents of a File
  - 3.13 Copying Files
    - 3.13.1 Using the GET Command to Copy Remote Files to the Local Host
    - 3.13.2 Using the PUT Command to Copy Local Files to the Remote Host
    - 3.13.3 How FTP Copies Files
    - 3.13.4 Store Unique
    - 3.13.5 Transfers Between OpenVMS Hosts: VMS Plus Mode
    - 3.13.6 Preserving OpenVMS File Attributes
    - 3.13.7 Transfer Mode
    - 3.13.8 File Structure
  - 3.14 Using FTP with DECnet
  - 3.15 Printing
    - 3.15.1 Print Form
    - 3.15.2 Examples Using FTP to Print
  - 3.16 Suspending FTP to Return to the Local DCL Prompt
  - 3.17 Command Descriptions
  - Command 2 APPEND
  - Command 3 CONNECT
  - Command 4 CREATE/DIRECTORY
  - Command 5 DELETE
  - Command 6 DIRECTORY
  - Command 7 DISCONNECT
  - Command 8 ENABLE (DISABLE) LOG
  - Command 9 ENABLE (DISABLE) PARSE
  - Command 10 ENABLE (DISABLE) PORT_COMMAND
  - Command 11 ENABLE (DISABLE) REPLY
  - Command 12 ENABLE (DISABLE) TRANSFER_VERIFICATION
  - Command 13 ENABLE (DISABLE) VMS_PLUS
  - Command 14 EXIT
  - Command 15 FTP
  - Command 16 GET
  - Command 17 HELP
  - Command 18 LOGIN
  - Command 19 PUT
  - Command 20 QUOTE
  - Command 21 RENAME
  - Command 22 SET DEFAULT
  - Command 23 SET ERROR_LEVEL
  - Command 24 SET TYPE
  - Command 25 SHOW DEFAULT
  - Command 26 SHOW STATUS
  - Command 27 SPAWN
  - Command 28 VIEW

- Chapter 4 Using Remote (R) Commands
  - 4.1 Providing Account and Password Information
    - 4.1.1 Quotation Marks
    - 4.1.2 Examples
  - 4.2 Specifying Qualifiers
  - 4.3 Obtaining Online Help
  - 4.4 Copying Files with RCP
    - 4.4.1 Example RCP Commands
  - 4.5 Starting a Remote Login Session with RLOGIN
    - 4.5.1 Logging Out
    - 4.5.2 Example RLOGIN Sessions
  - 4.6 Issuing a Remote Command with RSH
    - 4.6.1 Quotation Marks in Commands
    - 4.6.2 Interrupting a Command's Execution
    - 4.6.3 Example RSH Commands
  - 4.7 Issuing a Remote Command with a Password (REXEC Feature)
    - 4.7.1 Example REXEC Use
  - 4.8 Command Descriptions
  - Command 29 RCP
  - Command 30 REXEC
  - Command 31 RLOGIN
  - Command 32 RSH

- Chapter 5 Establishing Network Terminal Sessions Using TELNET/TN3270
  - 5.1 Typing TELNET/TN3270 Commands
    - 5.1.1 DCL and UNIX Command Formats
    - 5.1.2 Quotation Marks
  - 5.2 Obtaining Online Help
  - 5.3 Starting TELNET and TN3270
  - 5.4 Exiting TELNET and TN3270
  - 5.5 Keeping a Log of Your TELNET/TN3270 Session
  - 5.6 Command Procedures
    - 5.6.1 Starting TELNET/TN3270
    - 5.6.2 Initialization Command Files
  - 5.7 Toggling Between the Remote Host and Local TELNET/TN3270
  - 5.8 Suspending TELNET to Return to the Local DCL Prompt
  - 5.9 Multiple Sessions
    - 5.9.1 Toggling Between Open Sessions
    - 5.9.2 Displaying Session Information
  - 5.10 Customizing TELNET/TN3270 Transmissions, Control Characters, and Displays
  - 5.11 Sending Commands to the Connected Remote Host
  - 5.12 IBM 3270 Model Terminal Emulation (TN3270)
    - 5.12.1 Supported IBM Terminal Models
    - 5.12.2 Setting Up Your PC or Terminal for IBM 3270 Terminal Emulation
      - 5.12.2.1 VT200-Series Terminal Setup
      - 5.12.2.2 VT100-Series Terminal Setup
    - 5.12.3 Starting and Exiting from TN3270
    - 5.12.4 Getting Status
    - 5.12.5 Clearing Error Messages
    - 5.12.6 Recording Sessions
    - 5.12.7 Online Help
    - 5.12.8 If the Keyboard Locks
    - 5.12.9 Keyboard Functions
      - 5.12.9.1 Associated Documentation
    - 5.12.10 Redefining Your Keyboard
      - 5.12.10.1 Functions You Can Redefine
      - 5.12.10.2 Keys You Can Define
      - 5.12.10.3 Keys You Cannot Define
      - 5.12.10.4 Redefining Keys
      - 5.12.10.5 Creating a Key Definition File
      - 5.12.10.6 Interactive Definitions: DEF KEY Function
    - 5.12.11 TN3270 Problem Solving
    - 5.12.12 Debugging Application Programs Using the IBM 3270 Model Terminal Emulator
      - 5.12.12.1 Entering and Exiting Visible Attribute Mode
      - 5.12.12.2 Visible Attribute Mode Displays
  - 5.13 Command Descriptions
  - Command 33 CONNECT
  - Command 34 CREATE_SESSION
  - Command 35 DELETE_SESSION
  - Command 36 DISCONNECT
  - Command 37 ENABLE (DISABLE) AUTOFLUSH
  - Command 38 ENABLE (DISABLE) AUTOSYNCH
  - Command 39 ENABLE (DISABLE) BINARY
  - Command 40 ENABLE (DISABLE) CRLF
  - Command 41 ENABLE (DISABLE) CRMOD
  - Command 42 ENABLE (DISABLE) DEBUG
  - Command 43 ENABLE (DISABLE) LOCAL_CHARS
  - Command 44 ENABLE (DISABLE) OPTIONS_VIEW
  - Command 45 EXIT
  - Command 46 HELP
  - Command 47 RESUME
  - Command 48 SEND AO
  - Command 49 SEND AYT
  - Command 50 SEND BRK
  - Command 51 SEND EC
  - Command 52 SEND EL
  - Command 53 SEND GA
  - Command 54 SEND IP
  - Command 55 SEND NOP
  - Command 56 SEND SYNCH
  - Command 57 SET ECHO
  - Command 58 SET ERASE
  - Command 59 SET ESCAPE
  - Command 60 SET FLUSHOUTPUT
  - Command 61 SET INTERRUPT
  - Command 62 SET KILL
  - Command 63 SET MODE
  - Command 64 SET QUIT
  - Command 65 SET TERMINAL
  - Command 66 SHOW PARAMETERS
  - Command 67 SHOW SESSION
  - Command 68 SHOW STATUS
  - Command 69 SPAWN
  - Command 70 TELNET
  - Command 71 TN3270

- Chapter 6 Sending and Receiving E-Mail Using SMTP
  - 6.1 Obtaining Online Help
  - 6.2 Sending Mail
  - 6.3 Sending Mail to Multiple Users
    - 6.3.1 Typing a List of Names
    - 6.3.2 Distribution Lists
  - 6.4 Receiving Mail
  - 6.5 OpenVMS Mail Personal Name String
  - 6.6 Carbon-Copying Messages
  - 6.7 Forwarding Messages
  - 6.8 Using Mail from Your PC
  - 6.9 Using the UNIX-to-UNIX Copy Program
    - 6.9.1 Dialup Connections
  - 6.10 UCX Management Commands for Mail
    - 6.10.1 Displaying SMTP Mail Status Information
    - 6.10.2 Deleting Holding State Mail Messages from SMTP Queues
    - 6.10.3 Releasing Holding State SMTP Mail Messages for Delivery

- Chapter 7 Printing Files Using LPR/LPD
  - 7.1 Printing at Remote Print Queues
    - 7.1.1 PRINT Command: /FORM Qualifier
    - 7.1.2 PRINT Command: /PARAMETERS Qualifier
      - 7.1.2.1 /PARAMETERS Qualifier: Host and Printer Options
      - 7.1.2.2 /PARAMETERS Qualifier: MAIL Option
      - 7.1.2.3 /PARAMETERS Qualifier: NOFLAG Option
    - 7.1.3 Remote Queue Printing Examples
  - 7.2 Displaying the Status of Jobs in a Remote Print Queue
  - 7.3 Removing Jobs from the Print Queue
  - 7.4 Printing Remote UNIX Files on Local Queues
  - 7.5 Obtaining Online Help
  - 7.6 Command Descriptions
  - Command 72 LPQ
  - Command 73 LPRM
  - Command 74 PRINT

- Appendix A Finger Error and Status Messages

- Appendix B FTP Error and Status Messages
  - B.1 Server Error Messages
  - B.2 Client Error Messages

- Appendix C Remote (R) Command Error and Status Messages
  - C.1 RSH and RLOGIN Error Messages
  - C.2 RCP Error Messages
  - C.3 Status Return Codes

- Appendix D TELNET/TN3270 Error and Status Messages
  - D.1 TELNET Error Messages
  - D.2 TN3270 Messages
  - D.3 TN3270 Status Line Messages

- Index

- Figures
  - 1-1 FTP Client and Server Software Interacting
  - 3-1 The GET Command
  - 3-2 The PUT Command

- Tables
  - 1-1 Facilities to Use for Specific Needs
  - 2-1 Ways of Displaying Information
  - 3-1 FTP Commands: Summary
  - 4-1 Remote (R) Commands: Summary
  - 4-2 RCP Command: Specifying the Source File
  - 5-1 TELNET/TN3270 Commands: Summary
  - 5-2 TELNET SHOW STATUS Display: Terminology
  - 5-3 TELNET Transmission Modes
  - 5-4 Sending Commands to the Remote Host
  - 5-5 TELNET --- Supported IBM 3270 Model Terminals
  - 5-6 TN3270: Definable Keys
  - 5-7 Visible Attribute Mode: Displays
  - 6-1 UCX Commands for Using SMTP
  - 7-1 Network Printing Commands: Summary
  - D-1 TN3270 Status Line Messages and Meanings

Next