Search found 138 matches

by koolnitz
Wed Sep 20, 2006 7:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of stages in a project
Replies: 7
Views: 1748

Number of stages in a project

Hi All,

For some reason, I need to get counts of (i) no. of jobs, (ii) no. of stages, used in my project.

I know how to get the count for (i).
Is there any way to find out the count for (ii)? Of course other than opening all the jobs to count manually.

Thanks!
by koolnitz
Thu Aug 17, 2006 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparce lookup
Replies: 9
Views: 3232

1. You cannot use a Sparse lookup with DB2 API stage. See this post. I am not sure about ODBC.

2. A lookup can fetch multiple records from lookup table, if you check "Multiple rows returned from link" option in Constraints properties of Lookup stage.
by koolnitz
Thu Aug 17, 2006 11:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record count from datasets
Replies: 7
Views: 3833

Thanks guys.

Information by kumar_s in viewtopic.php?t=99456&highlight=dsrecords post is helpful.
by koolnitz
Thu Aug 17, 2006 9:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doubt with ExecCommand Activity in sequence
Replies: 9
Views: 3070

Craig, it does work in v7.5.1 8)
by koolnitz
Wed Aug 16, 2006 11:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doubt with ExecCommand Activity in sequence
Replies: 9
Views: 3070

In Command: rm In Parameters: /DataStage/751A/Ascential/*.blp The plus point with the above logic is you can even use job parameter if you want to change the directory runtime. In Command: rm In Parameters: #prmDirName# /*.blp >> prmDirName is a job parameter >> prmDirName can be set to /DataStage/...
by koolnitz
Wed Aug 16, 2006 7:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doubt with ExecCommand Activity in sequence
Replies: 9
Views: 3070

Try this..

In Command: rm
In Parameters: /DataStage/751A/Ascential/*.blp

Cheers!
by koolnitz
Wed Aug 16, 2006 11:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record count from datasets
Replies: 7
Views: 3833

Record count from datasets

Hi All, I have many parallel jobs, which create and populate datasets. After all the jobs finish, I want to get the count of records present in each of the datasets. All the datasets are stored in a single directory. I am aware of just one approach which doesn't look efficient to me - creating new j...
by koolnitz
Thu Jul 27, 2006 4:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error viewing log, Computed blink does not match expected
Replies: 17
Views: 15222

Bingo.. It worked :D

Thanks Craig!
by koolnitz
Thu Jul 27, 2006 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error viewing log, Computed blink does not match expected
Replies: 17
Views: 15222

Guys, Same issue here. The log file for a job exceeded 2GB and on finding this, the developer manually removed the files (using rm command) under RT_LOGnnn folder. He should have used CLEAR.FILE command!! Now the job has been locked. I want to delete this job. Will appreciate if any of you could gui...
by koolnitz
Thu Jun 29, 2006 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sorting with Hash parition
Replies: 1
Views: 912

Sorting with Hash parition

Hi,

I have a query on JOIN stage with Hash partitioning.

Is there any scenario when Sorting should not be done while joining two streams with Hash partitioning? Or should I blindly check the Sort option whenever partition type is set to Hash.

Thanks!
by koolnitz
Wed May 10, 2006 11:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing return value from ExecuteCommand
Replies: 5
Views: 7529

Bingo!!!

It worked, I just appended @FM for equality check.

Code: Select all

Execute_Command_10.$CommandOutput = 0 : @FM
Ray, you are a genious. Thanks much.
by koolnitz
Wed May 10, 2006 10:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: multiple access of a dataset within a job
Replies: 4
Views: 1569

Guys, thanks for the suggestions. Even I was thinking to use Copy stage - unfortunately my job looks like a spidernet, and becomes very unreadable.
by koolnitz
Wed May 10, 2006 7:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing return value from ExecuteCommand
Replies: 5
Views: 7529

Thanks Kim. I think the ExecuteCommand is returning correct output (may be in wrong format). In the first case above, Director is displaying correct no. of files present in the directory, i.e. 9. When I try to match $CommanOutput value with 9 or '9', it doesn't match. I tried out with Trim(), Num(),...
by koolnitz
Wed May 10, 2006 4:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetching job info
Replies: 2
Views: 1197

Found another way to see which jobs have used Basic transformer stages (or any other stages):

Go to DS Manager,
Select Stage Types -> parallel -> processing -> Basic Transformer -> Right click and select usage analysis.
by koolnitz
Wed May 10, 2006 1:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing return value from ExecuteCommand
Replies: 5
Views: 7529

Capturing return value from ExecuteCommand

Hi, I have a ExecuteCommand activity with following properties set: ExecCommand page Command : ls Parameters : #prmDirXml# | wc -l | tr -s ' '' ' | cut -f2 -d" " Triggers page Name : Link1 Expression Type :ReturnValue - (Conditional) Expression : = 0 Name : Link2 Expression Type :Otherwise...