Search found 53125 matches

by ray.wurlod
Thu May 28, 2015 3:49 am
Forum: General
Topic: Job getting aborted with strange error
Replies: 3
Views: 1352

Does your datastage job read or write any dataset? If yes, delete those datasets manually before running the datastage job. How do you come to that conclusion? There's no mention of data sets in the error message. There is, however, a mention of pxbridge.C, which suggests that there may be a proble...
by ray.wurlod
Wed May 27, 2015 4:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: cast function in db2
Replies: 3
Views: 1649

Not CAST. CAST changes data type. Use one of the functions that convert NULL to a non-null value.
by ray.wurlod
Wed May 27, 2015 4:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get the records count by the datastage operator?
Replies: 6
Views: 2512

Thanks for your reply. But I have to write the original osh scripts in our develop environment. Resist stupid requirements. This task is far more easily done without osh. After all, it's not really a parallel operation. What you're really seeking to determine are link row counts. There are calls wi...
by ray.wurlod
Wed May 27, 2015 3:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Stage Variable Loop
Replies: 1
Views: 936

Probably partitioning. Try running the Transformer stage in sequential mode, so that no partitioning is required.

And please confirm that svGroupNum is an int of some kind and was initialized to 0.
by ray.wurlod
Wed May 27, 2015 12:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to read high values
Replies: 2
Views: 1482

Tell us a bit more about the Sequential File stage - in particular whether you have NLS enabled and, if so, which character map is being specified. The "?"character typically indicates a character that cannot be mapped using the currently selected character map. The solution would be to ch...
by ray.wurlod
Tue May 26, 2015 6:58 pm
Forum: General
Topic: Reading a File & using the column value as parm for next
Replies: 5
Views: 1598

Actually you would use an Execute Command activity to read the file, and a User Variables activity to tidy it up (remove an empty final line, convert the line terminators to a delimiter character such as comma or tab for the StartLoop activity to use).
by ray.wurlod
Tue May 26, 2015 4:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job reports failure (code 720907)
Replies: 4
Views: 2952

Contemplate using a Column Export stage to construct the "all columns" field.
by ray.wurlod
Tue May 26, 2015 4:08 pm
Forum: General
Topic: job hangs on RESET
Replies: 2
Views: 907

Enabling dsdlockd should have been the first suggestion you had from support. This is a process that automatically cleans up locks held by defunct processes (among other things).
by ray.wurlod
Tue May 26, 2015 4:06 pm
Forum: General
Topic: Dynamic Recipient EmailID in Mail Notification Stage
Replies: 2
Views: 1802

You've pretty much described the steps you need. One job activity to retrieve the email ID from Netezza (not from New Zealand!) and park it somewhere from which the sequence can retrieve it. If you use a server job you can park it in the user status area of the job; otherwise use a temporary text fi...
by ray.wurlod
Mon May 25, 2015 8:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup failing for partial matched records
Replies: 5
Views: 2450

You should not be using these expressions in the Condition for a lookup; they do not generate a true/false value. Instead, generate the value in an upstream Transformer stage, and use the transformed value as your lookup key.
by ray.wurlod
Sun May 24, 2015 6:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Set the value of a Variable using a Variable
Replies: 5
Views: 1519

Indeed, I would probably initialize vReference to 0 and not give it a derivation at all. This would give me a tiny performance gain.
by ray.wurlod
Sat May 23, 2015 4:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Repeat the value of the first line of each group
Replies: 2
Views: 814

This is exactly the same question (apart from names) as this one that you asked recently and which has been answered.
by ray.wurlod
Sat May 23, 2015 4:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Set the value of a Variable using a Variable
Replies: 5
Views: 1519

Code: Select all

vReference  <--  0
vCheck  <--  If InLink.Col1 = 1 Then InLink.Col1 Else vReference
by ray.wurlod
Sat May 23, 2015 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Separately Group Rows then Re-group them in Exact Order
Replies: 9
Views: 1950

Yes? Use the value of the svProject stage variable, which contains the project from the most recently-encountered Type 1 record.
by ray.wurlod
Fri May 22, 2015 3:52 pm
Forum: General
Topic: Sequencer was entered, but never exited
Replies: 4
Views: 2269

It's doing exactly what you've programmed it to do. The output of the Sequencer cannot fire until it receives a signal from the upstream links. Your controlling sequence appear to be set to not pass a signal if SQ2 aborts. What is the nature of the trigger from SQ2?