Search found 21 matches

by james garner
Fri Dec 10, 2010 9:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: cant figure out how to write out to varchar(1024) in sybase
Replies: 4
Views: 1719

I am told that because of the limitations of the varchar field in sybase 12.5 the original sql developer was filling the field as follows: sqlfield=sqlfield+"filling the varchar field with 255 chr chunks at a time" he says that even though you can define a varchar over 255 chrs you can onl...
by james garner
Tue Dec 07, 2010 7:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: cant figure out how to write out to varchar(1024) in sybase
Replies: 4
Views: 1719

I have done that but i get the 2nd error message. It's odd because i can view the data as varchar(1024) but then in the transform or straight to the export stage it chokes on the field length being greater than 254. when i import it as a longvarchar(1024) then it all works up to the export where i g...
by james garner
Mon Dec 06, 2010 4:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: cant figure out how to write out to varchar(1024) in sybase
Replies: 4
Views: 1719

cant figure out how to write out to varchar(1024) in sybase

Hi all, I have to read a SQL server 2000 table which has a varchar field 1024 bytes long and i need to write it to a sybase table which has the same varchar field length (and is in production so i cannot change the field type). what i'm getting is the error "Sybase Server message 5702 (severity...
by james garner
Thu Sep 09, 2010 1:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "file does not exist" error yet it does exist..
Replies: 7
Views: 2435

ok this is resolved, turned out to not be a datastage issue. the dba's rebooted our iq server and forgot to path/mount the folder, so iq could not see the dat file the sql file was referencing.

thanks everyone for all your help in this.

Jim
by james garner
Thu Sep 09, 2010 11:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "file does not exist" error yet it does exist..
Replies: 7
Views: 2435

ok, i had our Unix guy check the permissions and he says they are correct so just to rule it out i rebooted the server but am still getting the same error.

I'm also noticing that more of my existing jobs are starting to fail for the same reason.

huh...
by james garner
Thu Sep 09, 2010 8:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "file does not exist" error yet it does exist..
Replies: 7
Views: 2435

"file does not exist" error yet it does exist..

Hi all, I have a very simple parallel job thats pulling 18 records from SQL Server and putting them in a table on another server/database (IQ 12.7). This is something i've done 100's of times up to this point without any problems but for this job i'm getting an "ASA Error -1006133: File does no...
by james garner
Fri Jul 16, 2010 8:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can i use a lookup to get a key field from 2 date ranges
Replies: 8
Views: 2008

Is there any other stage or methodology i could try to use?
by james garner
Thu Jul 15, 2010 12:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can i use a lookup to get a key field from 2 date ranges
Replies: 8
Views: 2008

Right.. that seems to be my problem with the lookup, it cant perform a lookup on 2 overlapping date ranges..
by james garner
Thu Jul 15, 2010 10:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can i use a lookup to get a key field from 2 date ranges
Replies: 8
Views: 2008

thanks, i will try the transformer constraint... though on the lookup stage range lookup it only allows me to do a lookup 1 date field not on both field.

parent.eff_dt<=child.term_dt AND parent.eff_dt>=child.eff_dt

i would like to do this in the lookup stage if possible just dont see how.
by james garner
Thu Jul 15, 2010 9:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can i use a lookup to get a key field from 2 date ranges
Replies: 8
Views: 2008

Can i use a lookup to get a key field from 2 date ranges

Hi all, I am trying to get a key field from a reference table based on a date range overlapping another date range in the reference table. main table: rec # field_id eff_dt term_dt 1 1001 2003-01-01 2007-12-31 reference table: rec # field_id eff_dt term_dt 1 1001 2001-01-01 2002-12-31 2 1001 2004-01...
by james garner
Tue Apr 14, 2009 2:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can you output data to a text file?
Replies: 8
Views: 2131

for some reason i thought they were only used for input files.. i just tried it and it worked perfectly, thanks again!