home *** CD-ROM | disk | FTP | other *** search
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- B e a r B o n e $
- "The IND$FILE Compatible External File Transfer Protocol"
- Copyright (c) 1993 Computer Vectors, Inc. All rights reserved.
- TECHNICAL REFERENCE MANUAL
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-
- Computer Vectors, Inc.
- 74-5599 Luhia St., Suite E-7
- Kailua-Kona, Hawaii 96740
-
- Marketing.............1-800-262-RCOM
- Executive.............1-808-329-6645
- Tech Support..........1-808-329-5426
- Bulletin Board........1-808-329-5142
- FAX...................1-808-329-6523
-
-
- ******************************************************************************
-
-
- INTRODUCTION
- =-=-=-=-=-=-
-
- BEAR BONE$ is a IND$FILE external protocol designed to work with most any PC
- based asynchronous communications package. It allows the user to transfer text
- and binary files to and from IBM hosts that support IND$FILE.
-
-
- REQUIREMENTS
- =-=-=-=-=-=-
-
- You will need a asynchronous communications package such as PROCOMM Plus,
- PROCOMM for Windows, Q-MODEM, MTEZ, etc.. It must support the use of external
- protocols OR have the ability to shell-out to DOS while on-line. It must
- also emulate one of the following terminals: VT100, 3101, FTTERM, or ANSI.
-
- NOTE FOR WINDOWS USERS:
-
- Two options: BDR=<number> and BST=ABC (explained near the end of the
- "BEAR BONE$ PARAMETERS" section) must be set to use BEAR BONE$ with a
- true Windows communications product. These options deal with the way
- Windows resets the communications port when opening a "DOS BOX".
-
- Among others, BEAR BONE$ is compatible with the following protocol converters:
-
- IBM 3708
- IBM 3174 w/AEA
- IBM 7171
- IBM 9370
-
- DATALYNX 3174
- INTERLYNX
-
- HYDRA II
- HYDRA SNA
- HYDRA 3000
-
- Please call if you have a protocol converter that is not on the list.
-
-
- DETERMINING THE IND$FILE VERSION
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- Before you attempt a transfer, it is important to find out what version of
- IND$FILE is running on the host. Please follow the steps below:
-
- 1) Dial or connect to the host using your terminal emulation software;
- 2) Log on to your account;
- 3) Get to the "Ready" state by issuing a "Clear-Screen" command or
- "Control-C";
- 4) Type "IND$FILE ?", followed by the <Enter> key;
- 5) If version 1.1.1 is running, a message similar to the following will
- appear on your screen:
- IBM File Transfer Program: Version 1.1.1
- PTF: 0000000 Date: 05/14/88 Size: lrecl (19768) x 3
- In this case, you should specify the following options in your
- parameter file (more on parameter files in the next section):
- SEN=IND$FILE PTP
- REC=IND$FILE GTP
- otherwise;
- 6) If version 1 is running, you will receive a message such as:
- CaaaTRANS16 Incorrect request code: file transfer canceled$
- The following options need be in your parameter file:
- SEN=IND$FILE PUT
- REC=IND$FILE GET
- Also, check with your system operator to see if non-display fields are
- available. If they are not, you will get "time-out" errors when you try
- to transfer. Contact CVI's tech support at 1-808-329-5426 if you need
- further assistance or advice on this issue.
-
-
- INVOKING BEAR BONE$
- =-=-=-=-=-=-=-=-=-=
-
- Before invoking BEAR BONE$, be sure that you are in the "READY" state on the
- host. This is normally done by hitting the "Clear" key or Control-C. The
- structure of a BEAR BONE$ command line looks like the following:
-
- BONE$ <Param-file> PUT|GET <PC-file> <MF-file> <MF-options>
-
- <Param-file> is the name of a file containing multiple lines of BEAR BONE$
- options (see BEAR BONE$ OPTIONS below). Here is a sample parameter file
- (Note that comment lines start with a semicolon, and empty lines are
- permitted):
-
- ;***********************************
- ;*** VM IND$FILE on a 3174 w/AEA ***
- ;***********************************
-
- ; send and receive commands
- SEN=IND$FILE PTP
- REC=IND$FILE GTP
-
- ; err-check method, type-ahead buffer length, etc..
- ERR=AUTO
- BUF=2000
- BLK=1000
- DLY=7
-
- ; terminal type and key sequences
- TRM=FTTERM
- ENT=^M
- RHT=^[C
- RST=^R
- PF1=^[1
- PF2=^[2
- PRE=^[>^[o
- PST=^[<<^[p
-
- ; communication port options
- PRT=1
- ADR=0
- IRQ=0
-
- Unless a path is specified for the parameter file, BEAR BONE$ will first try
- and open a perameter file from the same path where the BEAR BONE$ executable is
- located. If it can't find it, BEAR BONE$ will try and open it from your
- current path. This means the user is able to conveniently place all of his/her
- parameter files in one directory.
-
- Next on the command line, you need to specify either a PUT to send a file to
- the host, or a GET to download a file from the host. You may abbreviate these
- to P and G. Also, SEND and RECEIVE are valid and will perform the same
- functions as PUT and GET.
-
- <PC-file> is the name of the file on the PC. If you are doing a PUT, data is
- read from this file and transmitted to the host. If you are doing a GET,
- this file is created and host data is written to it.
-
- <MF-file> is a proper file name, or data set name on your mainframe.
- <MF-options> are file format and translation options that are available
- on your mainframe IND$FILE program (see MAINFRAME OPTIONS below).
-
-
- EXTERNAL PROTOCOL SETUP FOR PROCOMM-Plus
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- From PROCOMM's terminal mode, hit ALT-S to bring up the setup menu, then select
- PROTOCOL OPTIONS. Next, select EXTERNAL PROTOCOL OPTIONS. Here is a sample
- setup for BEAR BONE$:
-
- EXTERNAL PROTOCOL 1
- A- Name ................ BONE$
- B- Type ................ PROGRAM
- C- Upload command ...... BONE$ VM PUT
- H- Download command .... BONE$ VM GET
-
-
- EXTERNAL PROTOCOL SETUP FOR QMODEM
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- Type ALT-N from QMODEM's terminal mode. Next, select the PROTOCOLS pull down
- menu. Here is a sample setup:
-
- Select Character $
- Protocol BONE$
- Upload BAT BONE$ VM PUT
- Download BAT BONE$ VM GET
- Filename Prompt Y
-
-
- FILE TRANSFER IN PROGRESS
- =-=-=-=-=-=-=-=-=-=-=-=-=
-
- BEAR BONE$ is somewhat unique, in that you can actually "see" the transfer
- taking place, frame by frame. Progress is displayed on the 25th line in the
- following format:
-
- Frames: 4 Bytes sent: 1923 of 5409, 48% Retries: 0
-
- To cancel the transfer at any time, you may press any key.
-
- Upon completion, BEAR BONE$ will notify the user by emitting several high
- pitch beeps along with a "file transfer complete" message. If the transfer
- was not successful, BEAR BONE$ will emit alternating low pitch beeps and
- an error message.
-
-
- BEAR BONE$ OPTIONS
- =-=-=-=-=-=-=-=-=-
-
-
- SEN=<string>
-
- This is the string that BEAR BONE$ will send to the mainframe to invoke
- an upload. You would normally use IND$FILE PTP if your mainframe is
- running version 1.1.1 of IND$FILE, or IND$FILE PUT if your mainframe
- is running version 1 of IND$FILE.
-
- **************************************************************************
-
- Note: <string> may be any combination of the following definitions:
-
- Normal displayable ASCII characters:
- IND$FILE PTP
-
- ASCII DIGITS surrounded by parenthesis and separated with spaces:
- (123 12 32 42)
-
- HEXADECIMAL DIGITS surrounded by less-than/greater-than symbols and
- separated with spaces:
- <0F 1B C4 12>
-
- ASCII CONTROL CHARACTERS may be defined by using the carat (^)
- followed by an ASCII character in the range of 64-95 (DECIMAL) or
- 40-5F (HEXADECIMAL):
- ^C^M
-
- The following examples are all identical:
- ^[J1
- <1B>J1
- (27)J1
- ^[<4A 32>
- (27 74 49)
-
- ***************************************************************************
-
- REC=<string>
-
- BEAR BONE$ will send this string to the mainframe to initiate a download.
- You should use either IND$FILE GTP (v1.1.1) or IND$FILE GET (v1).
-
- ERR=AUTO|CHECKSUM|CRC
-
- This option is only available for uploads.
-
- ERR=AUTO will cause BEAR BONE$ to determine the type of error checking
- that is performed on the mainframe automatically. This is a typically
- used options, but is not recommended for use with the CICS IND$FILE.
-
- ERR=CHECKSUM forces BEAR BONE$ to use a one byte checksum error detection.
- Use this option only if your mainframe is running version 1 of IND$FILE,
- or running a CICS version.
-
- ERR=CRC tells BEAR BONE$ to use an advanced 6 byte CRC (Cyclical
- Redundancy Check). Version 1.1.1 supports this feature.
-
- BUF=<number from 20 to 2000>
-
- Specifies the size of your protocol converter's type-ahead buffer. When
- sending a file, BEAR BONE$ will never be more than <number> characters
- ahead of echoed back characters. Generally, the lower the number, the
- slower the transfer will be. On the other hand, if BUF is set too high,
- your protocol converter may disconnect, or lock up on you during your
- transfer. Experiment to get the best results.
-
- BLK=<number from 200 to 1915>
-
- Sets the block size of the data for uploads only. As with the BUF
- parameter, a small block size will slow the transfer down. Use this
- option only if you are having problems with file uploads.
-
- DLY=<number from 0 to 50>
-
- BEAR BONE$ will pause this many ticks (1/18th second intervals) between
- blocks, to make the transfer more reliable.
-
- TRM=ANSI|FTTERM|VT100
-
- This tells BEAR BONE$ what type of terminal to emulate during the
- transfer. The transfer will not work if this option is set incorrectly.
- It should match the terminal type that your communications software is
- emulating.
-
- If you are logged on as a IBM 3101 terminal, you should specify
- FTTERM for this option. The two are interchangeable.
-
- *******************************************************************************
-
- Note:
-
- The following key definitions should coincide with the terminal type and
- key mapping that your communications package uses.
-
- *******************************************************************************
-
- ENT=<string>
-
- The key sequence your mainframe expects for the ENTER key.
-
- RHT=<string>
-
- The key sequence your mainframe expects for the RIGHT ARROW key.
-
- RST=<string>
-
- The key sequence your mainframe expects for the RESET key.
-
- PF1=<string>
-
- The key sequence your mainframe expects for the PF1 key.
-
- PF2=<string>
-
- The key sequence your mainframe expects for the PF2 key.
-
-
- PRE=<string>
-
- The preamble string. BEAR BONE$ will send it to the protocol converter
- before initiating a transfer. Use this to set up XON-XOFF flow control,
- or other protocol converter dependent options that the manufacturer
- recommends. Ask your systems operator or call CVI for more information.
-
- PST=<string>
-
- The postamble string and BEAR BONE$ will send it when the transfer is
- complete to "undo" the preamble.
-
- PRT=<number from 1 to 8>
-
- Specifies the communications port number on the PC.
-
- ADR=<number>
-
- The address of the communications port in hexadecimal (i.e., 03F8).
- If you specify 0 for the port address, BEAR BONE$ will attempt to
- auto-detect it.
-
- IRQ=<number from 0 to 15>
-
- Specifies the port's IRQ. Use 0 to have BEAR BONE$ auto-detect it.
-
- BDR=<number>
-
- Causes the port's baud rate to be set when opened. By default,
- BEAR BONE$ leaves the baud rate alone. Valid options are 1200, 2400,
- 4800, 9600, and 19200. This option (and the BTS option) should only
- be used if you are using BEAR BONE$ in conjunction with a Windows
- product (such as PROCOMM for Windows).
-
- BTS=ABC
-
- Where "A" is the number of DATA BITS (7 or 8), "B" is the PARITY
- (N=None, O=Odd, E=Even, M=Mark, and S=Space), and "C" is the number of
- STOP BITS (1 or 2).
-
- Example:
- BTS=8N1
- or
- BTS=7E1
-
-
- MAINFRAME OPTIONS
- =-=-=-=-=-=-=-=-=
-
- *******************************************************************************
-
- Note:
-
- Please refer to your mainframe IND$FILE manual for detailed descriptions
- of the following options.
-
- *******************************************************************************
-
- CICS:
-
- SEND Options RECEIVE Options
- -------------------------------------------
- ASCII|BINARY APPEND
- CRLF|NOCRLF ASCII|BINARY
- P(xxx) CRLF|NOCRLF
- P(xxx)
-
- ASCII CRLF is the default data type.
-
- IWS:
-
- SEND Options RECEIVE Options
- -------------------------------------------
- ASCII|BINARY ASCII|BINARY
- BLANK BLANK
- CRLF|NOCRLF CRLF|NOCRLF
- NOREPLACE|REPLACE REPLACE|APPEND
- P(xxx) P(xxx)
- FILE=HTF|FILE=TS FILE=HTF|FILE=TS
-
- if FILE=HTF: if FILE=HTF:
- FOR=usid1...usid8 FROM=usid
- PRIVATE|PUBLIC DELETE|KEEP
- TYPE=EDIT|TYPE=PRINT
-
- if FILE=TS: if FILE=TS:
- QNAME=CFTRxxxx QNAME=CFTRxxxx
- PROGRAM=CFTRxxxx PROGRAM=CFTRxxxx
-
- ASCII is the default data type.
- BINARY is used for binary files.
- Options available depends on the level of VSE/SP.
-
- MVS/TSO:
-
- SEND Options RECEIVE Options
- -------------------------------------------
- APPEND APPEND
- ASCII ASCII
- BLKSIZE(n) CRLF
- LRECL(n) P(xxx)
- P(xxx)
- RECFM(F|V|U)
- SPACE(n1,n2)AVBLOCK(n)
- SPACE(n1,n2)CYLINDERS
- SPACE(n1,n2)TRACKS
-
- BINARY is the default data type.
- ASCII and CRLF are commonly used for text files.
- ASCII and CRLF are the only valid options for members of a partitioned
- data set.
- 80 characters is default length for a fixed length records.
-
- VM/SP:
-
- SEND Options RECEIVE Options
- -------------------------------------------
- APPEND APPEND
- ASCII ASCII
- CRLF CRLF
- LRECL P(xxx)
- P(xxx)
- RECFM V|F
-
- BINARY is the default data type.
- ASCII and CRLF are commonly used for text files.
-