vijayakumar Beginner
Joined: 28 Jul 2006 Posts: 17 Topics: 9
|
Posted: Sun Aug 03, 2008 3:51 am Post subject: Defining and accessing arrays in easytrive |
|
|
Hi,
I have the following record structure for input file in Easytreive
IN-FEE-CD -Fee code values are SF, CF, RF, PF,AF, etc.,
I need to search the fee code values for SF, RF and PF and
move the corresponding amount IN-FEE-AMT to output file
10 IN-FEE-GROUP PIC X(480) VALUE SPACE.
10 IN-FEE-X REDEFINES
IN-FEE-GROUP OCCURS 32 TIMES
15 IN-FEE-CD PIC X(02).
15 IN-FEE-AMT PIC S9(5)V9(2) COMP-3.
15 FILLER PIC X(09).
10 POLICY PIC X(12).
--------------------------------------------------------------------------
Output file format:
policy ---- SF-amount ---RF-amount ---- PF-amount
A1234 ---- 100.00 ----- 122.50 -------- 500.00
--------------------------------------------------------------------------
I have the following doubts,
1) How the above 'occurs' can be defined in easytrieve
2)How to search the feecodes and populate the amount in the
output file..
Could you please help me as i am new to easytrieve...
Thanks
Vijay |
|