


The source options modify the way the compiler treats the physical source files.
-S# Specifying a digit with "-S" causes ACUCOBOL-GT to use alternate tab stops for its source files. By default, ACUCOBOL-GT sets tabs every eight columns. When this option is used, tabs will be set every "#" columns apart where "#" is the number specified. For example, "-S4" will set tab stops at every fourth column. Tab stops always start in column 1.
-Sa This causes the compiler to assume that the input source is in the standard ANSI source format. For details on source formats, see section 2.4.
-Sc This option must be followed by one of the following encoding scheme identifiers: BIG5, DBC, EUC, GB, KSC, or SJC. When used, this option causes the compiler to assume that the input source is encoded using the specified encoding scheme. This allows the compiler to recognize double-byte characters used in string literals and comments. The table below shows the encoding scheme identifiers, the code system to which each setting refers, and some examples of operating systems to which the particular encoding scheme applies:
| Setting
| Code System
| Op. System Example
|
| BIG5
| Big Five (Taiwan)
| Chinese DOS, Windows
|
| DBC
| Acucorp Generic Double-byte Coding Scheme
| other double-byte machines
|
| EUC
| Extended UNIX
| Most UNIX machines
|
| GB
| Code of Chinese Graphic Character Set (People's Republic of China)
| Chinese DOS, Windows
|
| KSC
| Korean Character Standard
| Korean DOS
|
| SJC
| Shift JIS Code (Japanese Industrial Standard)
| DOS/V, Windows, some UNIX machines |
-Si This option causes the compiler to include source lines according to a pattern in the Identification Area of the source line. The next (separate) command line argument is treated as this pattern. (The pattern is case sensitive; enclose it in double quotes on systems such as VMS where you need to preserve its case.) For details on source code control and the use of this option, see section 2.6.
-Sp With this option you can specify a series of directories to be searched when the compiler is looking for COPY libraries. This option is followed (as the next separate argument) by the set of directories to search. See section 2.5, "COPY Libraries."
-Sr This option causes ACUCOBOL-GT to use RM/COBOL-style tab stops. These tabs are set four columns apart starting in column 8 and ending at column 72.
-St This forces the compiler to use the terminal source format. For details, see section 2.4 on source formats.
-Sx This is similar to the "-Si" option above, except that the next argument is treated as a pattern to use to exclude source lines. For details on source code control and the use of this option, see section 2.6.