Please could someone tell me how to load a 2d table from an input file!!
The format is as follows:
the input file:
towncode pic xx
quarter pic 9
salesamt pic 99999v99
now i have to load this input into a 2d table and access various values in the table.
The output looks like:
town quarter1 quarter2 quarter3 quarter4
smalltown 1000.00 2000.00 3000.00 4000.00
bigtown 2000.00 4000.00 6000.00 8000.00
etc etc...
Now, i need to know how do i load this table with values as
i can use quarter as 1 index, but the town code cant be used as an index as it is alphanumeric.
Please help
9911669@ctech.ac.za or paolo.broccardo@za.didata.com
Thanks
The format is as follows:
the input file:
towncode pic xx
quarter pic 9
salesamt pic 99999v99
now i have to load this input into a 2d table and access various values in the table.
The output looks like:
town quarter1 quarter2 quarter3 quarter4
smalltown 1000.00 2000.00 3000.00 4000.00
bigtown 2000.00 4000.00 6000.00 8000.00
etc etc...
Now, i need to know how do i load this table with values as
i can use quarter as 1 index, but the town code cant be used as an index as it is alphanumeric.
Please help
9911669@ctech.ac.za or paolo.broccardo@za.didata.com
Thanks