


SCRIPT-STATUS* - This variable controls the behavior of ACCEPT FROM INPUT STATUS when the input is not attached to a terminal. If SCRIPT-STATUS has its default setting ("0"), an ACCEPT FROM INPUT STATUS statement will return a fixed value when the program has redirected input. The value returned is the value of the INPUT-STATUS-DEFAULT configuration variable.
When SCRIPT-STATUS is not "0", and input is redirected, then ACCEPT FROM INPUT STATUS will return the actual status of the script file (i.e., it will return "1" unless the script file has been exhausted).