Search found 53125 matches

by ray.wurlod
Sun Sep 30, 2007 2:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: maximum profit from overall branch
Replies: 11
Views: 2792

Nobody said it was not possible in DataStage. The point was that you are using a sledgehammer to repair a watch. If it can be done in SQL, do it in SQL. DataStage can issue the SQL, if you must, but it would be better using a reporting tool, either a database client tool or a business intelligence t...
by ray.wurlod
Sun Sep 30, 2007 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sql Like Clause in DataStage EE
Replies: 5
Views: 2186

What's the source of data? If the source is accessed via SQL, all you need to do is to incorporate an appropriate restriction in a WHERE clause.
by ray.wurlod
Sun Sep 30, 2007 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ignoring a column in the target DB stage
Replies: 12
Views: 6999

OK now post the SQL generated by your target DB stage. That is, the INSERT statement.
by ray.wurlod
Sun Sep 30, 2007 2:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate Hex(15) in Seq File
Replies: 7
Views: 2108

From the original post, where the question was how to generate Hex 15.
by ray.wurlod
Sun Sep 30, 2007 2:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command output of ExecCommand
Replies: 24
Views: 14220

In particular do NOT use a Field() function in this first debugging step.
by ray.wurlod
Sun Sep 30, 2007 2:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upgrade to EE
Replies: 4
Views: 1121

The most basic step of all is to double the amount you pay for the software. Other than that, I fully support what Arnd had to say. Those who run this site do offer a "Server to Parallel Transition Lab", or you can learn parallel jobs from the ground up by enrolling in standard vendor classes, etc.
by ray.wurlod
Sat Sep 29, 2007 3:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate Hex(15) in Seq File
Replies: 7
Views: 2108

You can use the function Char(21) to generate this value. The argument to the Char() function must be a decimal number. Tip: If you are going to use this a lot, initialize a stage variable (in a Transformer stage) with this function, and do not provide a derivation for that stage variable. This way ...
by ray.wurlod
Sat Sep 29, 2007 3:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command output of ExecCommand
Replies: 24
Views: 14220

... and is completely unrelated to your earlier problem with the activity variable.
by ray.wurlod
Sat Sep 29, 2007 3:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue in Transformer
Replies: 2
Views: 776

... and you will get one record per processing node. The Transformer stage executes on each processing node, and therefore @OUTROWNUM can be 1 on each of these. Use properties of the Sequential File stage to ensure that only one row makes it into your job.
by ray.wurlod
Sat Sep 29, 2007 3:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to hiding Password in the joblog
Replies: 4
Views: 1182

Don't pass it on the command line. Access it within the script.

Code: Select all

dsjob -user gerald -password $CMDW_DB2_PASSWORD -run -jobstatus $1 $2
by ray.wurlod
Sat Sep 29, 2007 3:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparing numeric and string value
Replies: 3
Views: 1178

After this, the answers may change.
by ray.wurlod
Sat Sep 29, 2007 3:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: calculating no of days from timestamp values
Replies: 6
Views: 1811

... or even just "DYMD".

As this article indicates, the Iconv() function is very smart about being able to eliminate delimiters without you needing to specify what they are.
by ray.wurlod
Sat Sep 29, 2007 3:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob fails staus code 30107
Replies: 6
Views: 6315

Because from the GUI the executing user is dsapi_server or dsapi_slave.
by ray.wurlod
Sat Sep 29, 2007 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to hiding Password in the joblog
Replies: 4
Views: 1182

Pre-set the the password (and anything else you'd like) in an environment variable, and make reference to that environment variable in the script rather than hard-coding the password.
by ray.wurlod
Sat Sep 29, 2007 2:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CHANGE CAPTURE & CHANGE APPLY- DATASTAGE
Replies: 3
Views: 1570

Express it in English. Make it a more specific question, and tell us what you are trying to achieve. U is also a registered user. Consult the Parallel Job Developer's Guide and discover what the Change Apply actually does (particular its relationship to the Change Capture stage) and you may find tha...