BARR/SPOOL manual

10. Exit and Save Changes

When you finish entering the BARR/SPOOL configuration parameters, select Exit and Save Changes from the Installation Description menu. This option is used to write your configuration changes to the program file or to a separate configuration file. The installation changes will be lost unless you use this option.


10.1 Exit Parameters

When you select Exit and Save Changes, the following screen displays:

After you enable one of the options on this screen and press ENTER, your changes to the Installation Description are saved. The options on this screen are described below.

Save changes to C:\BARR\SPOOL.EXE file?

Select whether to save your configuration changes to the program file. Your changes must be saved either to the program file or to a configuration file, or they will be lost. Note that the option displays the directory path where the program file is located.

Yes Default. Save your changes to the program (.EXE) file.

No Do not save your changes to the program file.

Save parameters to a configuration file?

Select whether to save the configuration parameters to a separate file.

No Default. Changes are not written to a separate configuration file.

Yes Configuration changes are saved to a file. Enter the name of the configuration file below.

When you start the BARR/SPOOL program, you may specify the name of a configuration file which contains the desired installation parameters. The program will use the parameters in the configuration file instead of any parameters you saved to the program file. Additional information about configuration files is given in section 10.4, Using Configuration Files.

Configuration files have several possible applications:

Configuration file:

Specify the name for the configuration file. BARR.CFG is the default name for the file. We suggest you use .CFG as the file extension for your configuration files to make the files easy to identify. If you are not using configuration files, leave this field blank.

10.2 Exit Options Menu

After you complete the parameters on the Exit and Save Changes screen and press ENTER, the Exit Options menu displays.

Choose one of the three options.

Begin communication at Operation screen

Start the program. Refer to Chapter 12, Startup Instructions, for a discussion of program startup.

Exit to DOS

Exit the software and return to the DOS prompt.

Return to Installation Description

Go back to the Installation Description screens to make additional changes.

10.3 Make a Backup Copy of the Production Software

When you have finished saving your configuration changes, it is advisable to make a backup copy of the configured software to a diskette, a directory on the network, or a directory on another PC. In the event that your PC hard disk fails or becomes corrupted, it will be faster to put a configured copy of software into production than it will be to re-install and re-configure the software from scratch.

To distinguish the configured backup copy from an unconfigured backup copy, you may want to rename the file. For example, from the DOS prompt type:

COPY C:\BARR\SPOOL.EXE A:\BARRSAVE.EXE

Note where you have stored the backup copy so it can be located in the future.

10.4 Using Configuration Files

Configuration files may be used at program startup. Instructions for using the configuration files you have created are given below. Program startup is discussed in Chapter 12.

SPOOL @DAILY.CFG

SPOOL @BARR.CFG
SPOOL @

SPOOL i @DAILY.CFG

When you select Exit and Save Changes, remember to set Save parameters to a configuration file? to Yes.

First, specify the installation startup command, including the configuration file name. For example:

SPOOL i @DAILY.CFG

Next, from the Installation Description menu, select Exit and Save Changes. The default for Save Changes to C:\BARR\SPOOL.EXE file? is Yes, so you simply need to press ENTER. The configuration parameters are written to the SPOOL.EXE program file.