Search found 53125 matches

by ray.wurlod
Tue Oct 23, 2007 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: LPAD equivalent in DS
Replies: 5
Views: 2781

Why didn't you ask in the parallel forum? :?

Assuming you have a string data type you would use something like

Code: Select all

Left("00000",5-Len(InLink.TheString)) : InLink.TheString

If the incoming data type is not string, you would need to convert it to string.
by ray.wurlod
Tue Oct 23, 2007 3:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to convert a single row into multiple rows
Replies: 8
Views: 6499

You need to parse the comma-delimited field into separate columns, either when reading the file or using Field() functions in a Transformer stage upstream of the Pivot stage.
by ray.wurlod
Tue Oct 23, 2007 3:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pivoting Data
Replies: 3
Views: 1362

You don't need any parameters in the Pivot stage. You do, however, need to have parsed the comma-delimited format into separate columns.
by ray.wurlod
Tue Oct 23, 2007 3:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Where can I enable the NLS setting???
Replies: 14
Views: 6096

.
ogmios wrote:And wasn't NLS only included as of 6.x ... I don't recall 4.0 (as in the OP) having NLS at all.
The first version of DataStage to have NLS was 2.5, the next was 3.6, then every version after that (except x.0 versions) has had NLS capability.
by ray.wurlod
Tue Oct 23, 2007 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Where can I enable the NLS setting???
Replies: 14
Views: 6096

.
ogmios wrote:And wasn't NLS only included as of 6.x ... I don't recall 4.0 (as in the OP) having NLS at all.
The first version of DataStage to have NLS was 2.5, the next was 3.6, then every version after that (except x.0 versions) has had NLS capability.
by ray.wurlod
Tue Oct 23, 2007 3:13 pm
Forum: General
Topic: File attachment thru DS Mail.
Replies: 4
Views: 1285

Are you running version 7.5 or something earlier? If 7.5 there is a sample routine that shows how to use DSSendMail with an attachment.
by ray.wurlod
Tue Oct 23, 2007 3:11 pm
Forum: General
Topic: Get max value of a stage variable
Replies: 15
Views: 6135

That won't work in a parallel Transformer stage; Maximum() is a DataStage function that applies to dynamic arrays. So, instead of the Maximum() function you need three logical expressions joined by OR conjunctions. That is, define svMax as (sv1 > param) Or (sv2 > param) Or (sv3 >...
by ray.wurlod
Tue Oct 23, 2007 3:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error while extracting data
Replies: 2
Views: 1278

You need to Search the forum to discover the answer to this question, then have your DBA grant the appropriate SELECT privileges.
by ray.wurlod
Tue Oct 23, 2007 3:05 pm
Forum: General
Topic: Best Practices for IDOC Load
Replies: 3
Views: 1616

Probably. If something already exists to perform the extraction, use that. Otherwise ABAP is the easiest way to do it.
by ray.wurlod
Tue Oct 23, 2007 7:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning in Datastage 8x Remove duplicate stage
Replies: 6
Views: 6774

OK, there is a Sort stage upstream of the Remove Duplicates stage, is there not? In this Sort stage you must sort on the keys on which you are going to base the "duplicate" decision in the Remove Duplicates stage. Data must also be partitioned on these keys if the right results are to be obtained.
by ray.wurlod
Tue Oct 23, 2007 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reverse Pivot in Parallel Jobs (DS8) ?
Replies: 7
Views: 5494

You remember correctly, but there is a caveat that none of the "go forward" plans is guaranteed to happen. Yes, it's on plan for version 8.1.
by ray.wurlod
Tue Oct 23, 2007 4:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate reports for datastage jobs through unix?
Replies: 1
Views: 1878

1. No. 2. No. It's not possible. You can report separately on the subroutine. But not using dsjob command. You may also be able to do something through the Information Server reporting console but you won't be able to combine the job and its before/after subroutine(s) without hacking the generated X...
by ray.wurlod
Tue Oct 23, 2007 4:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: custom stage
Replies: 10
Views: 2151

That's right - it needs to be executed on the same machine as the Transformer stage. That means that a VB6 DLL can't be used; it is specific to Windows. You need to create object or function library that can be called in a UNIX environment. This rules out the use of Visual Basic as the programming l...
by ray.wurlod
Tue Oct 23, 2007 4:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is dssearch command used for ? and what is its syntax?
Replies: 7
Views: 8978

Welcome aboard. There is a useful Search capability in the menu at the top of the screen. You might start by using it. dssearch is one of those delightfully undocumented commands that suddenly appeared in the product one day. It probably gets a mention in the documentation that comes with the softwa...
by ray.wurlod
Tue Oct 23, 2007 4:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML parsing using XML_Plugin
Replies: 4
Views: 1392

English is my first language and even I struggled to make sense of that. Please use professional standards of language on DSXchange. Have you considered doing the parse check in one job and the actual processing in another? I think you'll find such a modular approach easier to understand and to mai...