Search found 53125 matches

by ray.wurlod
Wed Sep 01, 2010 4:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can we execute the command prompt from DS8.1
Replies: 2
Views: 916

DataStage is not geared to employ interactive commands. DataStage processes run as background processes (they don't have a terminal interface).
by ray.wurlod
Wed Sep 01, 2010 4:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Re Naming DataSets
Replies: 5
Views: 1473

You can not rename, but you can copy then delete.

This will temporarily require double the volume of the Data Set on your resource disk(s).
by ray.wurlod
Wed Sep 01, 2010 4:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unix log and Director log
Replies: 4
Views: 1897

WHAT "aborted job log in UNIX"? DataStage does not automatically create one of these. Perhaps your designers are writing one. In that case, it is whatever they designed that will be in that log.
by ray.wurlod
Wed Sep 01, 2010 4:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-01400: cannot insert NULL
Replies: 17
Views: 9087

What's different about the production environment? Clearly "nothing" is not the correct answer.
by ray.wurlod
Wed Sep 01, 2010 4:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Query used in universe stage
Replies: 11
Views: 2600

Here is a prototype. Every project has the EXAMPLE1 table. SELECT EVAL "IF INDEX(PRODUCT,'Pro',1) THEN PRODUCT[INDEX(PRODUCT,'Pro',1),3] ELSE ''", PRODUCT FROM EXAMPLE1; Of course, since you know exactly what you're looking for, you could hard code that. SELECT EVAL "IF INDEX(PRODUCT,...
by ray.wurlod
Wed Sep 01, 2010 4:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot view any jobs anymore
Replies: 4
Views: 1620

Try this command in Administrator. SELECT NAME, CATEGORY FROM DS_JOBS WHERE NAME NOT LIKE '\\%'; If your jobs are listed there, the problem is either that the indexes need rebuilding, or that the metadata delivery service ("the services") are not running. To find out whether the indexes ne...
by ray.wurlod
Wed Sep 01, 2010 4:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Format
Replies: 5
Views: 2665

Ah. I misunderstood. As noted, take the left 19 characters, a space and the right two characters. Use a stage variable to avoid calculating the timestamp twice. svTimestamp <-- Oconv(Date(),"D/MDY[2,2,4]" : " " : Upcase(Oconv(Time(),"MTHS")) Left(svTimestamp,19) : "...
by ray.wurlod
Wed Sep 01, 2010 3:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: find PO BOX in a string
Replies: 2
Views: 1461

The Index() function is the one you want.

Code: Select all

(Index(InLink.TheString, "PO BOX", 1) > 0)
or you might add other variations

Code: Select all

(Index(InLink.TheString, "PO BOX", 1) > 0) Or (Index(InLink.TheString, "POBOX", 1) > 0)
by ray.wurlod
Wed Sep 01, 2010 3:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Format
Replies: 5
Views: 2665

Lose the "H" from the time conversion, which specifies a 12-hour clock. No "H" specifies a 24-hour clock.

Code: Select all

OCONV(DATE(),"D/MDY[2,2,4]") :" " : OCONV(TIME(),"MTS")
by ray.wurlod
Wed Sep 01, 2010 1:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: what is RTLogging & ORLogging ?
Replies: 5
Views: 3540

What the actual letters mean has never been revealed. Wherever you heard "OR" was somebody's supposition. I've also heard that "RT" indicates RT_LOGnnn (the local repository hashed file naming convention) but can't cite any reference for that. Again, I suspect my interlocutor was...
by ray.wurlod
Wed Sep 01, 2010 1:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to do this in transformer stage?
Replies: 0
Views: 1018

Derive ACTIVITY_STATUS as

Code: Select all

If InLink.LastActivityDate < DateFromDaysSince(-365,CurrentDate()) Then "INACTIVE" Else "ACTIVE"
by ray.wurlod
Wed Sep 01, 2010 1:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loop final value not numeric
Replies: 4
Views: 4992

Why is the activity variable contained in sharp signs? Build the expression with the expression editor. You should get something like Convert(@FM:" ", "", Fetch_NumTblNames.$CommandOutput) I believe that your reference to a non-existence stage variable is returning -3 (DSJE.BADPA...
by ray.wurlod
Wed Sep 01, 2010 1:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extract and Update the same table
Replies: 3
Views: 1190

No. I don't know Teradata.