Call to Web Service - Question about Output Rows
Posted: Fri Oct 03, 2008 7:52 am
Hi! I am making a call to a web service from DataStage and in the web service (java) I want to populate the returning object and then it will return that object to DataStage and output that row of data to a results file.
Sometimes the object doesn't get populated and that is fine, but I don't want it to insert a new row into the output file, but it seems that every row is being output. Does anyone have any suggestions on how not to insert a row into the results file if the object doesn't have any data. Should I direct the empty rows to a different file? Any suggestions would be appreciated!
Thanks,
Nicole
Sometimes the object doesn't get populated and that is fine, but I don't want it to insert a new row into the output file, but it seems that every row is being output. Does anyone have any suggestions on how not to insert a row into the results file if the object doesn't have any data. Should I direct the empty rows to a different file? Any suggestions would be appreciated!
Thanks,
Nicole