Search found 103 matches

by adityavarma
Wed Oct 13, 2010 8:12 am
Forum: General
Topic: To run a job based on the output of the first job
Replies: 23
Views: 7909

Hi Chulett/Andrw Thanks for the reply, Now i got how to proceed on this, but i am stuck in the execute command triggers to start or abort the job. If Trim(Execute_Command_22.$CommandOutput) = 'SUCCESS' Then Else I am unable to get which command to use to start the next job if the output is success a...
by adityavarma
Wed Oct 13, 2010 7:02 am
Forum: General
Topic: To run a job based on the output of the first job
Replies: 23
Views: 7909

In my case, the job 1 will always be successfull. In the job1 i am writing a column into a dataset file i am fetching the column1 value from the oracle table. Column1 ====== Success or aborted. If the column1 value is "aborted" then the main sequence should abort. if the column1 value is &...
by adityavarma
Wed Oct 13, 2010 6:23 am
Forum: General
Topic: To run a job based on the output of the first job
Replies: 23
Views: 7909

In my first job i have source as oracle table i need to execute a sql query to find out the value of the column in that table, that value will be success or aborted, if the value is aborted the next job should not start and if the value is success then the next job should be initiated. Regards, Aditya
by adityavarma
Wed Oct 13, 2010 5:29 am
Forum: General
Topic: To run a job based on the output of the first job
Replies: 23
Views: 7909

To run a job based on the output of the first job

Hi,

I have an requirement where in i need to run the job2 based on the output value of the column of the job1.

Job1 --> Job 2


Can anyone please help me on this.
by adityavarma
Tue Oct 05, 2010 3:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: zero not to be truncated
Replies: 6
Views: 4789

The target is oracle table and the datatype is integer, so in the target i want the value to be 03
by adityavarma
Tue Oct 05, 2010 2:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: zero not to be truncated
Replies: 6
Views: 4789

zero not to be truncated

Hi, I have a source file which is fixed width and i am using substring function to fecth the value i.e testcolumn[25,2] and the value in source column (varchar) is '03' and the target is integer(2) field. In between, the source and target i am using a transfomer stage for transfomations on other col...
by adityavarma
Sun Sep 26, 2010 11:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling and reject
Replies: 3
Views: 2014

Thanks ray and ravi,

It worked.
by adityavarma
Sun Sep 26, 2010 10:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling and reject
Replies: 3
Views: 2014

Null handling and reject

Hi, I have a scenario where in there are 2 columns if both the columns have null values from the source then -2 should be harcoded and if any one of the column is null then the column should be rejected and if both the columns have values it should pass with the original values. for ex: Col1 Col2 Co...
by adityavarma
Thu Aug 19, 2010 12:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate key State file
Replies: 2
Views: 1553

User defined Block Size is 1
by adityavarma
Wed Aug 18, 2010 11:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate key State file
Replies: 2
Views: 1553

Surrogate key State file

Hi All, This is Regarding the surrogate key generator stage we are using in the job. We are generating surrogate key with the state files concept We are running the job on 4 node, but when we run the job, the surrogate key values are been generated for two records randomly as below 3483 3484 when we...
by adityavarma
Fri Aug 13, 2010 8:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling duplicates and Null values
Replies: 1
Views: 1263

Handling duplicates and Null values

I have a requirment where in i need to capture all the duplicates and null values into the reject table and into data error table Duplicate Check should be done on submarketcode,where all the duplicates should be captured for ex: 101 101 202 now both the records of 101 should be rejected and 202 sho...
by adityavarma
Wed Aug 11, 2010 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fact Performance improvement
Replies: 9
Views: 4951

TABLE1 -----------------------------------------------> JOIN 2 ---> FACT TABLE2 -----> COPY -- > AGG 1 ---- > JOIN 1 ------> JOIN2 --- > FACT -- > AGG 2 --- > JOIN 1 ---> JOIN2 ---> FACT -- > AGG 3 --- > JOIN 1 ---> JOIN2 --> FACT -- > LOOKUP_TABLE3 --- > AGG 4---> JOIN2 --> FACT -- > LOOKUP_TABLE4...
by adityavarma
Wed Aug 11, 2010 6:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fact Performance improvement
Replies: 9
Views: 4951

I am posting my job design below. [code] TABLE1 -----------------------------------------------------------> JOIN 2 ---> FACT TABLE2 -----> COPY -- > AGG 1 ---- > JOIN 1 --------------> JOIN2 --- > FACT TABLE2 -----> COPY -- > AGG 2 --- > JOIN 1 --------------> JOIN2 ---> FACT TABLE2 -----> COPY -- ...
by adityavarma
Wed Aug 11, 2010 4:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fact Performance improvement
Replies: 9
Views: 4951

You need to upload your screenshot to any of the free image hosting websites out there and then link to it from your post using the [img] or 'image' tags. Those sites will typically build them for you so that all you have to do is paste their completed tags into your post. Alternately, you can deta...
by adityavarma
Tue Aug 10, 2010 5:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage Job Design
Replies: 6
Views: 2731

Thanks for your reply Venkat. How can find the MAX(REF_DT) before join?