Search found 53125 matches

by ray.wurlod
Mon Feb 13, 2012 2:29 am
Forum: General
Topic: How to assignment a sql to a variables
Replies: 5
Views: 1747

Use a sequence. Create a job to perform the SQL and either load the result into its user status area or write the result into a file. Once control returns to the sequence populate a user variable from the result either using the $UserStatus activity variable from the Job activity or by using an Exec...
by ray.wurlod
Mon Feb 13, 2012 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to encrypt and decrypt a file in datastage
Replies: 11
Views: 7955

Why "through datastage"?

Who's idea was that?
by ray.wurlod
Mon Feb 13, 2012 2:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Substracting two timestamp columns
Replies: 5
Views: 1699

Extract the date and time portion from each timestamp, convert the days to DaysSinceFromDate() using a base date suitable in the past (maybe 1900-01-01). Subtract the dates. Add one day if the first time is less than the second time.
by ray.wurlod
Sun Feb 12, 2012 9:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error loading DB2 table using ODBC stage
Replies: 5
Views: 3187

You can if the data are partitioned on COL2.
by ray.wurlod
Sun Feb 12, 2012 9:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass latest date
Replies: 11
Views: 2764

No. IF there are several records with the same date, then I need to pass all of them. No matter what solution you adopt, it will require two passes through the data, one to get the maximum date, the other to filter dates that match it. In SQL each nesting of SELECT statements is a pass through the d...
by ray.wurlod
Sun Feb 12, 2012 5:57 pm
Forum: General
Topic: Routine DSSendMail error
Replies: 2
Views: 1334

This one looks like you got through (there are RECV messages), but something's changed at the receiver. Is their mailbox full? You probably need to switch on more verbose tracing in the email system to resolve this one.
by ray.wurlod
Sun Feb 12, 2012 5:56 pm
Forum: General
Topic: Change the Language in the Designer
Replies: 3
Views: 1669

When you install the client, it picks up the default language from Windows and uses that. I'm sure that there is a mechanism for changing it, but it's likely that you need to change the Windows language first. Then it's probably reinstall the client.
by ray.wurlod
Fri Feb 10, 2012 7:08 pm
Forum: General
Topic: Access Xmeta
Replies: 6
Views: 2974

So long as /home is defined on the currently logged drive (the same drive on which Information Server is installed) and db2inst1 is defined in there, then you should be OK.

For example, if IIS is installed on E: drive, then E:\tmp is treated as /tmp.
by ray.wurlod
Fri Feb 10, 2012 3:35 pm
Forum: General
Topic: How to run the Batch Jobs from DataStage
Replies: 2
Views: 1182

Execute Command activity from job sequence.

ExecDOS as before/after subroutine.
by ray.wurlod
Fri Feb 10, 2012 3:29 pm
Forum: General
Topic: Access Xmeta
Replies: 6
Views: 2974

You've got MKS Toolkit (UNIX emulator) on Windows. So you can run Korn shell scripts.
by ray.wurlod
Fri Feb 10, 2012 4:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to compile parallel routine
Replies: 3
Views: 2168

Don't parameterize it. It doesn't move around.
by ray.wurlod
Fri Feb 10, 2012 4:41 am
Forum:
Topic: Need help in using metadata workbench
Replies: 39
Views: 14459

No it doesn't.

You really should have attended the training class that I've just finished running in Singapore. All this would have been a lot clearer.

DSXchange is not supposed to be a substitute for proper training.
by ray.wurlod
Fri Feb 10, 2012 1:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to encrypt and decrypt a file in datastage
Replies: 11
Views: 7955

pandeesh wrote:Partha,
Please tell, how the source file has been encrypted.
Using which alogorithm ?
Unless that's revealed, we can't proceed for decryption.
Of course we can! The answer is "with the same software".
by ray.wurlod
Fri Feb 10, 2012 1:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: scenario
Replies: 13
Views: 5668

Hijack alert!!!

You're running on two nodes, aren't you? Think about it.
by ray.wurlod
Fri Feb 10, 2012 1:51 am
Forum: General
Topic: Access Xmeta
Replies: 6
Views: 2974

What shell script? It should also work on Windows.