PLB_ANSI Keyword
PLBWIN, PLBCE or PLBLinux
PLB_ANSI={ ON | OFF }
This keyword provides a control for differences between the default Sunbelt implementation of PL/B and the ANSI specifications. When the keyword is set to 'ON', the runtime executes in a manner consistent with ANSI. This keyword presently controls the following items:
During a KEYIN into a variable with *RV enabled, the runtime sets the OVER flag if the KEYIN operation is terminated using a function/special key, system interrupt, or a trapped key. However, setting the OVER flag is not consistent with the ANSI requirements in the case where system interrupt terminates the KEYIN operation. Thus, when this keyword is set to 'ON', the OVER flag is not set true for this case.
The ANSI specification requires that the EOS, LESS, OVER, flags be cleared when *RV is encountered and the KEYIN has not been previously terminated. The default Sunbelt operation is to clear the EOS and LESS flags at the beginning of the KEYIN statement. When this keyword is set to 'ON', the runtime clears the flags consistent with the ANSI requirements.
See Also: PLBWIN Keywords, PLBCE Keywords, PLBLinux Environment Variables, Compiler and Runtime Options
![]() |