Search found 53 matches

by wnogalski
Sat May 19, 2007 7:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Large Xml Files
Replies: 10
Views: 5896

DataStage has problems with XML files larger than 200MBs.

A better solution is to write a simple program which will parse the file and create f.e. a comma delimited sequential file from the XML.

HTH
by wnogalski
Thu Jan 11, 2007 5:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extract Alphanumeric characters and space only
Replies: 4
Views: 3856

Have You tried the Convert function - it should satisfy all Your requirements and You won't have to write a routine:

Code: Select all

Convert("((!@#$%^&*().", "", Link.TheSting)
by wnogalski
Thu Jan 11, 2007 1:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to append the column
Replies: 8
Views: 4304

IMHO Whale's solution is much more readlable and easy to maintain - if You have a complex query then it's hard to see the concatenation and You end up wondering: "Why the hell do I have these strings here?". If You do it in Transformer You can give it a name "AppendX" and at a gl...
by wnogalski
Fri Jan 05, 2007 9:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: launch the same job with different parameters
Replies: 3
Views: 2440

If it's a fixed list of tables You can hard-code the tablenames in the sequence by setting the job's parameter.
If it should by dynamic (the table list changes) then store the list of tables f.e. in a sequential file and do the table row counts in a loop for each record in the sequential file.
by wnogalski
Thu Jan 04, 2007 10:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Whats does this mean?
Replies: 13
Views: 4886

Remove it an check what happens :roll:
by wnogalski
Thu Jan 04, 2007 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting varchar to timestamp in Oracle-ORA-01850 error
Replies: 9
Views: 8358

DATE datatype has nothing to do with the data format you get when you issue a SELECT statement - the format You see depends on your client settings. Oracle performs some datatype conversions automatically but it's better to do it explicity. If you have a varchar datatype in your OCI stage then you w...
by wnogalski
Thu Jan 04, 2007 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to capture duplicate reject row in the sequential file
Replies: 8
Views: 4447

That's a really smart - thanks for the tip DSguru2B :)
by wnogalski
Thu Jan 04, 2007 5:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to capture duplicate reject row in the sequential file
Replies: 8
Views: 4447

Count the rollno's using Aggregator and then filter the ones with count > 1.
by wnogalski
Thu Jan 04, 2007 5:46 am
Forum: General
Topic: dynamically passing tablename
Replies: 8
Views: 6992

Create a sequence - put 2 jobs inside and connect them. Job 1 - Sequential File --> Transformer --> Dummy HF. Inside the Transformer in the Derivation from the output link use SetJobUserStatus(link.PARAMETER) where link.PARAMETER is the column from the input. This will set the job's status to the ta...
by wnogalski
Thu Jan 04, 2007 4:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduling a job with input file frequency unknown
Replies: 3
Views: 2536

You can use "Wait For File Activity" in your sequence.
by wnogalski
Thu Jan 04, 2007 3:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to capture duplicate reject row in the sequential file
Replies: 8
Views: 4447

Store the Rejects in a HashedFile with key column set to rollno but this way you will only get the last version of rejected row with given rollno.
by wnogalski
Thu Jan 04, 2007 3:00 am
Forum: General
Topic: dynamically passing tablename
Replies: 8
Views: 6992

In the first job read the file with tablename and use SetJobUserStatus(link.PARAMETER) to set job's user status. In the next job in the sequence You can pass it as parameter f.e. job1.$UserStatus.
by wnogalski
Thu Jan 04, 2007 12:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running Multiple Instances-Partition By Date
Replies: 7
Views: 4441

It depends whats your source.
by wnogalski
Wed Jan 03, 2007 1:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running Multiple Instances-Partition By Date
Replies: 7
Views: 4441

Do You want to extract the data in parallel jobs ? IMHO it will be better to extract the data in one job, split it using Transformer and Constraints (f.e. link1 loadyear=2006, link2 loadyear=2005 etc.) and land the data into sequential files which will be transformed in parallel. When all needed tra...