I am new to Eazytrieve, need help if this is duplication of any ones earlier question please don’t get angry and please answer my question.
I am reading IMS database with Easytrieve, I have a fields defined as S9(3)V9(2) comp-3 and this value should be written to the output file as ex 50.00/100.00 where ever value is present.
I defined the Output file as below
OUT-PCT 6 A
And Working storage variable as
W-PCTN W 6 A
W-PCT1 W-PCTN 3 P 2
In move is mentioned as
W-PCT1 = BUY-PERCENT (Read from Database)
OUT-PCT = W-PCTN
But I am getting the error message as
*******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES for BUY-PERCENT.
Could someone please tell me how I should define the variables in Working-storage and the File output field.
Thanks & Regards,
Girish a