Varbinary error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
mab_arif16
Charter Member
Charter Member
Posts: 87
Joined: Sat Mar 18, 2006 11:45 pm

Varbinary error

Post by mab_arif16 »

I am sourcing the data from sybase which contains a varbinary feild ,While compiling I am getting an error varbinary dataype not supported does the data stage supports varbinary?
I had to use bintostr() fn in the sql and that data type to varchar ,Its working but I am not sure how to change it back to binary ,I tried to use the tranformer fn stringtoraw() but I think its not properly converting it back to binary .
Any suggestions
Thanks
Arif
jdmiceli
Premium Member
Premium Member
Posts: 309
Joined: Wed Feb 22, 2006 10:03 am
Location: Urbandale, IA

Re: Varbinary error

Post by jdmiceli »

Hi Arif,

Everything I have seen and read on this site so far leads me to believe that binary is not generally supported. In some ways this makes sense as you can't perform any Transform functions on this type of data. On the other hand, if a database table happens to have a datatype of Text for one field (which is technically not binary - just big), that doesn't mean I don't want to get the other fields in the table from source to target without modifying the Text field. Anyway, I think that is the correct answer to your question.

Bestest!
Bestest!

John Miceli
System Specialist, MCP, MCDBA
Berkley Technology Services


"Good Morning. This is God. I will be handling all your problems today. I will not need your help. So have a great day!"
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: Varbinary error

Post by ray.wurlod »

mab_arif16 wrote:While compiling I am getting an error varbinary dataype not supported does the data stage supports varbinary?
Isn't it obvious from the message?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mab_arif16
Charter Member
Charter Member
Posts: 87
Joined: Sat Mar 18, 2006 11:45 pm

Re: Varbinary error

Post by mab_arif16 »

ray.wurlod wrote:
mab_arif16 wrote:While compiling I am getting an error varbinary dataype not supported does the data stage supports varbinary?
Isn't it obvious from the message?
Why does the datastage has it then
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Reserved for future use? Also, the list of SQL data types is those decreed by the SQL 92 standard.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mab_arif16
Charter Member
Charter Member
Posts: 87
Joined: Sat Mar 18, 2006 11:45 pm

Post by mab_arif16 »

ray.wurlod wrote:Reserved for future use? Also, the list of SQL data types is those decreed by the SQL 92 standard.
If we use stringtoraw fn in transformer what data type the string gets converted to .
Thanks
Arif
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Raw
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply