Search found 53125 matches

by ray.wurlod
Fri Feb 11, 2011 1:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: AIX 6.1 kernel parameters for IIS 8.5
Replies: 4
Views: 6298

One of the significant features of Advanced IBM UNIX (AIX) is, indeed, its self-tuning kernel.
by ray.wurlod
Fri Feb 11, 2011 1:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Format - Date
Replies: 4
Views: 5676

:idea:
Look very carefully at the percent signs in the error message.
by ray.wurlod
Fri Feb 11, 2011 1:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null Handling
Replies: 3
Views: 3890

You can specify a global Null Field Value on the Format tab of the stage but may need to override this for particular columns by editing their extended properties.
by ray.wurlod
Fri Feb 11, 2011 1:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String extract
Replies: 13
Views: 5160

Code: Select all

Right(StageVar,1)
will also return the final character. I prefer this approach as it's more "self-documenting" than the esoteric use of the substring operator.
by ray.wurlod
Fri Feb 11, 2011 1:45 pm
Forum: General
Topic: Datastage jobs Using Oracle Table
Replies: 4
Views: 3330

Learn from the experience. Always manage your metadata rigorously.
by ray.wurlod
Fri Feb 11, 2011 1:43 pm
Forum: General
Topic: DataStage 8.1 installation on Windows
Replies: 6
Views: 2898

The only issue is that you will need to convert the 7.x instance to using an 'itag' (a non-default shared memory key) because 8.1 must use the default itag ("ade").

You can only have one version of the client active at a time.
by ray.wurlod
Fri Feb 11, 2011 1:41 pm
Forum: General
Topic: DataStage 8.5 training
Replies: 7
Views: 4964

No.

I understand that IBM will shortly have "What's New" presentations for DataStage and QualityStage 8.5 but have not yet seem them (so can't comment on content).
by ray.wurlod
Fri Feb 11, 2011 3:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp issue inserting into Oracle table from flat file
Replies: 5
Views: 2132

I don't know what you're asking here - you've asked how to do something then described a solution that works. You've also marked the question as relating to a server job yet posted it in the Enterprise Edition forum. This is like asking your greengrocer why your blood pressure is elevated.
by ray.wurlod
Fri Feb 11, 2011 12:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CONVERT 'MM-DD-YYYY' to YYYY-MM-DD
Replies: 7
Views: 3575

Date data types don't have a format, so all you need to do (assuming the source is a text file) is StringToDate() function.

James suggests that you eliminate single quotes from the source data - a good idea if they're there.
by ray.wurlod
Fri Feb 11, 2011 12:26 am
Forum: General
Topic: Sequence Failing wierdly. Job is running but seq failing
Replies: 1
Views: 1456

What delightfully meaningful activity names!!!

What job does Job_Activity_151 run? That's right - TestJob_1. You appear to be attempting to run it twice. The second attempt probably fails because TestJob_01 is not in the right state because it is already running.
by ray.wurlod
Fri Feb 11, 2011 12:23 am
Forum: General
Topic: Code Quality Tool for DataStage
Replies: 6
Views: 6268

Demand to know from the client.

After all, DataStage is a graphical tool - THERE IS NO CODE!!!
by ray.wurlod
Thu Feb 10, 2011 6:53 pm
Forum: General
Topic: Get string from file using Execute Cmd & UserVar activit
Replies: 2
Views: 1992

The problem when you execute an operating system command is that every line is terminated with a linefeed (or carriage-return linefeed if on Windows). When DataStage retrieves the output from the command it converts all line terminators into a special character called a field mark, the value of whic...
by ray.wurlod
Thu Feb 10, 2011 5:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to call a file in Server routine
Replies: 3
Views: 2349

Code: Select all

Call DSExecute("SH", "pathname_of_script", OutputOfCommand, ExitStatusOfCommand)
by ray.wurlod
Thu Feb 10, 2011 3:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: subtract one day from date
Replies: 5
Views: 18206

Code: Select all

DateFromDaysSince(InLink.TheDate, -1)
by ray.wurlod
Thu Feb 10, 2011 3:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String extract
Replies: 13
Views: 5160

Code: Select all

svABCpos <--- Index(InLink.TheString, "ABC", 1)

Field(InLink.TheString[ABCpos+2,5], " ", 1, 1)