variable length do not agree with dictionary id

Discussions about CSEntry
cristina.jesuitas
Posts: 6
Joined: July 25th, 2018, 10:56 pm

variable length do not agree with dictionary id

Postby cristina.jesuitas » August 15th, 2018, 12:02 am

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 21 times

josh
Posts: 1687
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: variable length do not agree with dictionary id

Postby josh » August 15th, 2018, 6:11 am

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

Postby cristina.jesuitas » August 15th, 2018, 8:19 pm

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


Return to “Entry”