Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
VSC2 Details (↑ Allowing Language Features)
◄Key► ◄Summary► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The possible values of integer are:
1 VS COBOL II release 1.0 (Replaces the directives OLDVSC2 VSC2.)
o No explicit scope delimiter is allowed in a statement
without a conditional phrase (AT END, ON SIZE ERROR, etc).
o The word ALSO in an EVALUATE statement can be omitted.
o The CLASS and SYMBOLIC CHARACTERS clauses are not allowed.
o Conditional phrases with NOT (NOT AT END, NOT ON SIZE ERROR,
etc) are not allowed.
2 VS COBOL II release 2.0
VS COBOL II release 3.x (when compiled with its CMPR2 directive)
COBOL/370 V1R1 (when compiled with its CMPR2 directive)
o The CLASS and SYMBOLIC CHARACTERS clauses are not allowed.
o Conditional phrases with NOT (NOT AT END, NOT ON SIZE ERROR,
etc) are not allowed.
o When used with FLAG "VSC2" it provides similar functionality
to VS COBOL II release 2.
o Sets the DBCS "1" and DBSPACE directives.
3 VS COBOL II release 3.x (when compiled with its NOCMPR2 directive)
o For complete compatibility in this instance, the
REMOVE "FUNCTION" also should be specified. However, for
mainframe compatibility, you are recommended not to use
FUNCTION as a user-defined word.
o When used with FLAG "VSC2" it provides similar functionality
to VS COBOL II release 3.
o Sets the DBCS "2" and DBSPACE directives.
4 o Synonymous with VSC"3".
When VSC2 is specified without integer, VSC2 "3" is assumed.
ANSI'85 status codes are used when VSC2 "3" is selected.
Do not use the NOANS85 directive after VSC2 "3"; it will turn off
some of the ANSI'85 behavior turned on by VSC2 "3".
-♦-