Search found 357 matches

by richdhan
Mon Sep 19, 2005 1:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequencer(server edition)
Replies: 7
Views: 1911

Hi DSLearner, For two job activities success triggers use the following condition JobActivityName.$JobStatus= 1 or JobActivityName.$JobStatus= 2 (Job is finished or finished with warnings) Use the Unconditional Trigger for the routine activites so that the log file is written both for success and fa...
by richdhan
Fri Sep 16, 2005 12:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: difference stage
Replies: 5
Views: 2583

Hi Arvind, I would advise you to search this forum for CDC stage. The CDC stage is the best stage for delta loads. The CDC stage has 4 options for Drop Out and in your case you can define Drop Out for Insert = False and Drop Out for Delete/Edit/Copy = True. The delta file will have only new records....
by richdhan
Thu Sep 15, 2005 6:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: About modify stage
Replies: 11
Views: 4259

Hi Nripendra Chand,

The Modify stage uses orchestrate functions. It will not accept string functions used in the transformer. Pls make sure what functions are available in the orchestrate manual for these kind of operations.

Moreover, you cannot apply two functions in the derivation.

HTH
--Rich
by richdhan
Thu Sep 15, 2005 6:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problems in string formating.
Replies: 12
Views: 4266

Hi Craig,

I have used the following syntax in my ETL jobs and it works fine. Thats why I suggested it eventhough it seems equivalent. Lets wait for dsedi's response.

--Rich
by richdhan
Thu Sep 15, 2005 1:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problems in string formating.
Replies: 12
Views: 4266

Hi dsedi,

The following syntax should get you through

col1 : Str(" ", 20 - Len(col1)): col2

HTH
--Rich
by richdhan
Mon Sep 12, 2005 1:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: regarding Date conversion
Replies: 17
Views: 8070

Hi Nripendra Chand,

Use the following conversion. You should be through.

Trim(Field(DecimalToString(INPUT_COLUMN),".",1))

HTH
--Rich
by richdhan
Mon Sep 12, 2005 1:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wat is the diff between parallel job and server job
Replies: 2
Views: 1606

Hi,

Pls do a search. It has been discussed already. Even last week there was a post. The search is available as a link at the top of the DSXchange screen.

Pls click the following link

--Rich
by richdhan
Fri Sep 09, 2005 3:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning - "Sequential file cannot preserve partion"
Replies: 9
Views: 5209

Hi Kumar,

In the copy stage set Preserve Partitioning to Clear and run the job. The warning will disappear.

HTH
--Rich
by richdhan
Fri Sep 09, 2005 2:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: regarding Date conversion
Replies: 17
Views: 8070

Hi Nripendra Chand, Try to output the value of the stage variable without doing the StringToDate Conversion. You will find that there will a leading space to the string and the last character truncated(A weird behaviour) I hope you are using DecimalToString(input_column) as the derivation for stage ...
by richdhan
Fri Sep 09, 2005 2:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error Compiling Parallel Job with Transformer Stage
Replies: 3
Views: 2381

Hi Ravi, I have come across these errors when the 1. Configuration file is not defined properly 2. Stages variables have some logical problems 3. Environment Variables defined as Job parameters are used without proper conversion You are using 2 output links but the second output link does not have a...
by richdhan
Thu Aug 25, 2005 1:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null values in Dataset
Replies: 2
Views: 988

Hi Nripendra,

The advantage of dataset is that it can store persistent data. It stores a NULL only as NULL and not 0.

If you want to handle null and provide some other value in the dataset other than 0 then use Transformer(NullToValue) or a Modify stage(handle_null).

HTH
Rich
by richdhan
Wed Aug 24, 2005 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header Trailer record creation for empty source
Replies: 6
Views: 4531

Hi DSLearner, 1. Create a dummy row with columns for Header and Trailer using a row generator. 2. Use the DB stage to get the detail records. 3. Use a Transformer with 2 output links, one to pass the records and other to an aggregator to find the count. 4. Use a lookup stage to pass the record count...
by richdhan
Wed Aug 24, 2005 7:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: regarding surrogate key generator
Replies: 1
Views: 1153

Searching the forum will yield faster results on different methodologies used for generating sakeys.

We use the column generator, the transformer and the DB stage to generate surrogate keys. Pls search the forum.

HTH
Rich
by richdhan
Fri Aug 05, 2005 2:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: About Auto partition
Replies: 5
Views: 2952

Hi Jack,

Instead of doing from the Administrator client add the $APT_DUMP_SCORE environment variable to your job parameters and set the default value to 1. It will give you the required information.

HTH
Rich
by richdhan
Fri Jun 17, 2005 9:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset Deletion
Replies: 6
Views: 5095

Hi Ray,

I have used both rm and delete commands and it seems to work well. Is there any difference?

I will also check from my end.

TIA
Rich