data conversion

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
chucksmith
Premium Member
Premium Member
Posts: 385
Joined: Wed Jun 16, 2004 12:43 pm
Location: Virginia, USA
Contact:

Post by chucksmith »

On the mainframe, is 0 9 one column or two?

Is either a packed column (e.g. COMP-3)?
chucksmith
Premium Member
Premium Member
Posts: 385
Joined: Wed Jun 16, 2004 12:43 pm
Location: Virginia, USA
Contact:

Post by chucksmith »

Do you have a file on your DataStage server of the mainframe data with no conversion applied?

If so, try my tool, Create a hex/ascii dump of an ebcdic cobol file. This will give you a hex view of what is in the file.

You will find this tool on the DataStage Tools page of www.anotheritco.com.
dsrules
Premium Member
Premium Member
Posts: 76
Joined: Sun Nov 28, 2004 8:56 pm

Post by dsrules »

Its a one column. All the values of the column are fine expect this value. Some of the example values that were convereted right are

Code: Select all

0BVG40
0BVF43. 
The file was on mainframe and we use FTP stage to read it. The data format in EBCDIC is Pic(x), its char in the sequential file and SQL.
______________________________________
"Everytime I close the door on reality, it comes in through the windows." - Jennifer Yane
Post Reply