Search found 15603 matches

by ArndW
Tue Jul 21, 2009 2:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple of file handling
Replies: 11
Views: 3921

Execute "ls -f /my/path/to/directory". Use the output, which is comma separated, as a list to parse within a loop, extracting one file name per iteration. This filename is passed to a DataStage job as a parameter, but is also used as the instance name for that job call.
by ArndW
Tue Jul 21, 2009 1:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while reading entire file
Replies: 7
Views: 3309

Don't add and set it at the project level, since by raising this value the working memory of all stages is increased (significantly) and performance is affected (significantly). Only set it for the job where you would need bigger blocks.
by ArndW
Mon Jul 20, 2009 9:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple of file handling
Replies: 11
Views: 3921

I am assuming that each file name is distinct, so if an instance exists then the job is already running or has completed.
by ArndW
Mon Jul 20, 2009 9:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fault Type 11
Replies: 18
Views: 6517

Can you do a View Data on the source from the Designer?
by ArndW
Mon Jul 20, 2009 9:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: GCI Initialisation error after installing Oci9 package
Replies: 7
Views: 5614

Which confuses me, since the OP stated that it was working before the server jobs were activated and installed OCI9. What stage was it using prior to that?
by ArndW
Mon Jul 20, 2009 8:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fault Type 11
Replies: 18
Views: 6517

Replace your target with a sequential file stage (in a copy of your job). Does the error still occur? This way we can narrow it down to the source stage - DB2 or SQL Server. Can you do a "View Data" on the source?
by ArndW
Mon Jul 20, 2009 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple of file handling
Replies: 11
Views: 3921

I would write a sequence that gets the directory contents using an execute command stage inside an outer loop. It would then loop through each file found and check to see if there is already an instance of the multiinstance job running for that filename (I'd use the filename as the instance name). I...
by ArndW
Mon Jul 20, 2009 8:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while reading entire file
Replies: 7
Views: 3309

You can raise the size of a block read from sequential files by increasing the environment variables $APT_DEFAULT_TRANSPORT_BLOCK_SIZE and $APT_MAX_DELIMITED_READ_SIZE. Note you will need to raise this value to 1 more than the next higher power-of-two to the longest record length; i.e. if your maxim...
by ArndW
Mon Jul 20, 2009 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: GCI Initialisation error after installing Oci9 package
Replies: 7
Views: 5614

Thanks for that piece of information regarding the PX-only install. I had no idea that it was possible to do this, I had always understood that buying a PX license implicitly gave one a Server license. The underlying engine is always installed and just about the only way to stop one from designing s...
by ArndW
Mon Jul 20, 2009 6:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error during Arabic data loading from text file
Replies: 12
Views: 4065

What datatype did you specify in Oracle? Could it be a long type or blob? Also, use "VarChar2(1000 char)"
by ArndW
Mon Jul 20, 2009 4:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job compilation error with a transformer in the job
Replies: 10
Views: 8444

Hmmm... that object should be a 32 bit one, in my opinion. I am working on 8.0.1 so can't answer this problem, which looks like a 8.1 specific one. On my system I only have "liborchbuildopaix3.so" in that subdir, no "liborchbuildopaix64.so"
by ArndW
Mon Jul 20, 2009 4:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error during Arabic data loading from text file
Replies: 12
Views: 4065

Varchar2 is the appropriate type for string values up to 4000 characters. I used "32" as an example - you might need a longer string - what is your input string maximum length?
by ArndW
Mon Jul 20, 2009 4:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can a routine retun multiple values?
Replies: 1
Views: 953

No, a routine just returns one value. But you can always code the routine so that it returns one string, but with separators between discrete values that you can parse out in your job.
by ArndW
Mon Jul 20, 2009 3:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error during Arabic data loading from text file
Replies: 12
Views: 4065

For NLS applications you should always make sure that, in Oracle, you declare strings using VarChar2(32 Char) so that 32 characters can be used. If you use the default, then just 32 bytes would be reserved and you couldn't store 32 multibyte characters into that strnig.
by ArndW
Mon Jul 20, 2009 3:22 am
Forum: General
Topic: Version control and documentation of DS
Replies: 4
Views: 1199

The type and level of documentation for DataStage is entirely dependant upon what the client or user wishes. There a capabilities at all levels to add documentation to jobs - in fact there are far too many places where one can add information and using all of them would be very tedious. At Version 7...