moving image files (.Tiff, .jpg, .gif etc) with DataStage
Posted: Thu Jan 06, 2005 10:51 am
Is it possible to move image/graphic files from one source to another using DataStage? We have a requirement to move signature files from one place to another during a conversion project. The target is a SQLServer data field of type 'image'. The developers cannot find anyting specific in the DS documentation and they are wondering if this can be done or if they will be required to do this by another method.
The following "conversation" is all the info I have at the moment:
-- start of conversation --
Dan says:
Corey, can you give me a specific example of what you are attempting to move in terms of 'graphic' files and from where to where?? I'm posting a new thread on DSX.
Corey says:
The table we will ultimately move into is in CONV_ATOMS_TARGET.AITEmployeeSignature
Corey says:
The field is an image datatype (field name = SignatureSourceFile).
Corey says:
We don't have any images yet to load.
Corey says:
However, as a fallback I've been doing my own research/testing outside of datastage
Corey says:
I've setup a table in CONV_ATOMS_WORKING called test_image with a column called image_src (also image datatype).
Corey says:
I can move binary data into the table with a SQL command prompt utility called TextCopy
Corey says:
I've tested it successfully
Dan says:
ok.. I'll post it and let you know if they need more info or what feedback I receive...
Corey says:
thanks!
-- end of conversation --
*** Any assistance, advice or experience would be appreciated, folks. Thanks. ***
The following "conversation" is all the info I have at the moment:
-- start of conversation --
Dan says:
Corey, can you give me a specific example of what you are attempting to move in terms of 'graphic' files and from where to where?? I'm posting a new thread on DSX.
Corey says:
The table we will ultimately move into is in CONV_ATOMS_TARGET.AITEmployeeSignature
Corey says:
The field is an image datatype (field name = SignatureSourceFile).
Corey says:
We don't have any images yet to load.
Corey says:
However, as a fallback I've been doing my own research/testing outside of datastage
Corey says:
I've setup a table in CONV_ATOMS_WORKING called test_image with a column called image_src (also image datatype).
Corey says:
I can move binary data into the table with a SQL command prompt utility called TextCopy
Corey says:
I've tested it successfully
Dan says:
ok.. I'll post it and let you know if they need more info or what feedback I receive...
Corey says:
thanks!
-- end of conversation --
*** Any assistance, advice or experience would be appreciated, folks. Thanks. ***