Progress procedure question

How can I set up the following in a procedure? I need to load the GL
Fiscal dates so I can look up an order release ship date. Also, I need
to be able to put the following to a .csv file....

Product Group 1, Total pastdue, total fiscal month 1, total fiscal month
2...... Total fiscal month 6
Product Group 2, Total pastdue, total fiscal month 1, total fiscal month
2...... Total fiscal month 6
Product Group 3, Total pastdue, total fiscal month 1, total fiscal month
2...... Total fiscal month 6

I could have separate field names for each bucket but I would like to
put them in an array -- just don't know how to set it up.

Thanks!
Sandy Morse
BVR Technologies Company
815-874-2471 x112