Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SEARCH ALL question. 4

Status
Not open for further replies.

wolves

Programmer
Jan 26, 2001
130
US
Question, when I do a SEARCH ALL, I pass a file which I load into and internal table, it's 35,000 rows, I am looking for a match in this table with an input file, I get no matches.

Now, when I take the same exact input file, except delete the last 15K rows, so now my internal table is 20K rows, I run the program, nothing changed, but now I do get my matches?

is there a limit on the SEARCH ALL?

My internal table is defined as such:

Code:
05  WS-TBL-TBL
        OCCURS  1 TO 40000  TIMES
        DEPENDING  ON  WS-TBL-ENTRIES
        ASCENDING KEY  IS  WS-TABLE-NUM, WS-TABLE-SUFF
        INDEXED  BY  WS-TBL-INDX   WS-TBL-MAX.
    10  WS-TABLE-NUM                PIC X(12) VALUE SPACES.
    10  WS-TABLE-IN                 PIC X(02) VALUE SPACES.
    10  WS-TABLE-IT                 PIC X(04) VALUE SPACES.
    10  WS-TABLE-DATE               PIC X(08) VALUE SPACES.

So I know it works for looking for my match because I do get a match with the smaller file?????
 
And isn't COMP-5 well suited for External API call ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top