Search found 153 matches

by battaliou
Wed Mar 17, 2010 8:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP
Replies: 6
Views: 2217

RCP will not work with flat files, need a relational source.
by battaliou
Mon Oct 26, 2009 9:25 am
Forum: General
Topic: DataStage 8.0 dsjob command error
Replies: 11
Views: 13688

Yes, thanks for the resolution, on AIX 8.1 you use a similar method, with a comma separated config file. I had the added joy of setting a project defined parameter. $ dsjob -file myfile.pas server:9080 server -run -param '$stageusr=paramuser' Project Jobname $ cat myfile.pas server:9080,server,user,...
by battaliou
Mon Sep 14, 2009 5:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicates issue in XML OUTPUT STAGE to generate xml
Replies: 4
Views: 1857

I assume you have xpaths defined for each of these columns? Please can you post them? Including named spaces (NS1:) in your output can be tricky, so you have to be pretty specific at what you're trying to achieve. Setting your "code" column as the repeating group column should resolve your...
by battaliou
Mon Jul 27, 2009 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dropping component "X" because of a prior componen
Replies: 5
Views: 30285

This looks like a problem with your reject link. Why dont you output everything from your lookup into a transformer and handle your exceptions there?
by battaliou
Thu Jul 23, 2009 4:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job design
Replies: 13
Views: 3787

Using DB2 you can issue the following:

Code: Select all

select 1 from dsadm.sample fetch first 1 rows only
This will either fetch 1 or no rows. Usings Ray's lookup technique, you can generate a single row into a lookup and try to get a match and fail it if not.
by battaliou
Thu Jun 25, 2009 6:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: UnZipping of files using Datastage
Replies: 9
Views: 11124

Ok, you need to direct the output of you tar to a named pipe. So create a named pipe called "np" by doing the following: mkfifo np When you're ready to run the job, simply go: tar -xzf xyz.tar.gz xx.tsv > np In datastage, your sequential file is called np and the data should stream through...
by battaliou
Tue Apr 21, 2009 4:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: compilation problem
Replies: 18
Views: 5366

where can i check the C licence dates. OK here's a quick test: login to DS Administrator and get your C compiler path from your Environment variables. It should look something like: /usr/vacpp/bin/xlC_r At unix login as dsadm and vi a dummy program e.g. hw.C #include <stdio.h> main() { printf("...
by battaliou
Mon Apr 20, 2009 5:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: compilation problem
Replies: 18
Views: 5366

Have you checked your C licence dates?
by battaliou
Fri Dec 12, 2008 3:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String Handling
Replies: 17
Views: 5384

An example of your output data here would be useful. If you simply require varchar to be quoted and numerics to be not in a sequential comma seperated file then set the quotes setting to " Alternatively you could simply have 1 output string a varchar 9999 for example in which you construct your...
by battaliou
Fri Dec 12, 2008 3:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String Handling
Replies: 17
Views: 5384

An example of your output data here would be useful. If you simply require varchar to be quoted and numerics to be not in a sequential comma seperated file then set the quotes setting to " Alternatively you could simply have 1 output string a varchar 9999 for example in which you construct your...
by battaliou
Wed Dec 03, 2008 9:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve this Logic?
Replies: 17
Views: 4797

Dont worry about variables beginning with 2, the logic reads:

StageVar1 = if CustID[1,1] = '1' then DSLink1.Address else StageVar1

StageVar1 will be persistent so you can access previous values.
by battaliou
Wed Dec 03, 2008 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to export DS category from windows command prompt
Replies: 10
Views: 4176

Mine is under the path:
C:\IBM\InformationServer\Clients\Classic
by battaliou
Wed Dec 03, 2008 6:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve this Logic?
Replies: 17
Views: 4797

You can use a stage variable to capture previous addresses, so you can have something like:

if CustID[1,1] = '1' then DSLink1.Address else StageVar1

simply populate your output column with StageVar1

This assumes data is sorted in the correct order of processing.
by battaliou
Wed Oct 29, 2008 6:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: UnZipping of files using Datastage
Replies: 9
Views: 11124

If you unzip directly into a named pipe, you can read it directly as a sequential file without landing the data.