Search found 53125 matches

by ray.wurlod
Fri Feb 23, 2007 2:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job's previous run time
Replies: 4
Views: 895

Because you're doing this in a job sequence before the job starts, you can simply request the job start timestamp in a Routine activity. FUNCTION GetJobStart(TheJobName) $IFNDEF JOBCONTROL.H $INCLUDE DSINCLUDE JOBCONTROL.H $ENDIF hJob = DSAttachJob(TheJobName, DSJ.ERRNONE) Ans = DSGe...
by ray.wurlod
Fri Feb 23, 2007 2:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generic job for tranforming multiple files
Replies: 7
Views: 2737

Design a single job for each file, and maintain them into the future.

As soon as you wish to apply any kind of transformation, even a Trim() function, you must name the input column and output column explicitly. That rules out runtime column propagation.
by ray.wurlod
Fri Feb 23, 2007 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert records based on certian contents of records
Replies: 8
Views: 1957

You've missed the point. You don't need to treat them separately, because they follow a common pattern, namely nnnnnn$aaaannnnn. As was described - documented - in the response by DSguru2B, the expression takes: everything to the left of the $ character { Field(x, "$", 1, 1) } the first character of...
by ray.wurlod
Fri Feb 23, 2007 2:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: difference between two dates
Replies: 3
Views: 1376

Convert them to internal format (which is an integer number of days from a particular day #0) and subtract. You then have the difference in days.
by ray.wurlod
Fri Feb 23, 2007 1:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error reading in Sequential File Stage
Replies: 4
Views: 1221

Don't you have another thread open on this very question?
:?
by ray.wurlod
Fri Feb 23, 2007 1:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Output datasets via a command line
Replies: 10
Views: 3402

Documentation on the orchadmin command can be found in the Orchestrate Administrator manual.
by ray.wurlod
Fri Feb 23, 2007 1:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Put a timer on a sequencer
Replies: 2
Views: 737

Is the sequencer an "any" or "all" sequencer? Possibly, downstream of the sequencer, you need to create a loop for each job, that iterates for no more than your specified interval, sleeping (or napping) for small intervals in between checking whether the job's status is still "running". Suggestion: ...
by ray.wurlod
Fri Feb 23, 2007 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Command Stage
Replies: 11
Views: 7446

MKS Toolkit? Ships and installs with version 7.5x2.
by ray.wurlod
Thu Feb 22, 2007 7:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup - Selective Records; Other Continue
Replies: 7
Views: 1599

Even version 7.5x2 (Windows) permits conditional lookups.
by ray.wurlod
Thu Feb 22, 2007 5:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup - Selective Records; Other Continue
Replies: 7
Views: 1599

The Lookup stage has its own "Constraints" area - click on the second tool from the left in its toolbar.
by ray.wurlod
Thu Feb 22, 2007 5:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSU.ClearHashFile is not cataloged
Replies: 7
Views: 1867

Another possibility is that the job was exported from another project and imported into this one but the routine was not, so that ClearHashFile does not even appear in the Repository. If this is the case, you must obtain the routine from wherever the job was exported from.
by ray.wurlod
Thu Feb 22, 2007 3:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage AND/OR Transformer Function
Replies: 29
Views: 4685

Re: Modify Stage AND/OR Transformer Function

Folks, I m trying to use the Modify_Stage and I was wondering if anybody has used "lookup_int16_from_string" Conversion. I m trying to pull the substring from the column 1. "3.5 L V6 24-Valve DOHC" ---------------------> 3.5 L 2. "3.8 Liter V-6 24-Valve DOHC" -------------------...
by ray.wurlod
Thu Feb 22, 2007 3:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to eliminate the thicked pipeline |
Replies: 30
Views: 6625

:!: Briak Kernighan is the "k" in "awk" - Aho, Weinberg and Kernighan.
by ray.wurlod
Thu Feb 22, 2007 2:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine not working as expected
Replies: 9
Views: 1584

Should work, but is inefficient.

Code: Select all

If CandNrec.Mailing_List = ntwk_ex_info.MAILING_LIST Then @NULL Else If Index(CandNrec.Mailing_List, "NETWORKING_EXCHANGE", 1) = 0 Then "UNSUB" Else "SUB"
by ray.wurlod
Thu Feb 22, 2007 2:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Accessing CSV files on local drive
Replies: 13
Views: 3119

... then why did you post in the Server forum?

Craig covered the possibilities; either use an FTP stage or use a facility like Samba that makes your Windows folders visible to your UNIX machine (as if they were mounted there) or vice versa.