Search found 53125 matches

by ray.wurlod
Thu May 30, 2013 12:22 am
Forum: General
Topic: Windowing Function Range Between Dates
Replies: 10
Views: 2725

Date of the first of the month can be obtained using DateFromDaysSince() or DateOffsetByDays(), using MonthDayFromDate() as the offset argument. Date of the last day of the previous month can be obtained using DateFromDaysSince() or DateOffsetByDays() using (MonthDayFromDate() + 1) as the offset arg...
by ray.wurlod
Thu May 30, 2013 12:16 am
Forum: General
Topic: Windowing Function Range Between Dates
Replies: 10
Views: 2725

jerome_rajan wrote:Server Jobs aren't an option in my project. Is there a way to achieve it in my parallel job?
BASIC Transformer stage.
by ray.wurlod
Wed May 29, 2013 6:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to Perform Logic in Transformer
Replies: 22
Views: 6398

Sorry, that's a local modification here. You can use IsValidDecimal() in the same way.
by ray.wurlod
Wed May 29, 2013 6:34 pm
Forum: General
Topic: It took more than ten years
Replies: 11
Views: 4498

01 FILLER PIC 9(5) VALUE 50000.
by ray.wurlod
Wed May 29, 2013 4:32 pm
Forum: General
Topic: It took more than ten years
Replies: 11
Views: 4498

It took more than ten years

$ $DSHOME/bin/dssh "BLOCK.TERM 50000" 555555555555 00000000 00000000 00000000 00000000 555555555555 0000000000 0000000000 0000000000 0000000000 5555 0000 00 0000 00 0000 00 0000 00 55555555555 00 00 00 00 00 00 00 00 00 00 00 00 555555555555 00 00 00 00 00 00 00 00 00 00 00 00 5555 00 00 ...
by ray.wurlod
Wed May 29, 2013 4:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to Perform Logic in Transformer
Replies: 22
Views: 6398

Code: Select all

If IsValidInteger(Left(InLink.MNO,3)) Then Left(InLink.MNO,3) Else If IsValidInteger(Left(InLink.MNO,2)) Then Left(InLink.MNO,2) Else If IsValidInteger(Left(InLink.MNO,1)) Then Left(InLink.MNO,1) Else ""
There is no solution involving the Field() function.
by ray.wurlod
Wed May 29, 2013 4:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Column Export Stage Work around
Replies: 2
Views: 1216

Re: Column Export Stage Work around

dsnk wrote:Its really difficult to select each column manually.
No it's not. Be vigilant.

<Apostrophe Man>
It's "it's" when it's "it is", and it's "its" any other time.
</Apostrophe Man>
by ray.wurlod
Wed May 29, 2013 4:18 pm
Forum: General
Topic: Windowing Function Range Between Dates
Replies: 10
Views: 2725

Server jobs (and BASIC Transformer stages) give you access to the MONTH.LAST and MONTH.FIRST transforms (as well as a host of others). That might also be a nice solution.
by ray.wurlod
Wed May 29, 2013 4:14 pm
Forum: General
Topic: Datastage 8.7 Server Installation error in Solaris
Replies: 5
Views: 3622

Nothing. That's the point. Read the error message again - there must be nothing in the login process that puts unexpected output onto stdout.

What is the umask setting for db2inst1?

Have you involved your official support provider?
by ray.wurlod
Wed May 29, 2013 12:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get Count of table used in a stage.
Replies: 2
Views: 2169

The easiest way is to query the system tables (or "catalog" in some databases) in which the tables reside.
by ray.wurlod
Wed May 29, 2013 12:00 am
Forum: General
Topic: Datastage 8.7 Server Installation error in Solaris
Replies: 5
Views: 3622

Did you modify the .profile file for any of these users, or the /etc/profile file?
by ray.wurlod
Tue May 28, 2013 3:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to calculate running totals (cumulative) based on a col?
Replies: 25
Views: 9356

Please post YOUR stage variable derivations.

In particular derivation expressions must NOT contain assignment statements.
by ray.wurlod
Tue May 28, 2013 3:23 pm
Forum: General
Topic: DataStage Parallel Routine -- Compile Location
Replies: 6
Views: 7228

Not only compilers but also byte-order are likely to be different (I'm assuming your UNIX is not Intel-based here). As a general rule binary code compiled on one platform simply won't work on another.
by ray.wurlod
Tue May 28, 2013 3:15 pm
Forum: General
Topic: Parameterize dsjob -report command
Replies: 1
Views: 1023

Create them as job parameters and pass these.
by ray.wurlod
Tue May 28, 2013 3:15 pm
Forum: General
Topic: DB2 Upgrade - Issues in connectivity
Replies: 3
Views: 1282

Please answer my other questions too, particularly the one about WAS. It's beginning to look like they've done something with the xmeta user/password (or maybe, coincidentally, that password has expired).