DRS Vs ODBC Stage

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
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

DRS Vs ODBC Stage

Post by thumsup9 »

Hello All,

I am trying to understand this

DRS stage-- I am doing a view data. I can see the data for all the columns except for the columns with binary Datatype. For these columns I see junk data when viewd through datastage.

Whereas when I view the same data through ODBC Stage
I can see all the data including the Binary Datatype columns.

Please explain whats happening here, also if you need more inputs..

Thanks much.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Source database? And this is with the DRS set to ODBC as well, I presume?
-craig

"You can never have too many knives" -- Logan Nine Fingers
meena
Participant
Posts: 430
Joined: Tue Sep 13, 2005 12:17 pm

Post by meena »

Hi thumsup9 ..
What is your source database? And you are checking with two different jobs one with DRS stage and other is with ODBC stage right...or in one
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is this ASCII and binary data, or is there another character set (Thai?) involved? Is the DRS stage set to use ODBC or a native API connection protocol? If a native protocol, are the environment variables that it requires correctly set?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

Post by thumsup9 »

Hi All,

Sorry for the delay.

Chulet -- SQL Server with DRS set to ODBC.

Meena-- Yes I am doing this in two jobs


Ray -- This is ASCII and Binary Data. NLS is set to ISO8859-1

Pls let me know if you need more inputs...

Thanks,
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

Post by splayer »

ray, how do you set DRS to use the native API?
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

splayer wrote:ray, how do you set DRS to use the native API?
By choosing Oracle, DB2, Sybase, etc.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Via the DBMS Type selection. Read the Help, it will list which are native and which are ODBC.
-craig

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