Search found 53125 matches

by ray.wurlod
Tue Feb 24, 2009 9:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LIST.DICT
Replies: 10
Views: 3396

Please execute this command on your system, because the data type should be OK.

Code: Select all

LIST DICT.DICT 'LOC'
If the format ends in 'L' or 'T' then the quoted value is satisfactory. If you can't get it to work, use FUNC rather than LOC everywhere.
by ray.wurlod
Tue Feb 24, 2009 9:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Where are D_FMT, DEFAULT_DMY_ORDER fields?
Replies: 5
Views: 3881

These are fields in the NLS locale definition.

Code: Select all

LOGTO UV
LIST.DICT NLS.LC.TIME
SELECT * FROM NLS.LC.TIME WHERE CAT_ID = 'US-ENGLISH';
I get D2/MDY as the default date format for US-ENGLISH. Has someone ignorant been playing at your site?
by ray.wurlod
Tue Feb 24, 2009 9:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem cleaning up old projects
Replies: 5
Views: 2411

I must've missed this when you originally posted it. I have not seen the behaviour. But it suggests that there remain entries in the XMETA database (unified metadata repository for Information Server) that refer to these projects. How did you attempt to delete the projects in the first place, and we...
by ray.wurlod
Tue Feb 24, 2009 5:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: time conversion - 12 hour to 24 hour
Replies: 2
Views: 1620

Convert to string, check the AM/PM designator and change the hour piece if necessary. Lose the AM/PM designator and convert back to timestamp.

Or, probably easier, specify an explict TO_CHAR function in your Oracle SELECT statement that has HH24 in it.

Code: Select all

TO_CHAR(mytimestamp,'YYYY-MM-DD HH24:MI:SS')
by ray.wurlod
Tue Feb 24, 2009 5:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling Nulls and Data Types
Replies: 8
Views: 7090

The timestamp field must be nullable on the outer input link(s) and on the output link.
by ray.wurlod
Tue Feb 24, 2009 5:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LIST.DICT
Replies: 10
Views: 3396

Different INSERT statements have different columns into which they insert. And you do have to execute the COMPILE.DICT statement as well as the INSERT statements. Note that this is not SQL, so does not take a terminating semi-colon. And all the commands are case-sensitive. You can copy/paste them in...
by ray.wurlod
Tue Feb 24, 2009 5:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage and DB2 session tables
Replies: 2
Views: 2098

Who is doing the telling, and do they have any DataStage knowledge or experience?

What do "they" want you to achieve using session tables? How were you planning to do it?

Resist stupid requirements!!!
:twisted:
by ray.wurlod
Tue Feb 24, 2009 5:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Roll up monthly data to SCD
Replies: 7
Views: 4303

If there are no gaps, then my MIN and MAX solution is good. And faster. Especially if these columns are indexed with B-tree indexes.
by ray.wurlod
Tue Feb 24, 2009 5:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dspipe_wait(22354): Reader(22524) process has terminated.
Replies: 3
Views: 1286

There's a section at the end of Chapter 2 of the Parallel Job Developer's Guide that lists the restrictions on using server shared containers in parallel jobs. I can't check right now, but I seem to recall that one of them is that the server shared container must have an input and an output.
by ray.wurlod
Tue Feb 24, 2009 5:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run a Job based on the File appears in Unix
Replies: 4
Views: 1347

I would recommend writing a job sequence that uses a Wait For File activity, and starts a copy of itself with a different invocation ID before finishing. Provide an alternate mechanism for notifying it to shut down gracefully.
by ray.wurlod
Tue Feb 24, 2009 5:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a Basic Routine With in Job Control
Replies: 16
Views: 4429

No sympathy. Dennis makes me present webinars at 6AM local time (which means being on-line by 5:30AM).
by ray.wurlod
Tue Feb 24, 2009 5:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic file write stage.
Replies: 8
Views: 2447

That's because there's no such thing.
by ray.wurlod
Tue Feb 24, 2009 5:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Status
Replies: 2
Views: 2057

or DSINCLUDE/JOBCONTROL.H

Look for the constants whose names begin "DSJS."
by ray.wurlod
Tue Feb 24, 2009 5:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: informix date datatype
Replies: 6
Views: 2186

Change your Control-M script to be more gracious about status 2 (finished with warnings).
by ray.wurlod
Tue Feb 24, 2009 5:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any command to get the list of activities from Sequ
Replies: 9
Views: 3192

Note that if what you want is a list of the activities actually executed, rather than the activities in the job sequence design, a radically different approach is needed. Since you have marked the thread as Resolved, I will assume that this is not what you wanted in this case.