Hi All,
Job which runs successfully in old version is getting aborted in newversion.
I am getting a funny error. One of the text column generates junk values in new version. I use IF IsNull(Col) = 1 Then "Open" Else Col. It generates proper values in old version. The same job generates junk values in new version. The generated values populated into a hashfile, so that job is getting aborted.
Old Version is 7.0 and new version is 7.5
Can anyone advise on this please!
Job which runs successfully is getting aborted in newversion
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 28
- Joined: Wed Jan 11, 2006 8:29 pm
- Location: Singapore
- Contact:
Job which runs successfully is getting aborted in newversion
Thnaks and Regards,
AnjiReddy.
AnjiReddy.
The 'junk' values being generated is the 'funny error'? Are these junk values the contents of the 'Col' field or something else entirely? You may want to post some examples - what comes in the Col field and the result of the derivation.
I would guess the IsNull check is no longer returning True for those values and just passing on what's in the field. You might want to try changing the derivation to this and see if it helps:
That checks for empty strings as well as nulls.
I would guess the IsNull check is no longer returning True for those values and just passing on what's in the field. You might want to try changing the derivation to this and see if it helps:
Code: Select all
If Len(Trim(Col)) = 0 Then 'Open' Else Col
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Is the source a text file? If so, how is NULL represented in that particular column? You may need to visit the extended properties (Edit Row in the Columns grid) to find out.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.