Search found 42189 matches

by chulett
Tue Jun 20, 2017 5:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure from Datastage not working as expected
Replies: 2
Views: 2284

Can you be more specific as to what "the value fetched is not a unique value" means, please?

Also, SQL Server does in fact have SEQUENCE objects unless your version is older. You could possibly also use an IDENTITY column and save all this.
by chulett
Mon Jun 19, 2017 7:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date function in transformer stage
Replies: 7
Views: 3422

Read what the DaysInMonth() function actually returns, it's not what is needed here. While you probably could cobble together a solution using it, I was suggesting a function like MonthDayFromDate() instead.
by chulett
Mon Jun 19, 2017 3:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Enable TLS1.2 on java 1.6
Replies: 5
Views: 5055

Yes... should be the quickest way to a solution. Note I didn't say "quick", but rather "quickest". :wink:
by chulett
Mon Jun 19, 2017 3:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date function in transformer stage
Replies: 7
Views: 3422

Sorry but that isn't quite what I suggested. You need to offset it by the current day (plus 1 and made negative) not the current date.
by chulett
Mon Jun 19, 2017 2:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date function in transformer stage
Replies: 7
Views: 3422

Of course, because you simply added 1 day to the current date. Re-read what I wrote... after I fix a very important omission about flipping the sign. :wink:
by chulett
Mon Jun 19, 2017 1:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date function in transformer stage
Replies: 7
Views: 3422

You might want to check out the DateOffsetByDays function. If you take the system date and "offset" it by the ((current day + 1) * -1) days, you'll get the last day of the previous month.
by chulett
Mon Jun 19, 2017 12:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Enable TLS1.2 on java 1.6
Replies: 5
Views: 5055

Seems to me it is time to involve support, it you haven't done so already...
by chulett
Mon Jun 19, 2017 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use Power (Pwr) function
Replies: 16
Views: 6363

Never used that function, so don't know if there are any restrictions to using it but your examples don't seem to match. :?

Where you say "To be specific" there is a "*100" on the RHS that isn't anywhere else.
by chulett
Mon Jun 19, 2017 7:16 am
Forum: General
Topic: Password showing in log
Replies: 4
Views: 1606

Based on the wording here and the linked post, it would seem they are already using an encrypted password.
by chulett
Mon Jun 19, 2017 7:14 am
Forum: General
Topic: Password showing in log
Replies: 4
Views: 1606

ksfun,

Split you out to your own post, and since it's been 11 years since you (or at least this userid) has posted here, I had to make a guess as to your particulars. If you could edit your post and update your version (etc) to whatever is current for you, that would be great.
by chulett
Sun Jun 18, 2017 7:12 am
Forum: General
Topic: While connecting to Administrator error
Replies: 3
Views: 1471

I realize you said "unknowingly" but can you tell us where you were working and what you were working on / doing? Maybe that would help get us the information Ray was looking for...
by chulett
Fri Jun 16, 2017 9:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extract time as an Integer from a Timestamp
Replies: 9
Views: 4154

So, out of curiosity, is your "timestamp" field actually a string?
by chulett
Thu Jun 15, 2017 9:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extract time as an Integer from a Timestamp
Replies: 9
Views: 4154

So what actually is your "workaround"?
by chulett
Thu Jun 15, 2017 6:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Attempt to setIsNull() on the accessor interfac
Replies: 13
Views: 6216

See, I told you it would help you figure it out. :wink:
by chulett
Wed Jun 14, 2017 12:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Attempt to setIsNull() on the accessor interfac
Replies: 13
Views: 6216

As Arnd mentioned in the linked thread, the use of the CAST function in your source SQL creates (as far as DataStage is concerned) a new column that is nullable. It doesn't mean you have null values in the data, just that the job thinks there could be, which from what I recall triggers the error whe...