;;<<PROCESS TEMPLATE>><<MATRIX>>;;
;{Title,note,12,"Create Binary Matrix Table from DBF File"}>>>
;{Description,note,10,"The script will generate a single table starting from a O D TRIPS file"}>>>
;{Example,note,8,"The DBase file must contain the following fields: O D TRIPS"}>>>
;Input Matrix File 1:{mati1,filename,"Enter Input DBF File",x,"D:\JOB\D3\MODEL\NEW\BASE\INPUT\EETRIPS_07A.DBF","DBF File (*.dbf)|*.dbf"}
;Output Matrix File:{mato,filename,"Enter Output Matrix File Name",x,"D:\JOB\D3\MODEL\NEW\BASE\OUTPUT\EETRIPS_A07.MAT","Matrix File (*.mat)|*.mat"}
;Maximum Zone number:{zones,editbox,"Enter Maximum Number of Zones",N,"2238"}
;**********************************************************************
;THIS SCRIPT READS A DBF MATRIX FILE, CREATE A MATRIX WITH THE RESULT *  
;**********************************************************************
; BY CITILABS
;
;;<<End Parameters>>;;

; Do not change filenames or add or remove FILEI/FILEO statements using an editor. Use Cube/Application Manager.
RUN PGM=MATRIX PRNFILE="D:\JOB\D3\MODEL\NEW\BASE\OUTPUT\EXT.PRN"


FILEI MATI[1] = "{Scenario_Dir}\INPUT\EETRIPS_07A.DBF",
PATTERN=IJ:V, FIELDS=ORZ,DSZ,AUTO_TRIPS
FILEO MATO[1] = "D:\JOB\D3\MODEL\NEW\BASE\OUTPUT\EETRIPS_A07.MAT",
MO=1 NAME=TRIPS

PAR ZONES={ZONESA}  

MW[1]=MI.1.1



ENDRUN
