5 35 5 Troubleshooting

LANSA Integrator

5.35.5 Troubleshooting

Attempting to READ a separated variable file, if you get this error message:
token count does not equal list field count at record line : nn
it indicates your working list definition does not match the information being read from the file.

There are several possible reasons:

  • Regardless of whether the file is read as *CSV, *TSV or *SV the working list receiving the file information must be defined to accommodate the maximum number of columns in the content.
  • The separator value must match the file information i.e. you will get an error if you attempt to read a CSV file as *TSV.
  • Any errors in the file information (for example, inconsistent number of separated value on a given line of the file).