ContentsIndexPreviousNext

2.1.8 Video Options

-Va This option must be used with either the "-Vh" or "-Vl" option. When used, the default intensity specified by the
"-Vh" or "-Vl" option will be used only for ACCEPT statements. DISPLAY statements will use the opposite intensity. Thus "-Vha" will cause the default intensity for ACCEPT statements to be high while the default for DISPLAY statements will be low. When Screen Section items are used, then input and update fields will use the ACCEPT intensity, while output and literal fields will use the DISPLAY intensity.

-Vb Causes the phrase "BLANK LINE", when used in a Screen Section entry, to be treated as if it were written "BLANK EOL". Most other COBOL compilers work this way, but the X/Open COBOL standard requires the syntax supported by ACUCOBOL-GT.

-Vc Causes any ACCEPT statement that contains a numeric or numeric edited receiving field to be treated as if the CONVERT phrase were also specified. This is the default for RM/COBOL-85 but not for RM/COBOL version 2 or VAX COBOL. For information about the CONVERT phrase, see section 6.4.9 in Book 3, "Reference Manual."

-Ve Alters the rules that determine which conditions cause an ON EXCEPTION phrase to receive control in a Format 1 ACCEPT statement. Normally, entering an exception key will cause the ON EXCEPTION phrase to receive control. If you specify this option, then you must follow the "-Ve" with a digit (as part of the same argument) taken from the following list:

'1' Exception keys cause the ON EXCEPTION phrase to execute (default handling).

'2' Conversion error causes the ON EXCEPTION phrase to execute. When a numeric item is being entered and the CONVERT phrase is specified, then entering an illegal number will cause the exception.

'3' Combines the effects of both '1' and '2'.

By default, the runtime system handles conversion errors by displaying an error message and forcing the user to re-enter the data. If you specify "-Ve2" or "-Ve3", then conversion errors are returned to your program instead. For strict compatibility with VAX COBOL, you should specify "-Ve2", while for strict compatibility with RM/COBOL, you should specify "-Ve3". The default setting is recommended, however, because it provides a meaning for ON EXCEPTION that is more consistent with the rest of the ACUCOBOL-GT language.

-Vh Forces the default video intensity for ACCEPT and DISPLAY statements to be set to high intensity. The default for ACUCOBOL-GT is to use the normal operating intensity for the terminal being used.

-Vl Forces the default video intensity for ACCEPT and DISPLAY statement to be set to low intensity.

-Vq Causes ACUCOBOL-GT to produce quiet programs by inhibiting the default bell produced by ACCEPT statements compiled in RM/COBOL compatibility mode. However, this does not override explicit BELL or BEEP phrases.

-Vx Allows exception keys to be entered by the user for any ACCEPT statement. Normally, ACUCOBOL-GT inhibits the use of exception keys on ACCEPT statements that do not have a CONTROL KEY clause or an ON EXCEPTION clause.