Char 1 To Binary type

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
snassimr
Premium Member
Premium Member
Posts: 281
Joined: Tue May 17, 2005 5:27 am

Char 1 To Binary type

Post by snassimr »

Hi !

In my source I have Char(1) datatype of field . When I bring metadata to DS this field is Dispalyed as Binary(1) with symbol @ instead of a one letter

Does anybody know what's the point here ?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Unless you explain nobody will know the point.

1. What is your column defined as in your database DDL?
2. What is your column defined as in your source stage accessing the database in DataStage?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Are you trying to view unconverted EBCDIC value?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
snassimr
Premium Member
Premium Member
Posts: 281
Joined: Tue May 17, 2005 5:27 am

Post by snassimr »

In DDS its defined Char(1) in Stage I accessing the field in DS the field defined as Binary 1. I accessed the field with another query tool and its seems ok and I see the content of the field ok.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If the database has it declared as CHAR(1) then why are you declaring it differently in DS and what happens if you keep the CHAR(1) in you DataStage job?
snassimr
Premium Member
Premium Member
Posts: 281
Joined: Tue May 17, 2005 5:27 am

Post by snassimr »

Hi all !!!
The problem was resolved by assigning CCSID 424 for Hebrew
All fields were char represented in HEX format
Post Reply