Incorrect reading of data in binary field in ebcdic file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
dohertys
Participant
Posts: 39
Joined: Thu Oct 11, 2007 3:26 am
Location: Sheffield

Incorrect reading of data in binary field in ebcdic file

Post by dohertys »

I am testing a job which we are moving from version 7.5 to version 8 of datastage.

I am finding a difference in the values read by datastage for a particular field in an ebcdic file. I am testing using the same file for the 7.5 and 8 versions of the jobs.

The version 8 is unchanged from the version 7.5 ( i.e it was exported from 7.5 and imported into 8 ).

When I view the input file using VEdit, I can see the hex value of the 1st field is:

00 00 00 02

This field is defined in datastage a binary 9 signed, usage COMP.
i.e. PIC S9(9) COMP.

In my 7.5 job, this field is read with a value of 2.
In my 8 job , this field is read with a value of 8590127600


Any ideas?

Is this a bug, or has the move to version 8 exposed some incorrect settings in the filestage in my job?


Thanks.
dohertys
Participant
Posts: 39
Joined: Thu Oct 11, 2007 3:26 am
Location: Sheffield

Post by dohertys »

If I go to the 'Select Columns' Tab within CFF stage, and remove all the columns from the 'Selected Columns' List, and then add them all back in again, the problem goes away.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Odd. I'd report this to your official support provider, see if it is a known issue. Which 8.x version is this?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply