3780 BSC Command Comparisons


Here is a comparison between the CLEO® 3780Plus® BSC commands and the FastSync® 3780 BSC commands from CTI Communications.

While CTI Communications has its own DOS and Windows based 3780 products, CTI is also an authorized reseller of  CLEO 3780, 3770 & 3270 UNIX BASED BSC, SNA, SNA Gateway and other products from Cleo communications.  CTI Communications is not the manufacturer of the Cleo 3780Plus software.  The CLEO product is owned and manufactured by the Cleo Communications.  CTI is an authorized reseller of these products. 

The information contained within the following pages was prepared from existing CLEO advertising literature, software manuals, product sheets, and from other competitive data sources available within the general data communications industry. 3780Plus is a registered trademark of CLEO Communications.  Please note that commands can vary between DOS and Windows versions of 3780 software.  If anyone finds a mistake with the data as presented, we would appreciate hearing from you.

Commands

Action

3780Plus

FastSync 3780

Causes program to automatically dial into a remote system.

AUtodial

.CALL

Causes the program to hang-up the line and put the modem in voice mode. 

VOice

.DTR,OFF

Sends a specified file to the remote system.

TExt

.SEND

Causes program to send a specified binary file to the remote.

BInary

.SENDB

Causes program to enter receive mode and waits for incoming file.

REceive

.RCVE

When executed, this command transmits an End of Text (EOT) character.

EOt

.SENDEOT

Causes program to exit to operating system.

QUit

.EXIT

Allows the communications program to remain in memory, but puts user into a shell within the program so that other application programs may be run. Communications are suspended during the use of this command. After running a program, 3780Plus automatically returns to the communications session .

SYstem

.DOS

Puts the program in a wait state to receive file(s) from the remote.

PRint

.RCVE

Causes a keyboard message to be sent to the remote system.

KEy

.MESSAGE

Invokes a line monitor to show the actual sent/received data - data can be saved to a file.

MOnitor

.TRACE

Causes messages sent from the remote to be directed/received to the screen.

SCreen

.RCVE,CONS

Gives a way to change the program's basic configuration parameters.

COnfig

.CFG

Used from within job/cmd files only. Allows for testing of different conditions.

BRanch

.IF...THEN

Causes a modem to go into data mode for sending data.

DAta

.DTR,ON

Causes the program to go into an automatic answer mode.

ANswer

.WAIT

Causes the program to process all the commands in a job file. Can be used within a job file to execute another job file (but will finalize the job file).

EXecute

.CMD

Allows the user to send a message into a log file. Maximum message length is 150 characters in length.

LOg

No Equivalent

Brings-up the single page Help Screen summarizing all commands.

HElp

F1 Key

Brings-up the command in question and provides an explaination.

No Equivalent

?[CMD]

A program allowing the user to create an automatic batch file containing one or more commands. The file can then be run from the command line.

JOb

No Equivalent

Causes a Reverse Interrupt (RVI) to be sent to the remote system instead of an ACK. Causes remote to send an EOT. Causes the program to go to the next command in the job file.

INterrupt

No Equivalent

Places program in asynchronous mode for DOS users only.

No Equivalent

.async 

Causes the speaker built into the computer to beep for one half second.

No Equivalent

.beep

Causes the program to set the Bid Retry Count.

No Equivalent

.bids

Places the program in bisynchronous mode for DOS users only.

No Equivalent

.bisync 

Causes the program to set the transmission block size.

No Equivalent

.blocksize 

Shows user which type of synchronous interface card is being used within the PC.

No Equivalent

.card_type

Causes the program to turn carrier detect either on or off.

No Equivalent

.cd_check

Closes a file previously opened with the ".OPEN" command.

No Equivalent

.close

Sends a clear screen message to the program and brings the standard program screen back which shows the users configuration and then waits for the next command.

No Equivalent

.cls

Causes the program to turn space compression either ON or OFF for files being sent.

No Equivalent

.compres 

Connects 3780 program with the remote computer.

No Equivalent

.connect

Provides complete control when CR/LF sequences are written to the receive file. Handles IRS (Inter Record Separators), ETB (End of Transmission Block), or NL (EBCDIC new line).

No Equivalent

.crlf

Causes the program to pause for the specified number of seconds.

No Equivalent

.delay 

This command allows authors of command files to provide application specific information on the screen.

No Equivalent

.echo 

Tells program to set the emulator type to either 2780 or 3780.

No Equivalent

.emulator

Deletes a specified file name.

No Equivalent

.erase

This command can only be used within a command line. If the condition specified becomes true while the command file is running, command file execution will resume with the commands following the label.

No Equivalent

.error

Specifies custom translations for printer escape sequences in a file.

No Equivalent

.escape

Controls whether received End of Transmission Block characters are converted to Carriage Return Line Feeds.

No Equivalent

.etb

Sends an empty block, terminated with an end of text.

No Equivalent

.etx

Sends a special command to a remote FastSync system instructing that system to send the specified file.

No Equivalent

.get

Sends a Hang-up message to the modem.

No Equivalent

.goodbye

Causes unconditional branching from within a command file. The .goto command can be used to end a routine which was branched to or from an .if command.

No Equivalent

.goto

Controls whether received Inter Record Separators are converted to Carriage Return/Line Feeds.

No Equivalent

.irs 

Allows for accessing software configuration given with some modems.

No Equivalent

.modem

Causes program to turn transmission of multiple records either on or off.

No Equivalent

.mult_recs

Opens a file for reading or writing. See also the ".close." command

No Equivalent

.open

Displays a message and waits for the user for a variable in response to the message. The key pressed by the user can later be checked with the .IF KEY command.

No Equivalent

.prompt 

Sets the default file name for all incoming files that are preceded by a printer selection sequence.

No Equivalent

.ptrdev

Controls whether punch files will be received as punch files or as printer files.

No Equivalent

.punch

Sets the default file name for all incoming files that are preceded by a punch selection.

No Equivalent

.pundev

Controls the number of receive timeouts before FastSync quits trying to execute a receive or send command.

No Equivalent

.r_timeouts 

Reads a text string from a previously opened file into the specified variable.

No Equivalent

.read

Allows the sending of text data from a file not containing embedded Carriage Return/Line Feeds.

No Equivalent

.recsize 

To execute system commands on a remote computer that is also using FastSync.

No Equivalent

.remote 

Causes the program to rename a file - same as the DOS rename command.

No Equivalent

.rename

Causes the program to set the number of retransmissions.

No Equivalent

.retrans

Controls whether the end-of-file marker (ctrl Z) (Hex 1A character) is transmitted as part of a text file.

No Equivalent

.sendeof

Sets a variable to a specific numeric or character string.

No Equivalent

.set

Allows the user to establish an automatic sign-on to the remote system.

No Equivalent

.signon

Controls whether program accepts requests for files or remote file naming from the remote system. Special translation to substitute more than one character.

No Equivalent

.special

Causes the current send/receive operation to stop. A hangup is sent to remote and an idle state is established.

No Equivalent

.stop 

Controls the number of transmit timeouts before the 3780 program quits trying to execute a receive or send command.

No Equivalent

.t_timeouts

Allows the user to either change or check the current value of the terminal ID.

No Equivalent

.termID

Tells the program to set the terminal type to either MASTER (Primary) or SLAVE (Secondary).

No Equivalent

.terminal 

Allows other systems using the same 3780 program to execute system commands as well as other programs on your computer.

No Equivalent

.unlock

Used to determine the particular version of the 3780 software being used

No Equivalent

.version

Writes data to a previously opened file. This command can be used to create a custom event log.

No Equivalent

.write

Loads an alternate translation table from a custom EBCDIC to ASCII translation file.

No Equivalent

.xlat 


Command Line Arguments

Action

3780Plus

FastSync 3780

Allows the running with settings other than the default 3780 configuration.

-c

.cfg

Allows the running of a series of 3780Plus commands without operator intervention.

-j

.cmd

Allows for the creation of a log file, which can be either appended, preserved, or over-laid.

-l

.report (x) (report string)

Tells the program to suppress all data that would normally go to the screen.

-s

.quiet

Used to specify a local device through a specified COM port, or tty.

-d

.port(xxxx)

Allows transparent EBCDIC files from the host to be converted to ASCII for printing.

-t

.trace

Forces incoming printer files to be saved to the default REceive filename.

-r

.screen(ReportString)

Allows for the software switching of hardware without changing the hardware itself.

-a

.unlock

Controls the Asynchronous bps rate.

-b

.rate(xxxx)

Disables incoming file names.

-f

.rcvefile([name])

Allows for software selecting of different IRQs without changing the hardware itself.

-i

.irq(x)

Allows the user to specify a hardware configuration file other than the hardware specified in the default SCC.CFG.

No Equivalent

.card 

Controls the speaker on the older Motorola (UDS) 4824, 201/212, and V.32 internal Sync-Up modems which include a speaker.

No Equivalent

.speaker(on|off)

Will cause the program to send a string of bytes to the modem.

No Equivalent

.modem

Allows user to receive punch files as punch files.

No Equivalent

.punch

Causes the program to display mnemonics for the routines being used by the program.

No Equivalent

.debug 

Used with the .quiet command line argument to allow certain messages to appear on the screen.

No Equivalent

.screen

Advises the program to change to a different translation table.

No Equivalent

.xlat 

Optional Modifiers for Sending & Receiving Files

These modifiers are special symbols which modify or enhance the functionality of the Send or Receive commands.

Action

3780Plus

FastSync 3780

Allows the sending of multiple files to the host without releasing the line. This option suppresses the EOT allowing control of the line until an EOT is finally sent.

-e

noeot

Allows for the suppression of the automatic EOT and/or ETX at the end of the last block in the transmitted file. This command allows the concatenation of several files to appear as one file to the host.

-x

noetx

Allows record separators (IRS/RS) to be omitted on transmitted files. Packs data into one block. Without this option, carriage return line feeds (DOS) and new lines (UNIX) are translated into record separators (IRS).

-r

noirs

Allows the data to be displayed to the screen and file

No Equivalent

echo

Tells the program not to examine 1st record for device selection

No Equivalent

nodev

Allows the data being received to append to the end of the named file

No Equivalent

append

Allows the incoming data to overwrite the exiting file data

No Equivalent

overwrite

Sends a file and then enters receive mode

No Equivalent

cons

Tells the program to retry command (x0 number of times

No Equivalent

retries

Tells the program to check for either a send or receive error

No Equivalent

error

Tells the program to start a new page when receiving to printer

No Equivalent

formfeed

3780Plus Status Messages

(For use with CLEO's BRanch Command)
SIZE N  
TRUE  
FAIL  
BIDLMT  
DSKERR  
EAREOF  
HANGUP  
INTRPT  
NODATA   
NOFILE  
NRMEOF  
RETRAN  
ABORT Keyboard-forced Abort before receive (in jobfile)
BUFOVF Buffer overflow
DELAY Delay Limit Expiration
EOTND No data received before EOT
IDLE Idle Limit Expiration
INTEOF Keyboard-forced Abort Interrupt End of File
LINDWN System Line Down (Not all modems detect line down)
RECEIV Receive Limit Expiration
REPEAT Repeat Limit Expiration
RETRAN Retransmission Limit Expiration
RMTABT Remote Terminal Aborted
TXABRT Transmission Failure Abort
WAIT Wait Limit Expiration

FastSync 3780 Variable Messages

(For use with CTI's .IF Command)

LASTFILESIZE The size of the last file received. This variable contains numeric values. RVI_CHK If this TRUE/FALSE variable evaluates to TRUE, a reverse interrupt was received from the remote system.
FILENOTFOUND If the file named in a ".SEND" or ".SENDB" command could not be found, this TRUE/FALSE variable evaluates to TRUE. NOBID The remote system did not respond to the line bid when executing a ".SEND", "SENDB" or ".CONNECT" command, or there was no bid seen when executing a ".RCVE" command, this TRUE/ FALSE variable evaluates to TRUE.
ANSWERTONE If an answer back tone was detected from the remote modem after a ".CALL" command, this TRUE/FALSE variable evaluates to TRUE. CARRIER If there is a data carrier present on the phone line, this TRUE/FALSE variable evaluates to TRUE. If this condition is true, your modem is connected to a remote modem.
CONNECTED If this TRUE/FALSE variable evaluates to TRUE, the line bid sequence has been successfully executed and neither the local nor the remote system has sent a disconnect message. DIALTONE If this TRUE/FALSE variable evaluates to TRUE, a dial tone was detected while calling the remote system. This variable can be used along with BUSY, DIALERROR and ANSWERTONE variables to diagnose dialing problems.
DIALERROR The last ".CALL" command was not successful if this TRUE/FALSE variable evaluates to TRUE. EXIST_FILE FileName This TRUE/FALSE variable evaluates to TRUE if the file used in place of FileName exists on the disk.
FILES_RCVD This variable contains a numeric value representing the number of files successfully received from the remote system as a result of the last ".RCVE" command. It can be used with "=", "<", or ">." FILES_SENT This variable contains a numeric value representing the number of files successfully sent to the remote system as a result of the last ".SEND" or ".SENDB" command. It can be used with "=", "<" or ">."
LAST_FILE = FileName This expression will evaluate to TRUE if FileName is the name of the last file successfully received from the remote system. LIMIT This TRUE/FALSE variable will evaluate to TRUE if one of the program limits (i.e., Line Bids, Retransmissions, Receive Timeouts or Transmit Timeouts) was exceeded.
RCV_ERROR This TRUE/FALSE variable will evaluate to TRUE if an error prevented the last file from being received successfully. An examination of the report file will reveal the reason for the error. SND_ERROR TRUE/FALSE variable will evaluate to TRUE if an error prevented the last file from being sent successfully. An examination of the report file will reveal the reason for the error.
TEXTDATA This TRUE/FALSE variable will evaluate to TRUE if the last file received was sent by the remote in TEXT mode. TIMEOUT This TRUE/FALSE variable will evaluate to TRUE if either the Transmit Timeout or the Receive Timeout limit was exceeded by the number of programmed timeouts.
TRANSDATA This TRUE/FALSE variable will evaluate to TRUE if the last file received was sent by the remote system in transparent (binary) mode. BUSY This TRUE/FALSE variable will evaluate to TRUE if the last ".CALL" command was not successful because a busy signal was detected each time the number was dialed.
FILESIZE FileName {= | < | >}Size This variable will check the size of the disk file, FileName against Size using one of the comparison operators. The expression will evaluate to TRUE if the evaluation is true. DLE_EOT This TRUE/FALSE variable will evaluate to TRUE if a DLE-EOT (hangup) protocol sequence was received from the remote system.
LAST_SUFFIX = String This TRUE/FALSE variable will evaluate to TRUE if the suffix of the last file received matches String. SHELL {= | < | > } n This condition evaluates the value returned by a program called through the ".SHELL" command. If the value returned bears the correct relationship (=,< or >) to n, the expression evaluates to TRUE.
KEY [?] Checks the key struck in response to the last ".prompt" command. ERROR This variable becomes TRUE if an error prevented the successful completion of either a ".SEND," ".SENDB," ".MESSAGE," ".RCVE," or ".CALL" command.
IOERROR Evaluates to TRUE if an I/O error was encountered writing the received data to the disk, screen, or printer. RMT_HANGUP Evaluates to TRUE if a DEL-EOT (Data Link Escape - End of Transmission) was received from the remote system.
STRLEN Takes a string variable as an argument. The string can be either a percent (%) variable or a variable created with either the ".SET" or ".READ" command.

For a command comparison covering the Motorola UDS BSC3780 commands, click here