Search found 53125 matches

by ray.wurlod
Mon Aug 11, 2008 3:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting
Replies: 1
Views: 684

Create an additional set of "columns" upstream, containing the column names, and pivot these columns also.
by ray.wurlod
Mon Aug 11, 2008 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help in writing a routine
Replies: 3
Views: 1134

Your specification also needs to define the expected format of the file. Sure it contains parameter=value pairs but may it contain anything else such as comments (what do these look like) or blank lines? Are comments permitted following a parameter=value pair. Are spaces allowed around the "=" chara...
by ray.wurlod
Mon Aug 11, 2008 3:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to calculate the exponential values manually
Replies: 3
Views: 2055

It is highly unusual to have decimal numbers in the exponent for "scientific notation".

That said, the calculation is mantissa * (10 ** exponent) - in your case, 7 * (10 ** -0.002)
by ray.wurlod
Mon Aug 11, 2008 3:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How toUse User Variable Activity Stage
Replies: 2
Views: 1782

In particular the job sequence's parameters are available to all activities in the job sequence. They do not have to be re-declared in a User Variables activity.

Variables declared in a User Variables activity are only accessible to activities downstream of the User Variables activity.
by ray.wurlod
Mon Aug 11, 2008 3:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Every Run date and time should change
Replies: 5
Views: 1806

If you have MKS Toolkit or some other UNIX emulator installed you can also use an mv command to rename the file in an after-job subroutine ExecSH, using backquotes to capture the result of the date command.
by ray.wurlod
Mon Aug 11, 2008 3:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: RE:Dos Script for getting Job info
Replies: 9
Views: 2601

Is this the same question as this one?

Posting the same question in multiple fora does not get you any better answers, and annoys those who have perforce to re-read the same question.
by ray.wurlod
Mon Aug 11, 2008 3:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error using Oracle Bulk loader
Replies: 7
Views: 2044

Please describe job2 more fully - in particular all stage types used, and any processing done.
by ray.wurlod
Mon Aug 11, 2008 3:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job control fatal error (-4)
Replies: 18
Views: 4768

This can be caused if entries have been purged (manually or automatically) between the call to DSGetNewestLogId() or DSGetLogSummary() and the call to DSGetLogEntry().

That is, we're more likely talking data "corruption" here than physical corruption.
by ray.wurlod
Mon Aug 11, 2008 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Automating Design work
Replies: 7
Views: 1828

Hire somebody who CAN produce the DataStage jobs quickly.

Watch them and learn. Have them then mentor you in the techniques used.
by ray.wurlod
Mon Aug 11, 2008 3:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 11788

There is no restricton - the query Engine is obeying the field widths specified in the metadata (file dictionary). This is How It Works. If you want something different, YOU have to take control. Try this. SELECT EVAL "CONVERT(@FM:@VM,'~|',@RECORD)" FMT "132L#132" FROM ha...
by ray.wurlod
Mon Aug 11, 2008 3:11 pm
Forum: General
Topic: RE:Getting Job info from Dos Prompt
Replies: 2
Views: 1468

Urgh. Given that your server is UNIX, you are in for a messy path. You need to remotely execute a dssh command with in which you can execute the SQL.
by ray.wurlod
Mon Aug 11, 2008 7:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to open ODBC trace file
Replies: 3
Views: 1575

Check also in the global .odbc.ini file to see whether tracing is enabled there.
by ray.wurlod
Mon Aug 11, 2008 5:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to run my parallel job on windows with amd athelon pr
Replies: 3
Views: 1181

I suspect an Intel chip is required also, but am not 100% certain on this. But the message is definitely coming because 7.5.0 does not have support for compiling or running parallel jobs on a Windows platform. As was suggested, you need either version 7.5x2 (the "x" is part of the version number) or...
by ray.wurlod
Mon Aug 11, 2008 5:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Last day of the month as file name
Replies: 3
Views: 945

So instead of using the date command, you use the cat command and tr any newline characters from it. Something like

Code: Select all

mv basename.txt basename_`cat theotherfile | tr -d \n`.txt
by ray.wurlod
Mon Aug 11, 2008 4:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to write NULL value to the database
Replies: 5
Views: 1456

Spend some time verifying whether Trim("____") returns " " or "". You may need slightly different logic, perhaps testing against " ", or perhaps using Convert() rather than Trim().