Demo User’s Guide
Script Files
To accommodate unattended operation, 3770Link utilizes an extremely powerful script language.
There is a corresponding script command for most of the menu items available in interactive mode. In addition there are numerous commands to manage error checking, error recovery, looping, and branching.
Script files can be executed by specifying the
Script files are produced with a text editor or word processor. Script files are assumed to have an extension of ‘.s’.
Script Commands
For a list of the commands understood by 3770Link’s script processor and valid command line options, see the back of this guide.
Sample Script Files
The simple LU script file shown below attempts to connect up to three times, defines the printer to be a file named “testptr”, and sends a file named “jcl.txt”. If the send file completes normally, the script waits for a single file from the host and then disconnects and exits. This script file example assumes that a single LU is configured for the current connection and that automatic logon (INIT_SELF) has been enabled and configured for the single LU specified for this connection.
LOOPCOUNT 3
:conn_loop
CONN
11