USWITCH Errors [ HP RPG/iX Reference Manual ] MPE/iX 5.0 Documentation
HP RPG/iX Reference Manual
USWITCH Errors
If you're running a program that uses the USWITCH feature (F in the
USWITCH Source Field (column 16) of the Header Specification), you may
encounter one of the following errors. Each USWITCH error is preceded by
the message: ERROR IN USER SWITCH INITIALIZATION.
------------------------------------------------------------------
MESSAGE I/O ERROR ON $STDLIST
CAUSE An attempt to write output to a standard list device
failed (this occurs when the display of a user prompt
fails).
ACTION The job or session terminates. Determine the reason;
correct and rerun.
------------------------------------------------------------------
MESSAGE I/O ERROR ON $STDIN
CAUSE An attempt to read input from the standard input
device failed (this occurs when getting USWITCH
settings from either the user or from a job file.)
ACTION The job or session terminates. Determine the reason;
correct and rerun.
------------------------------------------------------------------
MESSAGE ILLEGAL USWITCH SETTING IN 8 BYTE FORMAT
CAUSE A character other than 0, 1 or X is in 8-byte (short)
format.
ACTION Correct the input data (in the job file or in the
USWITCH file) and rerun the program.
------------------------------------------------------------------
MESSAGE INVALID INPUT DATA
CAUSE You included invalid information in a USWITCH command.
ACTION If the switch setting comes from a USWITCH file, the
program terminates. If it comes from $STDIN, the
setting defaults to OFF. Correct and rerun.
------------------------------------------------------------------
MESSAGE UNABLE TO OPEN FILE 'USWITCH'
CAUSE An error occurred while opening the USWITCH file.
ACTION Determine the cause of the error and rerun.
------------------------------------------------------------------
MESSAGE UNABLE TO READ RECORD IN FILE 'USWITCH'
CAUSE An error occurred while reading the USWITCH file.
ACTION Determine the cause of the error and rerun.
------------------------------------------------------------------
MESSAGE UNEXPECTED END OF FILE
CAUSE An end-of-file indicator was unexpectedly encountered
in the USWITCH file.
ACTION The program terminates. Correct and rerun.
------------------------------------------------------------------
MPE/iX 5.0 Documentation