Search found 53125 matches

by ray.wurlod
Wed Apr 25, 2012 5:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer C source file
Replies: 1
Views: 951

For starters, it's C++, not C. You will potentially see lots of classes mentioned that are not part of standard C. The C++ source code is retained within the project directory, in a sub-directory called RT_SCnnn (RT = runtime, SC = source code, nnn = the job number from DS_JOBS).
by ray.wurlod
Wed Apr 25, 2012 5:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex Flat File Stage
Replies: 27
Views: 10509

The tag value is how a variable subrecord implements different structures. For example the subrecord may contain a US-format phone number (3-digit area code) if the tag value is "US" but a French-format phone number (2 digit area code) if the tag value is "FR", and so on. How is ...
by ray.wurlod
Wed Apr 25, 2012 5:15 pm
Forum: General
Topic: KeyMgmt Function
Replies: 21
Views: 10200

Can you please show how you call the function?
by ray.wurlod
Wed Apr 25, 2012 2:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion error
Replies: 6
Views: 3487

Given your data types this is a spurious error ("they" are being over-cautious). Use a message handler to demote it.
by ray.wurlod
Wed Apr 25, 2012 2:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Help to Implement Logic
Replies: 14
Views: 5485

You need to execute this in sequential mode.
by ray.wurlod
Wed Apr 25, 2012 2:46 am
Forum: General
Topic: KeyMgmt Function
Replies: 21
Views: 10200

You can't use the DataStage SQL directly. You could use an Execute Command activity to invoke the DataStage shell (dssh) to execute the command. $DSHOME/bin/dssh "UPDATE SDKSequences USING DICT VOC SET F1=1 WHERE F0 = 'MySequenceName';" If you don't have $DSHOME set, hard code the full pat...
by ray.wurlod
Wed Apr 25, 2012 2:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading multiple files in server jobs
Replies: 12
Views: 5872

Code: Select all

TYPE file1 file2 file3 ...
You can also use a cat command, even though you are on Windows. You have MKS Toolkit (a UNIX emulator) installed.
by ray.wurlod
Wed Apr 25, 2012 2:40 am
Forum: General
Topic: Using the iteration number in a Loop
Replies: 9
Views: 2750

I go, I come back. You can't invoke the key management routines from an Execute Command activity but you can invoke them from a Routine activity. It should work OK even if the Routine activity is within a loop. Note, however, that sequences treat non-zero return values from routines as failures, so ...
by ray.wurlod
Wed Apr 25, 2012 2:37 am
Forum: General
Topic: Getting a parameter from a parameter set in a routine
Replies: 10
Views: 3333

Ans. Not nAns.
by ray.wurlod
Tue Apr 24, 2012 3:21 pm
Forum: General
Topic: how to run Datastage job in routine
Replies: 3
Views: 1611

DSAttachJob()
DSSetParam()
DSRunJob()
DSWaitForJob()
DSGetJobInfo()
DSDetachJob()

and probably others.
by ray.wurlod
Tue Apr 24, 2012 3:19 pm
Forum: General
Topic: Customizing palette
Replies: 2
Views: 2634

Welcome aboard.

There are three panes in the Customize Palette dialog - try to drag from the one that you are not yet using. If that doesn't work, select stage types and use the arrow button.
by ray.wurlod
Tue Apr 24, 2012 3:16 pm
Forum: General
Topic: Using the iteration number in a Loop
Replies: 9
Views: 2750

Try typing in the routine name in User Variable expression. If that doesn't work use a Routine activity.
by ray.wurlod
Tue Apr 24, 2012 3:15 pm
Forum: General
Topic: Getting a parameter from a parameter set in a routine
Replies: 10
Views: 3333

Where is the Ans variable in DSLogInfo() assigned its value?
by ray.wurlod
Tue Apr 24, 2012 2:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sort stage not working
Replies: 7
Views: 2661

Try removing the link sort settings. At best they are redundant. Just hash partition on id column (modulus partition would be slightly more efficient). Please post the output under this scenario.
by ray.wurlod
Tue Apr 24, 2012 1:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sort stage not working
Replies: 7
Views: 2661

Hash partition specifying id as the key? Sort specifying id as the first sort key then the other input column (col1) as the second sort key?