Search found 53125 matches

by ray.wurlod
Fri May 02, 2008 11:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to Connect to Oracle through ODBC...
Replies: 3
Views: 1642

Please post the pertinent entries from .odbc.ini file and uvodbc.config file, as well as the complete and exact error message. Also include in your post how this error occurred - was it during View Data, a job run, or somewhere else. Equipped with these facts we will be more likely to be able to pro...
by ray.wurlod
Fri May 02, 2008 8:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: load raw data into oracle
Replies: 3
Views: 1580

Research the Oracle HEXTORAW or RAWTOHEX functions (depending on the direction - into or out of Oracle).
by ray.wurlod
Fri May 02, 2008 8:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Capture job parameters during runtime..?
Replies: 15
Views: 5661

The crucial bit appears to be "capture". Does that mean "read them from a file"? If so, by what thought process are they being called "parameters"? Are they "job parameters" or something else?
by ray.wurlod
Fri May 02, 2008 8:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Spliting sequential file into numerous files
Replies: 1
Views: 819

You can get various UNIX environment tools for Windows, some free. All of these will have a split command.
by ray.wurlod
Fri May 02, 2008 8:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I handle Key words in column Names?
Replies: 1
Views: 959

KEY is, of course, a reserved word (PRIMARY KEY, FOREIGN KEY). Therefore to use it as an identifier, such as a column name, you need to enclose it in double quote characters.

Code: Select all

SELECT DORR_ID, "KEY", QTY FROM tablename;
by ray.wurlod
Fri May 02, 2008 8:05 pm
Forum: IBM QualityStage
Topic: difference between Quality stage and QAS
Replies: 2
Views: 1628

Who is the manufacturer/vendor of QAS ? What does it purport to do?
by ray.wurlod
Fri May 02, 2008 4:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLAllocHandle
Replies: 2
Views: 919

Failed to allocate environment handle is typically indicative of one of two things - that the server does not have enough memory to undertake setting up an ODBC environment, or that the ODBC driver manager could not be found. These, therefore, should be the first areas that you investigate.
by ray.wurlod
Fri May 02, 2008 4:07 am
Forum: Information Analyzer (formerly ProfileStage)
Topic: Schema Definition for Fixed Width Files
Replies: 8
Views: 5787

Excellent research. Thank you for posting the answer.
by ray.wurlod
Fri May 02, 2008 12:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File nane with date
Replies: 25
Views: 10315

It uses a lower level call than that, probably fopen() - but I don't know for sure.
by ray.wurlod
Fri May 02, 2008 12:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write 0 to sequential file when source DB return 0 records
Replies: 4
Views: 1688

It's the same - detect that 0 rows were sent, and write zero.
by ray.wurlod
Thu May 01, 2008 10:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partitioning Problem
Replies: 11
Views: 2818

Code: Select all

ParallelStuff  ----> [Collector] Aggregator  ----> Target

Set the Aggregator stage to run in sequential mode and to use Sort/Merge collector.
by ray.wurlod
Thu May 01, 2008 6:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter for Input Value on General Tab of Job Properties
Replies: 4
Views: 2317

Have you added the environment variable to the job as a job parameter? Usually when the unresolved reference appears in an error message like that, it means that the job parameter does not exist or has been mis-spelled.
by ray.wurlod
Thu May 01, 2008 5:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: column import
Replies: 4
Views: 1126

:!:
Modify stage uses zero-based counting.

Nothing wrong with Transformer stages (these days) either.
by ray.wurlod
Thu May 01, 2008 5:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter for Input Value on General Tab of Job Properties
Replies: 4
Views: 2317

Welcome aboard.

Surround your job parameter reference with "#" characters, for example

Code: Select all

#$AGH_OUTPUT_DIR#
by ray.wurlod
Thu May 01, 2008 5:33 pm
Forum: General
Topic: Create Multiple Files Dynamically without using scripts
Replies: 6
Views: 4166

There is a very easy solution if you're prepared to use a server job. Make the target stage a Hashed File stage and choose Type 19 when creating it (or simply do nothing if the directory already exists). A "Type 19 hashed file" is actually a directory, and the record IDs (Keys) are file names in tha...