Previous Topic: Match-file MessagesNext Topic: Storage Violation Error


Selection Messages

Selection messages occur when a field used in the criteria to select records contains either:

The following table lists the messages produced by EEHF for errors that occur on SELECT/BYPASS parameters. The following report shows each message as it appears on the Run Time Messages listing.

Message Number

Message

12

INVALID NUMERIC DATA IN SELECTION PROCESS

13

INVALID SUBSCRIPT VALUE USED IN SELECTION PROCESS

The following list describes additional information that can appear along with these messages:

Select Condition Reference Number

SELECT CONDITION REFERENCE NUMBER reference-number

This message specifies the number of the selection condition reference assigned in the Input Parameter Listing. For example, EEHF prints SELECT CONDITION REFERENCE NUMBER 2 for the SELECT statement shown below when it encounters invalid numeric data for EMP-ID:

********
SEL/BYP  REF       CONDITION
********
 SEL             $     (EMP-NAME LT 'E') OR (EMP-ID GT 0100)
 SEL    00001      EMP-NAME  LT        'E'
 SEL    00002      EMP-ID    GT        0100
            
            SELECT CONDITION REFERENCE NUMBER 2

Input Record Number

INPUT RECORD NUMBER record-number

This message specifies the file record number or input buffer record number associated with the SELECT/BYPASS parameter.

Field at Time of Interrupt Invalid

FIELD ONE/TWO AT TIME OF INTERRUPT INVALID

This message specifies that the first or second field in the conditional expression is invalid. CA Culprit prints a hexadecimal dump of the field that caused the error.

Subscript Invalid for Field

SUBSCRIPT INVALID FOR FIELD ONE/TWO

This message specifies that the subscript value for either the first or second field in the conditional expression is invalid. The subscript can be invalid if it is:

Invalid Numeric Data Used

The following report shows an example of the message and the record layout when invalid numeric data is used in the selection process:

mm/dd/yy RUN TIME MESSAGES volser Vnn.n PAGE 1 C350079 INVALID NUMERIC DATA IN SELECTION PROCESS SELECTION CONDITION REFERENCE NUMBER- 1 ◄------ The first field in the expression identified INPUT RECORD NUMBER 1 as reference number 1 contains invalid data. FIELD ONE AT TIME OF INTERRUPT **INVALID** CA Culprit prints the contents of the field. CHAR %%%% ZONE 6666 DIGIT CCCC 01... *********** END OF FILE ****************************************************** 23 INPUT RECORDS READ SELECTION SPECIFICATION STATISTICS BEGINNING TIMES TIMES TIMES NUMERIC SUBSCRIPT REFERENCE TESTED TRUE FALSE ERRORS ERRORS NUMBER 1 61 23 38 1 0

Invalid Subscript Value Used

The following report shows an example of the message and the record layout when an invalid subscript value is used in the selection process:

mm/dd/yy RUN TIME MESSAGES volser Vnn.n PAGE 1 C350082 INVALID SUBSCRIPT VALUE IN SELECTION PROCESS SELECTION CONDITION REFERENCE NUMBER- 1 INPUT RECORD NUMBER 1 CHAR ) ZONE 00000005 DIGIT 0000000D 01...5... SUBSCRIPT IS INVALID FOR FIELD ONE C350036 RUN TERMINATED