Export subset of zones to csv file

Hi,
I have a series of skim files that each contain 48 tabs that I need to export to a csv. file so I would like to use script rather than doing it manually. I would need to export the data for all 48 tabs and for all 3722 origins but only for 3 destinations and don’t know how to select the destinations. Below is one of the things that I tried but that did not work. Any help would be greatly appreciated.

RUN PGM=MATRIX

FILEI MATI[1] = “C:\xxx\TRNAM_AB.SKM”
MO=1-48
FILEO MATO[1] = “”,
MO=1, FORMAT=DBF, PATTERN=IJM:V

FILEO MATO[2] = “C:\xxx\TRNAM_AB6.csv”,
MO=1, FORMAT = CSV, PATTERN = IJM:V, MAXFIELDS=48 FIELDS = 25-26,1-3722,1-48,0

MW[1]=mi.1.1

ENDRUN