Search found 53125 matches

by ray.wurlod
Thu Feb 26, 2004 8:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BASIC transformer stage
Replies: 4
Views: 4343

There's a Favorites piece in the Palette where you can put those stage types you use regularly use. It's a great aid to productivity. :D
by ray.wurlod
Thu Feb 26, 2004 3:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can I transform an input file field?
Replies: 11
Views: 1983

Left(Convert(" ", "", TheString), 19) will remove ALL space characters then return the leftmost 19 (or fewer) characters of the result. If you want to guarantee exactly 19 characters, prefer Fmt() to Left(). Fmt(Convert(" ", "", TheStr...
by ray.wurlod
Thu Feb 26, 2004 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need help starting an insert of records to Oracle job
Replies: 5
Views: 1391

If deadline's really an issue, hire a consultant for a couple of hours, and be mentored as the design comes together.
by ray.wurlod
Thu Feb 26, 2004 3:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORABULK
Replies: 4
Views: 1459

The ORABULK stage was created as an active stage type which, among other things, means that it supports the concept of an after-stage subroutine. You can set this up to invoke ExecSH, and put your entire sqlldr command line into the Input Value field. Or you could invoke a shell script (using the sa...
by ray.wurlod
Thu Feb 26, 2004 3:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem of performances with DB2
Replies: 7
Views: 2700

* Has the unusual habit of not aborting the job when the db2 load fails, just a warning. I have no idea why they built it this way. It is one of my personal standards that nothing ever aborts. Nothing even generates a warning unless something needs to be warned about, in which case it is picked up ...
by ray.wurlod
Thu Feb 26, 2004 3:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can I transform an input file field?
Replies: 11
Views: 1983

That's all fine. You can get the leftmost 19 characters with the Left() function or substring For example TheString[1,19] You can trim redundant (multiple) space using Trim(). You can remove space characters using Convert(). For example Convert(" ", "", TheString) You can...
by ray.wurlod
Thu Feb 26, 2004 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to read this file
Replies: 9
Views: 3154

Look at the file using a hex editor of some kind (such as the UNIX command od -x) to determine exactly what the delimiter characters are. Then you're off and running. Until the AS/400 types change their program! :roll:
by ray.wurlod
Thu Feb 26, 2004 3:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Control Character
Replies: 10
Views: 4586

Determining whether there is a control character (the second requirement) is the same logic you already have. Counting how may you will need a routine. If you're not using NLS, something like the following. FUNCTION CountControlChars(TheString) Ans = 0 * Control characters are outside the AS...
by ray.wurlod
Thu Feb 26, 2004 3:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSRFCD
Replies: 3
Views: 1491

dsrfcd is the daemon for communicating with SAP's RFC mechanism. I don't presently have access to a system from which I can get the answer. Is there a dsrfcd.config file (or something similar) in which the port number is mentioned? Otherwise, check the manual for the SAP R/3 or SAP BW stage, depend...
by ray.wurlod
Wed Feb 25, 2004 7:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Batch Job for deleting a hash file
Replies: 11
Views: 3055

If the hashed file was created in a directory, rather than an account, then DELETE.FILE will not work; you'll need rm (UNIX) or del (Windows). If the hashed file was created with a UV stage, then DELETE.FILE will not work; you'll need DROP TABLE. If it was someone else who created the hashed file, t...
by ray.wurlod
Wed Feb 25, 2004 7:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Control Character
Replies: 10
Views: 4586

If inlink.colname <> Oconv(inlink.colname,"MCP")
Then you have a non-printing character
Else you don't have a non-printing character
by ray.wurlod
Wed Feb 25, 2004 3:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Look-Up Stage
Replies: 3
Views: 1229

There is a Lookup stage for Parallel jobs.
There is an entirely different Lookup stage for Mainframe jobs.
To get either you must have purchased the relevant edition.
by ray.wurlod
Wed Feb 25, 2004 3:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pivot Table - Row Counter
Replies: 2
Views: 1388

The Pivot stage does not do any transformations.
It's easiest to follow the Pivot stage with a Transformer stage. That's where you'd use the stage variable.
by ray.wurlod
Wed Feb 25, 2004 3:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Control Character
Replies: 10
Views: 4586

No, it should be there automatically.
In the Repository browser (tree view) open the Parallel branch. Under there you should see a Processing category. Expand that and you should find it.
by ray.wurlod
Wed Feb 25, 2004 2:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: printing out the logic from a derivation in a transformer
Replies: 2
Views: 888

That's exactly what the Reporting Assistant is for.

Push your metadata, including job designs, into another place (by default Doc_Tool.mdb) and they can take it away and research it to their hearts' content. Ideally not in billable time. :lol: