Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
In my job, I'm pulling files from a database, and wanting to divide full number of rows by four. I output each quarter of rows to a separate file. Here's my job:
In order to do this, I'm using a tJavaFlex component, which increments a variable by 1 for every value in ColumnA that isn't null, and then places that value in a global variable using globalMap.put(). Here's the code:
What I'm trying to do is call this variable in a tSampleRow component, with the following code:
When I try to run the job, I get the following error:
Am I attempting to do something impossible? If not, what is my mistake? I'm not sure what value in my job has a type of Object.
Thanks in advance for the help.
(String) globalMap.get("HFScount")
(Integer) globalMap.get("HFScount")
sdvorak wrote:
tdz,
Thank you for the suggestion. When I make the change you advised, I get the following error message: "Type mismatch: cannot convert from String to String[]".