Search found 53125 matches

by ray.wurlod
Mon Nov 22, 2004 7:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing Log files
Replies: 7
Views: 3019

The log files are NOT FILES - they are database tables.

You can use regular queries on the DataStage server machine; you do not need UniVerse installed.

Search also for a routine called ArchiveLogFiles which was published years ago - you're not the first to have this requirement.
by ray.wurlod
Mon Nov 22, 2004 2:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert sequential file to XML format
Replies: 2
Views: 2220

Job design is

Code: Select all

   SeqFile  ----->  Transformer  ----->  XML Output

You can omit the Transformer stage if there is no transformation to be done. I prefer to leave it in there even if it's doing nothing, since it gives an active stage to monitor.
by ray.wurlod
Mon Nov 22, 2004 2:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange behavior with parameters
Replies: 4
Views: 1309

Now there is a useful new word: pratform :lol:

(It may have been unintentional but it's one I intend to use!)
by ray.wurlod
Mon Nov 22, 2004 12:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reject Special characters
Replies: 4
Views: 1495

To keep only printable characters, your "good" output can have the constraint expression InLink.ColumnName = Oconv(InLink.ColumnName, "MCP") and the "reject" output can have the logical inverse (<>) or simply use the rejected rows check box. The "MCP" conversion converts any non-pr...
by ray.wurlod
Mon Nov 22, 2004 12:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage 7.5 Sequencer Error
Replies: 1
Views: 747

Is there any required property (job name, parameter value, etc.) omitted?
Has the invoked job been successfully compiled before you attempt to use it in the job sequence? Has it been altered and/or damaged in the interim and not re-compiled?
by ray.wurlod
Mon Nov 22, 2004 12:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequence Status
Replies: 3
Views: 1056

Depends whether you want to report just the fact that the sequencer is to abort: jobA ---ok----->jobB---ok & warning--->sequencer(any)---ok-->jobC | V | +-------> Sequencer (Any) <--------------------------------+ | AbortToLog or whether you need extra information about which job...
by ray.wurlod
Sun Nov 21, 2004 8:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamically generate where clause-Urgent
Replies: 11
Views: 3686

Re: Dynamically generate where clause-Urgent

I have a situation where I have to retrieve values for the same fields from a DB2 database every time but the where condition depends on the input data. Is there any way to dynamically change the where clause in a DB2/UDB or ODBC stage used for lookup? Thanks and regards, Bakul You can use job para...
by ray.wurlod
Sun Nov 21, 2004 2:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to count records from Hash file which is in Root dir?
Replies: 2
Views: 3891

Provided you have the VOC pointer (which you can create with SETFILE) it's a simple query. You may be more comfortable with SQL than with the RetrieVe query language that Chuck suggested. SELECT COUNT(*) FROM hashedfilename; Here, hashedfilename is the name of the pointer in the VOC file; be...
by ray.wurlod
Sun Nov 21, 2004 2:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting all 38 significant digits from NUMBER
Replies: 9
Views: 3644

If the relevant columns in your tables are set to NUMBER(22) in the target that's not a DataStage problem. If you send your data to a text file, are the numbers truncated to 22 digits? If not, are you doing any transformation that might limit them to 22? Indeed, are you certain that the source has 3...
by ray.wurlod
Sun Nov 21, 2004 2:40 pm
Forum: IBM QualityStage
Topic: Can we correct spellings of street address, city and state
Replies: 2
Views: 1949

There are three rule sets each for a number of countries. For example, for the US there are USNAME, USADDR and USAREA. USNAME is used for bucketing - and, if you wish, subsequently correcting - individual and organization names for the US. USADDR is used for bucketing - and, if you wish, subsequentl...
by ray.wurlod
Sat Nov 20, 2004 4:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting all 38 significant digits from NUMBER
Replies: 9
Views: 3644

What is the value of your EXACTNUMERIC tuneable? You could always SELECT CAST(THE_NUMBER AS CHAR(38)) ... FROM ... You don't need user-defined SQL for this. On the columns grid, after you've done the import, change the Derivation from schema.table.THE_NUMBER to CAST(schema.table.THE_NUMBER AS CHAR(3...
by ray.wurlod
Sat Nov 20, 2004 4:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reject file
Replies: 1
Views: 1066

In a Transformer stage create an extra output link leading to your reject file. On your "good" output link have an expression that only allows non-reject rows through (for example InLink.City <> "DETROIT"). On the second output link, either have the logical inverse as a constraint expression (for ex...
by ray.wurlod
Sat Nov 20, 2004 4:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Lookup
Replies: 16
Views: 7928

If you use SETFILE, you're making the hashed file look like it was created in the account, by the fact that a VOC pointer exists. The fact that the hashed file is physically elsewhere is immaterial. Hashed files can always be deleted, but the correct method depends on how they were created. Put anot...
by ray.wurlod
Fri Nov 19, 2004 10:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .trc files in project home directory?
Replies: 7
Views: 2609

That's perfectly explicable. The project directory is the "home" directory for the process that runs your DataStage job. It's this process that is the Oracle client. The mechanism for running a server job is (slightly simplified): cd to project directory invoke uv (or uvsh ) as a PHANTOM (backround ...
by ray.wurlod
Fri Nov 19, 2004 6:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Whatz the use of '?' symbol in a DRS lookup .......
Replies: 6
Views: 1588

For whatever reason, DRS uses the Oracle notation for parameter markers (:1, :2 and so on) despite the fact that no other database does so Surely, if democracy is such a wunnerfull thang (as Dubbya keeps telling us), we should go with the majority vote ("?" as parameter markers in this case). Indee...