Search found 53125 matches

by ray.wurlod
Wed Jan 14, 2009 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run UV SQL via DataStage
Replies: 11
Views: 5392

In a parallel job you can use a before/after job subroutine.

It may also be possible to use an ODBC Enterprise stage, but no promises here. Try it. You may need to be careful to make sure that the stage only executes on the machine where DataStage server engine is installed.
by ray.wurlod
Wed Jan 14, 2009 1:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data not populating.
Replies: 5
Views: 1248

No idea. You have not shown your SQL. However, a hashed file MUST have a key. You can't simply "remove the key".
by ray.wurlod
Wed Jan 14, 2009 4:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Analysing the metadatables (Repository tables)
Replies: 4
Views: 1280

Of course they are. For DB2 for example you can use DB2 Control Center.

There are 847 tables in a newly-installed instance of the common repository.

There is no documentation in the public domain. You're on your own. But it is fully "open".
by ray.wurlod
Wed Jan 14, 2009 4:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: what is '0x0', what significance it has with padchar
Replies: 2
Views: 1557

"HUB" : Char(0) : Char(0) would be one way. 0x00 is another way to represent the single-byte character whose encoded value is 0. In ASCII this character is called NUL (not the same as NULL in SQL). This character is recognized in the C language as terminating a string, so it is a useful c...
by ray.wurlod
Wed Jan 14, 2009 4:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Float to number conversion problem
Replies: 1
Views: 714

You specify 20 decimal places and are surprised to get 20 decimal places? Floating point numbers can not be represented accurately in computers; there is a limit to the accuracy. The IEEE has done a lot of work on this problem, but it is provable that there will never be a completely general solutio...
by ray.wurlod
Wed Jan 14, 2009 4:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: System Date format - 2009-01-06-12.00.00.000000
Replies: 3
Views: 1697

No, you just need to learn to use Oconv() correctly.

This article explains it thoroughly.

The expression you require is

Code: Select all

Oconv(@DATE,"D-YMD[4,2,2]") : "-12.00.00.000000"
by ray.wurlod
Tue Jan 13, 2009 11:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim on char fields
Replies: 13
Views: 2714

It will pad, and it will use whatever character is set as the value of APT_STRING_PADCHAR environment variable as the pad character. If this is a space, then yes, it will pad with spaces. If this is Ctrl-@, then it will pad with Ctrl-@ (NUL) characters.
by ray.wurlod
Tue Jan 13, 2009 11:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting rows into columns
Replies: 3
Views: 3246

Search for "vertical pivot", for it is that which you are striving to accomplish.
by ray.wurlod
Tue Jan 13, 2009 10:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Retrieving log from RT_LOG directory
Replies: 15
Views: 8439

Welcome aboard. DataStage does not have log files; it has logs stored in tables. RT_LOGnnn is a hashed file. That is, it is a database table, which happens to be stored in two (binary) files called DATA.30 and OVER.30. RT_LOGnnn is the log table for job number nnn. You examine its contents with SQL ...
by ray.wurlod
Tue Jan 13, 2009 10:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs running after resetting being done
Replies: 5
Views: 1987

Clear Status File option from Director for the Load job.
by ray.wurlod
Tue Jan 13, 2009 9:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: read hash files from unix
Replies: 3
Views: 1196

Moderator: please move to server forum Yes, it is possible to set up operating system commands to read from a hashed file, but what particularly do you wish to achieve? For example do you want to read a single value from a single record, do you want to execute some kind of query (to return multiple...
by ray.wurlod
Tue Jan 13, 2009 9:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs running after resetting being done
Replies: 5
Views: 1987

It's not clear what you're asking. By "mode" do you mean status? What it the status of each of the underlying five jobs? How are the job sequence compilation options set?
by ray.wurlod
Tue Jan 13, 2009 6:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: user defined query error
Replies: 21
Views: 8712

Get your Oracle DBA to monitor the session associated with the running DataStage job and, in particular, the SQL statement that is received in that session.
by ray.wurlod
Tue Jan 13, 2009 6:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Editing to Job Control
Replies: 7
Views: 3167

You're not alone. The job control code in a job sequence (and note that it's not "sequencer", which is a component in a job sequence) is deliberately read-only so that the nexus between the graphical design and the generated code is preserved. If you wish you can copy the code into the job...
by ray.wurlod
Tue Jan 13, 2009 5:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential stage filter command
Replies: 11
Views: 3616

No, you can't do it that way. The file pathname must appear in the filter command itself, the actual File Name property is ignored, and DataStage reads stdout of the actual (given) filter command.