Hi guys,
The Parallel Job Developer's Guide (page 28-4) shows an example of null handling for conversion of null to a char. I was looking to use this as I'm outputting to a seq file. However, if you use the example they recommend, you soon discover that there is no such conversion function as 'NullToValue' for the Modify. I know this exists in a Transform, but it doesn't appear to be valid for a Modify. When running the job, it returns:
Error parsing modify adapter: Error in binding: Unknown conversion: null_to_value
Expected destination field selector, got: ")"; input:
Looks like a documentation oversight to me...
Is there an alternative to this for the Modify, to achieve the same end? I've checked the available conversions in the same guide, from page 28-7 onward, but only 'null' and 'notnull' functions seem to exist.
Cheers
Modify stage - null handling
Moderators: chulett, rschirm, roy
Modify stage - null handling
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
The Modify operator is more fully (i.e. correctly!) documented in the Orchestrate Operators Reference.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>