Search found 53125 matches

by ray.wurlod
Thu Jun 09, 2005 2:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when writing to SAS Parallel dataset
Replies: 1
Views: 991

Your configuration file has not specified a node pool or disk pool for sas (using the appropriate reserved name).
by ray.wurlod
Thu Jun 09, 2005 2:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wrapped Stage
Replies: 4
Views: 1572

Surely the Wrapped stage will be called for every row processed?!

What you really want to do is to pre-process the file, perhaps in a before-job subroutine that executes an appropriate operating system command (or shell script). A before-job subroutine is executed exactly once.
by ray.wurlod
Wed Jun 08, 2005 3:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clearing DSEngine/dsdlockd.log
Replies: 15
Views: 9981

It's a regular text file. Empty it any way you like. Probably the fastest is to copy /dev/null to it. Best to do this with dsdlockd shut down.
by ray.wurlod
Wed Jun 08, 2005 2:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Weird hash file error, fixed now
Replies: 1
Views: 870

It won't let you create one. But there could be a bug in import or paste that lets you get away with it. Only waste time pursuing it if it's costing you sleep.
by ray.wurlod
Wed Jun 08, 2005 2:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compiler or Interpreter?
Replies: 10
Views: 3184

Actually, you don't need fnuxi for compiled BASIC code. The run machine checks the magic number to determine the byte order, and will adjust "on the fly". It's more efficient if you have corrected the byte order, of course, but it's not actually necessary . <positive spin> What this means is that co...
by ray.wurlod
Wed Jun 08, 2005 2:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage
Replies: 9
Views: 3985

One of many errors in the manual. The functions that the Modify stage uses are similar but different from the functions that the Transformer stage uses; for example many of the Modify stage function names include underscores. Maybe they'll become more consistent in a future release. Meanwhile you ne...
by ray.wurlod
Wed Jun 08, 2005 2:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot Stage
Replies: 7
Views: 2526

If you report what you think is a bug, your support provider will demand that you prove what you are saying. You usually do this by supplying job designs and, if needed, test data that reliably demonstrate what you are claiming. This is a "reproducible test case".
by ray.wurlod
Wed Jun 08, 2005 2:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Iconv / Oconv function - MCP code
Replies: 2
Views: 2688

If NLS is enabled, your CHARACTER locale category has a list of characters deemed to be printable. This will override the results that Arnd reported. Any other character is converted to "." by the MCP conversion code.

Iconv() and Oconv() functions are not directly available in parallel jobs.
by ray.wurlod
Wed Jun 08, 2005 3:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage job to create Oracle table rather than sqlplus
Replies: 5
Views: 5531

You can't use a parameterised WHERE clause on a stream input link. Replace the :1 with something else - ROWNUM maybe - or just drop the WHERE clause; there is only one row in the DUAL table.
by ray.wurlod
Wed Jun 08, 2005 3:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Checking for updates in a database then migrating data
Replies: 6
Views: 1829

Log scrapers are to be resisted because of the danger that database vendors will change the format of transaction logs in future releases.
by ray.wurlod
Wed Jun 08, 2005 3:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Conversion
Replies: 2
Views: 1170

Or, just to supply an alternative, you can format it if you're confident in the input format.

Code: Select all

Fmt(InLink.TheDate, "L####-##-##")
by ray.wurlod
Wed Jun 08, 2005 3:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HOw to insert date in oracle
Replies: 11
Views: 4017

Search the Forum; I have a vague recollection that the OCI stage requires an internal format date.
by ray.wurlod
Wed Jun 08, 2005 3:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Seems Corrupted
Replies: 5
Views: 1678

@KEY, @ID and @ are entries from the file dictionary, they ought not to appear in the data portion of the hashed file. My guess is that someone has somehow copied the dictionary entries into the data part. These will have "D", "I", "PH" or "X" in field #1, so should be easily detected. To see them S...
by ray.wurlod
Wed Jun 08, 2005 2:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to declare & use parameter in Routines
Replies: 14
Views: 11356

Pseudo-code ?

For each parameter name in controlled job If parameter name=value exists in file Then load controlled job's parameter with value, check for errors Else do not load controlled job's parameter; issue "default used" message EndIf End For Is that the design? More bullet proofing could be added.
by ray.wurlod
Wed Jun 08, 2005 2:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compiler or Interpreter?
Replies: 10
Views: 3184

At the risk of opening a (or another) can of worms, one can view the "assembly language" for this compiled code using the VLIST command. If you do you will make one fascinating discovery; there are quite a few multi-operand opcodes. For example, the multicat opcode can concatenate together any numbe...