Search found 53125 matches

by ray.wurlod
Tue Jul 24, 2007 11:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to detect 'fatal' from job in calling sequence
Replies: 12
Views: 3545

1. But there will be a warning logged which you can detect.

2. Either - you can limit the date range of the search.
by ray.wurlod
Tue Jul 24, 2007 11:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routine Sql to list all jobs linked to specific table-fails
Replies: 15
Views: 6588

You need double quotes and single quotes within the SQL command's syntax, therefore you need to surround the command itself with the third quote character - backslash. DQUOTE() yields double quote characters, which are used in the EVAL. cmd = \SELECT DS_JOBS.NAME AS JOB_NAME, \ cmd := \ EVAL DS_JOBO...
by ray.wurlod
Tue Jul 24, 2007 11:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to execute more than one After-job Subroutine
Replies: 4
Views: 1385

You can call other subroutines from your own after-job subroutines. Write one that calls the two. You need a "DSU." prefix.

Code: Select all

Call DSU.MyFirstRoutine((InputArg), ErrorCode)
Call DSU.MySecondRoutine((InputArg), ErrorCode)
by ray.wurlod
Tue Jul 24, 2007 11:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling for dates/timestamps in MOdify Stage
Replies: 13
Views: 9904

handle_null() is apposite for any data type. The replacement value must be a constant, and compatible with the data type.
by ray.wurlod
Tue Jul 24, 2007 11:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Automation of job schedule without director usage
Replies: 10
Views: 3111

Actually there are some bugs in the DataStage Windows scheduler interface.

You can submit dsjob commands via AT. Search the forum or manuals for dsjob, and type AT /? for the syntax of the AT command.
by ray.wurlod
Tue Jul 24, 2007 11:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pick up new files only
Replies: 6
Views: 1399

If you insist upon using DataStage you can write a server routine and invoke it from a job sequence. The STATUS statement can report the date and time a file was created, modified and accessed.
by ray.wurlod
Tue Jul 24, 2007 11:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage 8.X STORED PROCEDURE STAGE (oracle)
Replies: 2
Views: 1523

Welcome aboard.

Can't see any reason why not. Have you tried it?
by ray.wurlod
Tue Jul 24, 2007 11:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Type 30 Descriptor Table Full - Windows
Replies: 5
Views: 3363

Director also has RT_CONFIGnnn and RT_STATUSnnn open for the currently selected job, and DS_JOBS and its CATEGORY index.
by ray.wurlod
Tue Jul 24, 2007 11:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Looking for some advice on Preload file to memory
Replies: 24
Views: 7071

1. Three times, unless you use public shared cache.
2. Public shared cache requires some uvconfig parameters to be set, and that's how it knows.
by ray.wurlod
Tue Jul 24, 2007 11:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stopped vs Aborted
Replies: 7
Views: 2062

A Stop request is just that, a request, to be processed by the job next time it pays attention to its RT_CONFIG table. There is no such thing as an immediate stop.

The job may indeed finish before it gets around (would have gotten around) to handling the stop request.
by ray.wurlod
Tue Jul 24, 2007 11:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using Environment Variables in Trigger Expression
Replies: 4
Views: 1066

Report the bug in MJC to IBM. In the meantime you have your workaround; compile the job sequence separately.
by ray.wurlod
Tue Jul 24, 2007 2:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to detect 'fatal' from job in calling sequence
Replies: 12
Views: 3545

1. Check the "log warning (in sequence) if activity does not finish successfully".
2. Scan the log with DSGetNewestLogId() looking for warnings or fatals.
by ray.wurlod
Tue Jul 24, 2007 2:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading DB2 Decimal Type
Replies: 4
Views: 2113

Welcome aboard. Are you working in a European locale (as set in Windows and/or DataStage)?
by ray.wurlod
Tue Jul 24, 2007 2:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert 'YYYY-MM-DD hh:nn:ss' format to 'YYYY-MON-DD' in PX
Replies: 10
Views: 5179

TimestampToString, StringToDate, DateToString - what data type is your output column (date or string)?
by ray.wurlod
Tue Jul 24, 2007 2:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: spreadsheet and table comparison
Replies: 6
Views: 1397

Pass through the five columns. Mark ColumnA as Key (which will get it into the WHERE clause). The generated SQL should then be:

Code: Select all

UPDATE table SET ColumnA=?, ColumnB=?, ColumnC=?, ColumnD=?, ColumnE=? WHERE ColumnA=? ;
which should work.