Page 1 of 1

variable length do not agree with dictionary id

Posted: August 15th, 2018, 12:02 am
by cristina.jesuitas
Reference: CSPro example.

Please help im encountering this error: Variable(s) length do not agree with dictionary in ASSIGNMENT_SELECTION PROCEDURE

Re: variable length do not agree with dictionary id

Posted: August 15th, 2018, 6:11 am
by josh
The problem is exactly as the error message says. The total length of the id-variables in the LMIS_ASSIGNMENT_DICT is 45: municipal (2) + barangay (3) + ea (3) + staff code (36) + role (1). The length of the variable ASSIGNMENT_SELECTION that you are passing to loadcase is 44. The two lengths must be the same, otherwise loadcase will never find a match. So either change the length of ASSIGNMENT_SELECTION to 45 or adjust the length of the id-items so that they total 44.

Re: variable length do not agree with dictionary id

Posted: August 15th, 2018, 8:19 pm
by cristina.jesuitas
I change Assignment Selection length to 47 and it okayed. Thank you very much.