variable length do not agree with dictionary id

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
cristina.jesuitas
Posts: 6
Joined: July 25th, 2018, 10:56 pm

variable length do not agree with dictionary id

Post by cristina.jesuitas »

Reference: CSPro example.

Please help im encountering this error: Variable(s) length do not agree with dictionary in ASSIGNMENT_SELECTION PROCEDURE
Attachments
1 - Data Entry.zip
(25.78 KiB) Downloaded 204 times
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: variable length do not agree with dictionary id

Post 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.
cristina.jesuitas
Posts: 6
Joined: July 25th, 2018, 10:56 pm

Re: variable length do not agree with dictionary id

Post by cristina.jesuitas »

I change Assignment Selection length to 47 and it okayed. Thank you very much.
Post Reply