Compiling ISUCC Accounting Office programs To compile any accounting programs, use the FORTRAN.COM command file supplied. Before using this command file, several logical names must be assigned: EXE - directory to recieve the executable image FOR - directory of fortran source DAT - directory of FORTRAN.SHR file LIB - directory of library files LIS - directory to recieve listing files OBJ - directory to recieve object files As an example, the file FORTRAN.ASN in [DECUS.ACCTG] is supplied. Also it would be very helpful to setup the following symbolic commands: $ F :== @[directory]FORTRAN.COM F $ FS :== @[directory]FORTRAN.COM FS Use F to compile programs, and FS to compile subroutines and functions. Invoking the command procedure- To invoke the command procedure, issue F file-spec [options ...] -or- FS file-spec [options ...] where "file-spec" indicates the filename of the file to compile, and "options" indicates the compile and link options. A file type of ".FOR" is assumed for the file, expect where noted below. Compiling members in a text library- To compile a member in a text library, follow the filename with the "#" character, and follow this with the membername. For example, to compile a member named "EXAMPLE" that is in the text library "SAMPLES.TLB", specify SAMPLES.TLB#EXAMPLE as the filename. There can be no blanks between the filename, the "#" character and the membername. If a file type is not speicied, then the file type of ".TLB" is assumed. Options- The CHECK= option specifies what /CHECK Fortran compile options to use when compiling. The CHECK option specifies that default /CHECK Fortran compile options will be used when compiling -- /CHECK=(bounds,overflow). The DEBUG= option specifies what /DEBUG Fortran compile options to use when compiling. The DEBUG option specifies that default /DEBUG Fortan compile options will be used when compiling -- /DEBUG=(symbols,traceback). The EXE= options specifies the filename of the executable image. The LIB= options specifies the filename of the object library. The LIS= option specifies the filename of the listing file. The LIS options specifies that the compile will create a listing file, and the filename of the listing will be the same name as the source filename. The NOLIS option specifies that the compile will not create the listing file. The OBJ= option specifies the filename of the object file. The OBJ options specifies that the compile will create a object file, and the filename of the object file will be the same name as the source filename. The NOOBJ option specifies that the compile will not create the object file. The SHARE option indicates that the system's sharable object library will be included in the linkage of the program. Examples- FS EXAMPLE LIB=SAMPLES The above command will compile the filename "EXAMPLE.FOR", create a listing file named "EXAMPLE.LIS" and place the object code into the object library "SAMPLES.OLB". F MAIN LIB=SUBRS NOLIS SHARE The above command will compile the filename "MAIN.FOR", will not create a listing file, will create a object file named "MAIN.OBJ", will create a executable file named "MAIN.EXE" and will include the systems's sharable object library at linkage.