Search found 6797 matches

by DSguru2B
Mon Mar 26, 2007 7:22 am
Forum: General
Topic: Link Count
Replies: 27
Views: 10932

pravin1581 wrote: INROWNUM is not giving the total row count but incremental count.

Stick in an agregator at the end and group on a static field (if not present create one) and specify LAST for the INROWNUM column to get the last record which will be the rowcount.
by DSguru2B
Mon Mar 26, 2007 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Format in Parallel job
Replies: 17
Views: 5360

Read it as varchar, trim the field and then apply StringToDate() to it with the format "%mm/%dd/%yyyy".
by DSguru2B
Mon Mar 26, 2007 7:00 am
Forum: General
Topic: Dynamism in DataStage
Replies: 13
Views: 4537

RCP is a good option that px jobs have but thats just for propogating the records. For any explicit transformations, the columns need to be defined.
And Yes, your requirement can be met in px jobs as long as you understand about the limitations of rcp.
by DSguru2B
Mon Mar 26, 2007 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spliiitng Sql query while extracting
Replies: 2
Views: 1081

You can do it at the database level or do it in seperate stages and collect them. It depends upon how much temp space you have, how much loaded the database will be when your run the query. Will your DBA allow that ??? etc. etc. etc.
by DSguru2B
Sun Mar 25, 2007 7:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running Routing from Parallel Job
Replies: 4
Views: 1489

First of all , what kind of routine is it? Is it a C routine or a Basic routine?
You mentioned Job Control so I am guessing its a Basic routine as for a C routine you must be executing it with DSExecute() at the OS level. Fill in some blanks for us, will ya.
by DSguru2B
Sun Mar 25, 2007 7:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Branching logic without a sequence
Replies: 1
Views: 604

I cant think of a graceful way of doing this within a single job. Its better to keep it in a sequence job. You can have a shell script that is fired as a stand alone that runs the dsrecords orch command and depending upon the output, decides whether to run the job or not. Otherwise stick to a sequen...
by DSguru2B
Sun Mar 25, 2007 1:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenation based on Condition
Replies: 8
Views: 4520

I believe you are right. You can concatenate an empty string.

Code: Select all

If IsNull(A) Then "" Else A: If IsNull(B) Then "" Else B
by DSguru2B
Sat Mar 24, 2007 9:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to funnel multiple links into single output link ?
Replies: 11
Views: 3971

You can also load the 5 links into 5 different flat files and in an after job subroutine, cat them all together.
by DSguru2B
Sat Mar 24, 2007 9:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Special character !! ... ascii value "20" ?
Replies: 15
Views: 3975

The hashes (#) show up in SAP right, so I guess you need a SAP expert to tell you what needs to be done. Or trim the fields before loading.
by DSguru2B
Sat Mar 24, 2007 9:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: query based on conditon???
Replies: 19
Views: 3382

As Ray advised before, send in a link with only inserts, and a reject link coming out of it going to another stage with updates.
by DSguru2B
Fri Mar 23, 2007 4:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multi Client Manager for switching clients DS 7.5 & 8 ?
Replies: 15
Views: 8211

Great. We have a confirmation. Thanks seanc217.
by DSguru2B
Fri Mar 23, 2007 2:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multi Client Manager for switching clients DS 7.5 & 8 ?
Replies: 15
Views: 8211

I think your better off posing that question to support. Not very many people have 8.0 as of yet. On top of that, using Multi Client Manager.
by DSguru2B
Fri Mar 23, 2007 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: For new Parallel Jobs which Version better 7.5 or Hawk?
Replies: 6
Views: 2585

Thispost seems to have a poster who is claiming the same.
by DSguru2B
Fri Mar 23, 2007 2:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation error on the transformer
Replies: 14
Views: 5661

Ok fine. Find out where your compiler lives. Get that path and specify that for the APT_LINKER and APT_COMPILER.
by DSguru2B
Fri Mar 23, 2007 2:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup on date fields.
Replies: 5
Views: 1028

As I indicated before, the metadata needs to be identical.