Run time error F(632)

While running the activity based model in cube voyager, I had found an error coded F(632). As I’m new to cube I’m not having a huge idea on this error. The error report is as attached below. I will appreciate your help

MATRIX (v.10/06/2017 [6.4.3 x64]) Wed May 01 16:04:46 2019

FILEI DBI[1] = “F:\MTech\MAIN PROJECT\CUBE\Activity Based Model\MODEL\SAMPLE_TOTAL.DBF”,
AUTOARRAY=ALLFIELDS
FILEI ZDATI[1] = “F:\MTech\MAIN PROJECT\CUBE\Activity Based Model\Inputs\Personal.mdb\Demographics”
FILEO RECO[1] = “F:\MTech\MAIN PROJECT\CUBE\Activity Based Model\MODEL\TOTALS.DBF”,
FIELDS=z, type, size_cat, inc_cat, total
PAR ZONES=5 ; internal number of zones
ARRAY sizes=9, incomes=5, cells=25, sizex=9, incomex=5

set val = 0 vars=sizes, incomes, cells, sizex, incomex, iter

;Initialize
LOOP k=1,DBI.1.NUMRECORDS
_Read = DBIReadRecord(1,k)
sizes[di.1.size_cat] = sizes[di.1.size_cat] + di.1.count
cells[di.1.type] = cells[di.1.type] + di.1.count
ENDLOOP

:ipf
;size pass
set val=1 vars=sizex
;calculate expansion factors
if (sizes[1]>0) sizex[1] = zi.1.hhsize_1[i]/sizes[1]
if (sizes[2]>0) sizex[2] = zi.1.hhsize_2[i]/sizes[2]
if (sizes[3]>0) sizex[3] = zi.1.hhsize_3[i]/sizes[3]
if (sizes[4]>0) sizex[4] = zi.1.hhsize_4[i]/sizes[4]
if (sizes[5]>0) sizex[5] = zi.1.hhsize_5[i]/sizes[5]
if (sizes[6]>0) sizex[6] = zi.1.hhsize_6[i]/sizes[6]
if (sizes[7]>0) sizex[7] = zi.1.hhsize_7[i]/sizes[7]
if (sizes[8]>0) sizex[8] = zi.1.hhsize_8[i]/sizes[8]
if (sizes[9]>0) sizex[9] = zi.1.hhsize_9[i]/sizes[9]
err_size = MAX(ABS(sizex[1]-1),ABS(sizex[2]-1),ABS(sizex[3]-1),ABS(sizex[4]-1),ABS(sizex[5]-1),ABS(sizex[6]-1),ABS(sizex[7]-1),ABS(sizex[8]-1),ABS(sizex[9]-1.0))
set var=0, vars=incomes
LOOP size_cat = 1,9
LOOP inc_cat = 1,5
ix = (size_cat-1)*9 + inc_cat
cells[ix] = cells[ix] * sizex[size_cat]
incomes[inc_cat] = incomes[inc_cat] + cells[ix]
ENDLOOP ; income
ENDLOOP ; hh size

Page 2 (VOYAGER MATRIX)
Jyoti Engineering College

;income pass
set val=1 vars=incomex
;calculate expansion factors
if (incomes[1]>0) incomex[1] = zi.1.pinc_1[i]/incomes[1]
if (incomes[2]>0) incomex[2] = zi.1.pinc_2[i]/incomes[2]
if (incomes[3]>0) incomex[3] = zi.1.pinc_3[i]/incomes[3]
if (incomes[4]>0) incomex[4] = zi.1.pinc_4[i]/incomes[4]
if (incomes[5]>0) incomex[5] = zi.1.pinc_5[i]/incomes[5]
err_income = MAX(ABS(incomex[1]-1),ABS(incomex[2]-1),ABS(incomex[3]-1),ABS(incomex[4]-1),ABS(incomex[5]-1.0))
set var=0, vars=sizes
LOOP size_cat = 1,9
LOOP inc_cat = 1,5
ix = (size_cat-1)*9 + inc_cat
cells[ix] = cells[ix] * incomex[inc_cat]
sizes[size_cat] = sizes[size_cat] + cells[ix]
ENDLOOP ; income
ENDLOOP ; hh size

iter = iter +1
PRINT LIST='Zone ‘,i(5.0),’ IPF ‘,iter(3.0),’ size error = ‘,err_size(5.3),’ income error = ',err_income(5.3)
IF ((err_size > 0.005 || err_income >= 0.005) && iter < 1000) GOTO :ipf
;print csv=t list = I, err_size(5.3), err_income(5.3)

LOOP size_cat = 1,9
LOOP inc_cat = 1,5
type = (size_cat-1)*9 + inc_cat
RO.z = I
RO.total = ROUND(cells[type])
WRITE RECO=1
ENDLOOP
ENDLOOP

MATRIX Stack Size = 6294 bytes.

M(780): ZDATI[1] variables:
OBJECTID WARD_NUMBE WARD_NAME© SHAPE_LENG TOTAL_POPU
SAMPLE_POP SAMPLE_MAL SAMPLE_FEM AGE_0 AGE_1 AGE_2
AGE_3 AGE_4 PINC_1 PINC_2 PINC_3 PINC_4
PINC_5 HHSIZE_1 HHSIZE_2 HHSIZE_3 HHSIZE_4
HHSIZE_5 HHSIZE_6 HHSIZE_7 HHSIZE_8 HHSIZE_9 LIC_0
LIC_1 EDU_1 EDU_2 EDU_3 TOP_1 TOP_2
TOP_3 TOP_4 TOP_5 TOP_6 TOP_7 TOP_8
TOP_9 NINF NOLD NEMP NST
Shape_Length Shape_Area

F(632): FILEI ZDATI[1] Z= has invalid or inconsistent field definitions.

M(792): ARRAY SIZES requires 80 bytes.

M(792): ARRAY INCOMES requires 48 bytes.
Page 3 (VOYAGER MATRIX)
Jyoti Engineering College

M(792): ARRAY CELLS requires 208 bytes.

M(792): ARRAY SIZEX requires 80 bytes.

M(792): ARRAY INCOMEX requires 48 bytes.

MATRIX ReturnCode = 2 Elapsed Time = 00:00:02
################################################################################

Your ZDATI input file variables do not include any of “Z, I, J, ZONE, ZONA or TAZ” to automatically select the zone variable as per the documentation, so you will need to have a “Z=” specification on your FILE ZDATI statement.

Something like:

FILEI ZDATI[1] = “F:\MTech\MAIN PROJECT\CUBE\Activity Based Model\Inputs\Personal.mdb\Demographics”, Z=WARD_NUMBE

Thank you so much. It works