Search found 15603 matches

by ArndW
Fri Nov 23, 2012 6:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSP.OpenGCI $DSP.open error -100
Replies: 2
Views: 1754

It really is a mismatch, if you cut-and-paste your SQL to your favorite tool and try to run it, you might see the problem. typically, if your SQL contains "CAST(MyColumn as VarChar(32))" then you will get this kind of error, you would need to write "CAST(MyColumn as VarChar(32)) as My...
by ArndW
Thu Nov 22, 2012 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture
Replies: 9
Views: 5404

Do you need the OBJECTID column downstream of your Change-Data-Capture stage? If not, then remove it from both input links. If you need that column you can remove it from one input (assuming you always want the value from the link which still contains that column) or if the value depends upon the CD...
by ArndW
Thu Nov 22, 2012 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to combine more than one flat file
Replies: 1
Views: 1003

You could write a job with 4 sequential file stages going into a funnel stage, or you could make one sequential file stage read multiple files, or you could CAT the 4 files together and read one file in datastage. I'm sure that there are numerous other possibilities, but these are the first that cam...
by ArndW
Thu Nov 22, 2012 4:29 am
Forum: General
Topic: Unexpected error importing design
Replies: 4
Views: 4105

That is indeed a strange problem.

What method are you using to promote your jobs between the environments?

Are these 3 distinct DataStage installations or one installation and 3 projects?
by ArndW
Wed Nov 21, 2012 11:28 am
Forum: General
Topic: Unexpected error importing design
Replies: 4
Views: 4105

Is there anything special about this job - seldom used stages, for example? I've had hidden bad characters and the like before, but in those cases the import would always fail. Can you think of any differences betwen prod and the other machines? Perhaps NLS is enabled in the other machines but not o...
by ArndW
Wed Nov 21, 2012 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture
Replies: 9
Views: 5404

What are the warnings that you are getting?
by ArndW
Wed Nov 21, 2012 4:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter in SQL results in incorrect substitutions
Replies: 6
Views: 3092

Unfortunately this looks like a problem that needs to be addressed to your service provider and fixed by IBM and I can't think of an easy workaround that doesn't involve changing your SQL. I wonder if the parsing problem persists if you move the wildcard strings to an included SQL file?
by ArndW
Wed Nov 21, 2012 4:35 am
Forum: General
Topic: DataStage sequence aborting with a false alarm
Replies: 4
Views: 2484

The status of your main multi-instance job, the one without a ".instancename" suffix, should be "compiled". The job should not be started without an instance name; if this job is running then until it is completed any attempts at trying to start a parallel instance will result in...
by ArndW
Wed Nov 21, 2012 4:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: info on ds log
Replies: 3
Views: 1686

Most often I see this error when taking a VarChar() column into an integer column and the string value in some records cannot be implicitly converted. This usually occurs in transform stages, but if you follow the instructions posted earlier regarding disabling operator combination in order to locat...
by ArndW
Tue Nov 20, 2012 1:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter in SQL results in incorrect substitutions
Replies: 6
Views: 3092

It isn't a documented parameter, but obviously there.

What about \%\P?
by ArndW
Tue Nov 20, 2012 12:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter in SQL results in incorrect substitutions
Replies: 6
Views: 3092

Can you replace the "%" with "\%" to see if that makes a difference?
by ArndW
Tue Nov 20, 2012 12:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing double quotes from a flat file
Replies: 5
Views: 2843

If you have a tab delimited file, are using parallel jobs, and don't need the double quotes, I'd simply add a filter to your sequential file read stage with the command "tr -d '\"'"
by ArndW
Mon Nov 19, 2012 11:51 am
Forum: General
Topic: Change the string to specific date format in User variable
Replies: 4
Views: 1212

There are actually 2 step involved, first you need to parse the string value into the internal date format, then output that internal date as a string OCONV(INCONV(UserVariable[1,4]:'-':UserVariable[5,2]:'-':UserVariable[7,2],'D4-YMD'),'D4-DMY[2,A3,4]') I'm not at a PC where I can check the syntax, ...
by ArndW
Mon Nov 19, 2012 10:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance improvement for reading a file via FTP Plug-in
Replies: 8
Views: 2154

Since the FTP protocol is a pretty simple one, unless there are huge amounts of transmission errors, you probably won't be able to do much. Normally the correct approach is to compress the file prior to transmission, but then the DataStage FTP stage isn't the correct one to use due to the binary nat...
by ArndW
Mon Nov 19, 2012 7:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage job ran for 11 hours,,, please help
Replies: 12
Views: 6910

I use the term "dummy sort" as well for sort stages that specify "don't sort, already sorted".

I just realized that this thread has split, as I answered a question on another thread. We should terminate one of the threads or merge them.