Page 1 of 1

BEFORE_FIRST error

Posted: Thu Feb 19, 2015 11:18 am
by monahanks
Good morning,
I have a project that (in part) reads a .CSV file, writes the data to a fixed width file, and then reads the fixed width file. When I try to print the 2 columns of the rowset, I get the BEFORE_FIRST error. I am attaching the job log and the XML information (as word docs).

Where am I going wrong on this?

Thanks,
Kevin

Re: BEFORE_FIRST error

Posted: Thu Feb 19, 2015 11:46 am
by Support_Rick
Put your Print Statement inside a For-Each loop across ${savedcontrol}. If you only need the first record, then just do an <exitLoop/> after the print values task.