Search found 53125 matches

by ray.wurlod
Thu Apr 22, 2004 9:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Debug a routin
Replies: 7
Views: 3628

The DEBUG statement really relates to UniVerse rather than to DataStage. It causes execution to be transferred to the source code debugger for UniVerse (the name of the debugger is RAID) and hand manual control to you. Unfortunately, DataStage routines are invoked from DataStage jobs, which run as b...
by ray.wurlod
Thu Apr 22, 2004 4:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage and Load Balancing Software
Replies: 4
Views: 4173

A lot of critical information, such as locks and semaphores, are maintained in shared memory. Failing over memory contents is impossible AFAIK.
by ray.wurlod
Thu Apr 22, 2004 4:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequenctial File - Delimited file - NO QUOTE CHARACTER
Replies: 2
Views: 1311

In both the quote character and delimiter character fields you can use the three digit decimal ASCII code value of the required character. For example, to use Tab as the delimiter, specify 009 . If NLS is enabled you can also use the four digit hexadecimal Unicode code value of the required characte...
by ray.wurlod
Thu Apr 22, 2004 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Eliminating leading 0 in the number
Replies: 5
Views: 2138

The absolutely fastest way is to add zero to the number.

DataStage arithmetic always returns the shortest possible string.

This will also remove trailing zeroes after the decimal point, which was an unstated part of your requirement but indicated in one of your examples.
by ray.wurlod
Thu Apr 22, 2004 4:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create Backup Of Flat File
Replies: 9
Views: 2813

Did you mark the parameter value with # characters using ExecDOS? In the Input Value field you need something like this:

Code: Select all

COPY /Y #MyFile# #MyFile#.bak
by ray.wurlod
Thu Apr 22, 2004 3:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job finished fine but shows "Aborted" status
Replies: 1
Views: 916

Welcome aboard. If any of your routines executes a call to DSLogFatal() or an ABORT statement that will cause the abort condition to occur. If a before/after subroutine sets its ErrorCode argument to a non-zero value the job will also be stopped. In your case, none of these applies. The error messag...
by ray.wurlod
Thu Apr 22, 2004 3:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Director Logs.
Replies: 4
Views: 1117

If you look in the status bar you will see the word Filtered . You can open the Filter using Ctrl-T, or right mouse click in the list view background, or from the menu. There you will see that the default setting is the 100 most recent entries. The idea is to limit the amount of data that have to be...
by ray.wurlod
Thu Apr 22, 2004 3:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML Plugin Error - Line 295, Square root of a negative numb
Replies: 3
Views: 1683

Which particular XML plugin are you using, and what are you attempting to do with it?
by ray.wurlod
Thu Apr 22, 2004 3:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Errors Encountered
Replies: 9
Views: 3911

The factr that there's an Oracle error code in this message indicates that DataStage sent the SQL to Oracle via the driver, but Oracle has complained about it. Use oerr -10695 to get more information about exactly what the error is. Was there any further text in the error message, or in a subsequent...
by ray.wurlod
Wed Apr 21, 2004 4:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: implied decimals
Replies: 4
Views: 1164

Iconv(string, "MD2") will generate the "implied decimal place" you require.
Read about MD conversions in on-line help or in the BASIC manual.

Remember, also, that there is only one data type in a text file: text. So you can use substringing and other techniques where appropriate.
by ray.wurlod
Wed Apr 21, 2004 4:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Remote datafile without using FTP Stage !!!!!
Replies: 3
Views: 1262

If you can mount the disks, for example via SAMBA, then they are accessible. In older versions of DataStage you may need to enable NFS via the ALLOWNFS configuration parameter. Or, as Ken suggests, yoy can create a shell script that retrieves the file to the local machine (perhaps using rcp , perhap...
by ray.wurlod
Wed Apr 21, 2004 4:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: interview questions
Replies: 2
Views: 1496

I answered this about 18 months back for another poster who was new then. Go herefor that responnse
by ray.wurlod
Wed Apr 21, 2004 4:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: catalog command
Replies: 9
Views: 3006

Assuming that the ".B program" that you have is a valid one, it needs to be placed in the DSU_BP.O directory. Syntax of the CATALOG command will then be CATALOG DSU_BP progname.B LOCAL This creates an entry in the VOC file of the project whose key is progname.B, which may not be exactly what you wan...
by ray.wurlod
Wed Apr 21, 2004 4:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DATE.TAG Warning
Replies: 1
Views: 809

Make your own clone of the DATE.TAG Transform and/or of the Routine it calls. Or simply create your own expression (or Transform, which is a pre-stored expression). For example: (TheDate = Oconv(Iconv(TheDate, "DYMD"), "D-YMD[4,2,2]")) This returns 1 if ht...
by ray.wurlod
Wed Apr 21, 2004 1:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Output of "UniVerse" Commands
Replies: 0
Views: 747

Capturing Output of "UniVerse" Commands

There are two commands within the DataStage Engine (~= UniVerse) environment for capturing output. COMO captures output into a file in the &COMO& subdirectory in the project. DIVERT.OUT allows output to be directed more generally. In the examples below &UFD& refers to the project directory itself. C...