Gurus.
I used to be happy...I used to have a 6 handicap....I used to have a full head of hair...then I started working with Lawson. It brings me to my knees every day. I defined a new index on EMPLOYEE, it is contatenated on COMPANY and FICA-NBR. I did a debreorg. I can initialize the index in 4GL and invoke an API call on it...but it fails after that. IOS reports that the index is invalid.
Welcome to the choir.
Did you do a blddbdict first before the reorg?
Also did you do an IOSCacheRefresh after the reorg?
Roger -
Yes, in that order.
Sam -
Well, I did try that. I am using both Design Studio and 4GL here. DS is hand for tesing the indexes. In Design Studio, if I do not initialize the company and ssn, EMPSET4 fails to return the record. If I initialize the company and fica, I get one record returned, this suggest I should be able to read the table using an 840 api if I set the index values the same way.
In 4GL this fails.
MOVE PRM-COMPANY TO DB-COMPANY. MOVE ZEROES TO DB-EMPLOYEE. MOVE SPACES TO DB-FICA-NBR. MOVE "999-90-9999" TO DB-FICA-NBR. PERFORM 840-FIND-EMPSET4. DISPLAY "FOUND EMPLOYEE " EMP-FIRST-NAME.