


To install ACUCOBOL-GT onto a hard disk, perform the following steps.
1. Create a directory on your hard disk for ACUCOBOL-GT.
From that directory, execute the following command for each of the installation diskettes:
XCOPY A: /S
(If you are installing from your "B:" diskette drive, substitute "B:" for "A:" above.)
This command creates the required subdirectories ("ETC", "LIB", "TOOLS", "BIN", and "SAMPLE") and copies the files from the diskette into the appropriate subdirectories.
2. Copy the ACUCOBOL-GT executable files to a directory on your hard disk.
Under MS-DOS these files include:
compiler - "CCBLEXT.EXE"
runtime - "RUNEXT.EXE"
vio utility - "VIO16.EXE"
vutil utility - "VUTIL16.EXE"
log file editor - "LOGUTL16.EXE"
object library tool - "CBLUTL16.EXE"
Under OS/2 these files include:
compiler - "CCBL.EXE"
runtime - "RUNCBL.EXE"
vio utility - "VIO.EXE"
vutil utility - "VUTIL.EXE"
log file editor - "LOGUTIL.EXE"
object library tool - "CBLUTIL.EXE"
The target directory should be a directory that is included in your DOS PATH. (Instead, you can add the ACUCOBOL-GT "BIN" subdirectory to the PATH statement in your "AUTOEXEC.BAT" file. If you choose this option, you must reboot your machine to cause this change to take effect.) If you have not set up a PATH, you should do so now.
3. Copy the "CBLCONFI" and "CBLHELP" files to your system's "\ETC" directory (off your root directory). If you do not have a "\ETC" directory, create one by typing "MKDIR \ETC".
If you have more than one hard disk, you should copy these files to the "\ETC" directory on each of your hard disks. If you are using the OS/2 operating system, you should also copy "A_TERMCA" to the "\ETC" directory off your root directory.
4. If you plan to use the C$CHAIN library routine, then you should copy "CHAIN.EXE" to the same directory that contains "RUNEXT.EXE" (or "RUNCBL", under OS/2), make that directory your current directory and type the following commands:
Under DOS:
REN RUNEXT.EXE RUNACBL.EXE
REN CHAIN.EXE RUNEXT.EXE
Under OS/2:
REN RUNCBL.EXE RUNACBL.EXE
REN CHAIN.EXE RUNCBL.EXE
From now on, when you type "RUNEXT" or "RUNCBL", you will execute the program that contains the C$CHAIN routine. It will automatically load the original runtime system (now called "RUNACBL") as needed. If you do not plan to use the C$CHAIN routine, you can skip this step and save yourself approximately 7 KB of memory at runtime. See Appendix I for a description of the C$CHAIN routine. If you are unsure whether or not you want to use this routine, skip this step now and come back to it later.
5. Copy the remaining files to any directory of your choosing.
This completes the installation for MS-DOS and OS/2. You can test your installation by changing directories to the one that contains the TOUR demonstration program and typing the commands:
Under DOS:
CCBLEXT TOUR.CBL
RUNEXT
Under OS/2:
CCBL TOUR.CBL
RUNCBL
This should compile and run the TOUR demonstration program.