Search found 6797 matches

by DSguru2B
Wed Dec 27, 2006 2:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trouble viewing source data
Replies: 19
Views: 7841

Remember, it takes only one misplaced/missing quote to trigger it all.
by DSguru2B
Wed Dec 27, 2006 2:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: truncate command in ODBC
Replies: 27
Views: 8259

Its not the volume. Because the OPEN statement gets executed before the first record gets inserted. Something else is going on.
by DSguru2B
Wed Dec 27, 2006 2:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: truncate command in ODBC
Replies: 27
Views: 8259

Let me ask you this, can you execute a stored procedure from the OPEN command fine ???
If yes then just create a small stored procedure that truncates that table. Three or four lines of code for the stored procedure. Thats it. Atleast you dont have to worry about when it will/will not work and why.
by DSguru2B
Wed Dec 27, 2006 1:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: truncate command in ODBC
Replies: 27
Views: 8259

The truncate ghost is messing with you. :P
Jokes apart, try removing the trailing semicolon. See what happens. I wouldnt be surprised if it works.
by DSguru2B
Wed Dec 27, 2006 1:50 pm
Forum: General
Topic: odbc
Replies: 41
Views: 15395

Copy paste the entire error message.
by DSguru2B
Wed Dec 27, 2006 1:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding DSRUNJOB JOBCONTROL SUBROUTINE
Replies: 22
Views: 6430

First of all you need to get your terminology right.
Job control in subroutine--> tells us that you want to run that same job in its subroutine. You can use DSRunJob() function in JobControl. But not in the same job's properties
by DSguru2B
Wed Dec 27, 2006 1:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trouble viewing source data
Replies: 19
Views: 7841

Ok the input file looks really suspicious. Your quote character surrounds the delimiter and not the values. I was able to reproduce your error at my end. Its due to the same. Your data is messed up and thats why your getting errors. Build a server job and use a server sequential file stage to read t...
by DSguru2B
Wed Dec 27, 2006 1:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trouble viewing source data
Replies: 19
Views: 7841

I doubt it. As Whale requested. Can we get a well formatted sample data. Enclose it in 'Code' I just created a file with a pipe as delimiter. Its working fine.
by DSguru2B
Wed Dec 27, 2006 1:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup with multiple columns
Replies: 31
Views: 8721

Can you assure that atleast one column will never be a *. The more you can assure the better. If you can assure that then you can load your file to a temp table in your database and write a sql query to get this done. The sql query wont be pretty though. But you shouldnt care, your requirement isnt ...
by DSguru2B
Wed Dec 27, 2006 12:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding DSRUNJOB JOBCONTROL SUBROUTINE
Replies: 22
Views: 6430

Ok i am confused. You want to code the DSJobRun in the jobcontrol or the before/after subroutine section. If the later, you cannot run the same job in its before/after subroutine. It will crash and burn.
by DSguru2B
Wed Dec 27, 2006 12:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trouble viewing source data
Replies: 19
Views: 7841

You sure there is no leading or trailing space. Just increase the size from 10 to maybe 12 and then see if it screams.
by DSguru2B
Wed Dec 27, 2006 12:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: decimal to varchar
Replies: 4
Views: 1721

Re: decimal to varchar

i tried using DecimalToString but i could not get the syntax correct. You are on server platform and maybe thats why the DecimalToString function doesnt work. Its just available in px. Server is lineant in data type conversions and doesnt fuss about it. PX on the other hand needs explicit conversio...
by DSguru2B
Wed Dec 27, 2006 11:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trouble viewing source data
Replies: 19
Views: 7841

Do an exact search on 'Input buffer overrun at field'. This usually means that the data does not match its input schema.
by DSguru2B
Wed Dec 27, 2006 10:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trouble viewing source data
Replies: 19
Views: 7841

I read that before. You did not answer my question, what is the length that you specified for char? if its 10 then try using varchar.