Source Options

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. See Source Formats for more information. This option can be specified in a compiler directive. See Conditional Compilation Options for more information.
-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      ACUCOBOL-GT            other double-byte machines
         Generic           
         Double-byte
         Coding Scheme
EUC      Extended UNIX          Most UNIX machines
GB       Code of Chinese        Chinese DOS, Windows
         Graphic Character
         Set (Peoples's 
         Republic of China)
KSC      Korean Character       Korean DOS
         Standard
SJC      Shift JIS Code         DOS/V, Windows, some UNIX 
         (Japanese Industrial   machines
         Standard)
-Sd Setting this option causes debugging lines marked with D in the indicator area to be treated as normal source lines instead of comment lines. This is equivalent to supplying the phrase WITH DEBUGGING MODE in the SOURCE-COMPUTER paragraph.
-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.) See Source Code Control for details on source code control and the use of this option.
-sl This option allows AREA B to extend to the end of the line, regardless of line length. Alternatively, you can obtain this behavior by setting the >>IMP MARGIN-R IS AFTER END OF RECORD source file directive.
-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 COPY Libraries for more information.

The acurfap syntax can be used to specify a location on a system being served by AcuServer or AcuConnect.

-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 option forces the compiler to use the terminal source format. See Source Formats for more information. This option can be specified in a compiler directive.
-Sx This option is similar to the -Si option, except that the next argument is treated as a pattern to use to exclude source lines.