Search found 57 matches

by rupeshg
Tue Feb 07, 2012 10:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routine Function
Replies: 17
Views: 10843

Have you tried creating a Transform ? That is reusable too.
by rupeshg
Tue Feb 07, 2012 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key generator
Replies: 5
Views: 4241

#1 You have to first generate the .sk file with initial value - you can do this with row generator ----> surrogate key generator stage row generator:- 1 row column- seq data type- integer initial vlue=0 Surrogate key stage:- input column name- seq action- Create and Update Source name- /<full path>...
by rupeshg
Wed Jul 06, 2011 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row into columns
Replies: 6
Views: 3714

row generator 2 | | | | | V row generator 1 ------> transformer 1 --------> join --------> transformer 2 ----------> peek row generator join..
by rupeshg
Wed Jul 06, 2011 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row into columns
Replies: 6
Views: 3714

Try this.... . row generator 2 . | . | . | . | . V row generator 1 ------> transformer 1 --------> join --------> transformer 2 ----------> peek row generator 1: one row with one column name "text", varchar datatype, value: "1 sam,alex,george,danny,mark" transformer 1: 3 columns ...
by rupeshg
Sat Mar 12, 2011 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Configuration file error in Datastage
Replies: 12
Views: 15345

What is the content of your default.apt default configuration file?
Try using the same fastname as given in default.apt file.
by rupeshg
Mon Nov 15, 2010 9:41 am
Forum: General
Topic: Generic Wrapper Parameter Setup
Replies: 1
Views: 1950

In Properties tab, define your properties with Coversion as "Value Only"
by rupeshg
Tue Sep 21, 2010 9:58 am
Forum: General
Topic: Before Job SubRoutine to set Job Parameter Values
Replies: 7
Views: 7994

Thanks Craig.

I established from your first reply itself that it's not possible to attach the same job. I was just trying any slightest hope to get it work as that will save lot of extra work for me.

Anyways, I'll go with Job Control or Sequencer Job.

Thanks once again.
by rupeshg
Tue Sep 21, 2010 9:13 am
Forum: General
Topic: Before Job SubRoutine to set Job Parameter Values
Replies: 7
Views: 7994

Thanks Craig and ArndW. ArndW, My jobname is "Test1" and I have added following code to my routine. IF DSGetJobInfo(DSJ.ME,DS.JOBNAME)= 'MyJobName' THEN JobHandle = DSJ.ME ELSE JobHandle = DSAttachJob('Test1',DSJ.ERRNONE) It still gets stuck for 1800 seconds before aborting. Is there somet...
by rupeshg
Tue Sep 21, 2010 7:06 am
Forum: General
Topic: Before Job SubRoutine to set Job Parameter Values
Replies: 7
Views: 7994

Before Job SubRoutine to set Job Parameter Values

Hi, Requirement: Before job subroutine (BASIC) to provide value (come from a shell script) to the Job Parameter of the same Job. Job Parameter <-- Before Job Subroutine <-- Shell script Solution so far: I can call the shell script and get its output value in a variable. Call DSExecute("Unix&quo...
by rupeshg
Thu Jul 15, 2010 9:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot connect to Oracle database
Replies: 6
Views: 9828

Does the datastage user have permission to access the library directories ? Yes, dsadm user belongs to dstage group for datastage and oinstall group for oracle access. I did not use dba group because oracle client was installed using oinstall group and hence the oracle libraries are owned by oracle...
by rupeshg
Wed Jul 14, 2010 4:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot connect to Oracle database
Replies: 6
Views: 9828

As I mentioned earlier, it didn't work.

Thanks for your quick reply though.
by rupeshg
Wed Jul 14, 2010 4:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot connect to Oracle database
Replies: 6
Views: 9828

Cannot connect to Oracle database

DataStage 8.1 Redhat Linux 5 Oracle 10g Client dsenv content: ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1; export ORACLE_HOME LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$APT_ORCHHOME/lib; export LD_LIBRARY_PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/rdbms/lib...
by rupeshg
Thu Jul 08, 2010 6:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Message Trigger jobs using UNIX
Replies: 3
Views: 2273

If you are refering "the queue" to Websphere MQ and your Datasatge job gets triggered by the MQ message on the stack, I suggest you design your Datastage job as multi-instance.
Note:Assumption is that there is no dependency between messages on MQ
by rupeshg
Tue Jul 06, 2010 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage 7.5.x compilation error for transformer
Replies: 5
Views: 4690

Hari, even if you have correct version of C++ compiler your parallel jobs won't run on Datastage 7.5.2 version. As rightly said by ArndW, the datastage version that works on windows in 7.x series is 7.5x2. You need to get the right installable along with the right compiler to get it working.
by rupeshg
Thu Dec 10, 2009 11:28 am
Forum: General
Topic: Oracle Error
Replies: 13
Views: 5204

Why you need root priviledge to find and see a file? Locating a file through a FIND command is easier with ROOT login as it does not give you error on Directories that you don't have access to, while searching the file with your user login. Comment was more specific on searching and locating the fi...