Search found 15603 matches

by ArndW
Thu Aug 21, 2008 3:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find the last day of the month
Replies: 9
Views: 7662

If "OCONV(ICONV(YourDate,YourDateFormat)+1,'DD')=1" then YourDate is the last day of the month.
by ArndW
Thu Aug 21, 2008 3:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compile and run c++ program on linux
Replies: 6
Views: 1464

Have you set the DataStage library paths? This is usually done in the "dsenv" script in the $DSHOME directory.
by ArndW
Thu Aug 21, 2008 2:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find the last day of the month
Replies: 9
Views: 7662

The internal date of the last day of the month of February 2008 is ICONV('2008-03-01","D4-YMD[4,2,2]")-1 . You didn't specify if you wanted a full date, a day-of-the-week, a day-number in month or another format as output so I can't suggest any OCONV() function to use, but all...
by ArndW
Thu Aug 21, 2008 1:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find the last day of the month
Replies: 9
Views: 7662

Hint: Get the first day of the following month in internal format, then subtract one from it to get the last day of the prior month.
by ArndW
Thu Aug 21, 2008 1:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IsNotNull function not working fine for me
Replies: 10
Views: 2514

Set it as nullable in the upstream stage, just to see. If you "edit row" on the column you can see and change numerous attributes, including how nulls are handled (if at all, in this case they shouldn't be handled). I assume that this link is the reference link in the lookup, not the column in the m...
by ArndW
Thu Aug 21, 2008 1:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IsNotNull function not working fine for me
Replies: 10
Views: 2514

And the column is declared as nullable and there is not default null value set for that column?
by ArndW
Thu Aug 21, 2008 1:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot get exclusive access to job
Replies: 3
Views: 2275

What about the sessions listed in the web client for IIS, that can show a session and hold a lock that might not be visible from the DataStage engine.
by ArndW
Thu Aug 21, 2008 1:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IsNotNull function not working fine for me
Replies: 10
Views: 2514

Is "look1.COD_GR_EMP_FIC" a key column for the lookup? The result of a TRIM() function (of any type) on a NULL value is always null.
by ArndW
Thu Aug 21, 2008 12:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error writing to pipe: Broken pipe
Replies: 7
Views: 7746

Tej,
in this case it would make more sense for you to act as suggested, check to see if you have write permissions or perhaps if there is no space on the device.
by ArndW
Wed Aug 20, 2008 8:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage error
Replies: 8
Views: 1495

From Unix, go to the project directory and do a "ls -l *113*", which files or directories are listed?
by ArndW
Wed Aug 20, 2008 1:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: not getting the records in job logs
Replies: 3
Views: 1108

If you search the forum for posts about the "job monitor" you might find some useful pointers into the possible cause.
by ArndW
Wed Aug 20, 2008 1:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to find the Environment Variable Settings
Replies: 5
Views: 1231

What do you mean by "no data being processed" - that the jobs run but don't do anything or that the log files contain no entries? (or both)?
I recall having seen a similar problem that ended up being caused by system changes - a restart of DataStage solved the issue that time.
by ArndW
Tue Aug 19, 2008 7:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output file name
Replies: 4
Views: 1124

Define another parameter such as "CurrentTime" and, from the calling sequence, pass in a string formatted the way you want. You can use a number of functions or system values to get the date, i.e. TimeDate(), @DATE, @TIME.
by ArndW
Tue Aug 19, 2008 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Agregation
Replies: 1
Views: 686

I would pre-sort the data before the aggregator stage in DataStage and tell it that the data is already sorted, the job will just fly through the data. If the same data is to be used more than once then sort it into a dataset and use that. The more nodes you sort into and use at runtime, the more th...
by ArndW
Tue Aug 19, 2008 7:15 am
Forum: General
Topic: Internal Error (81013), DSEngine is empty!
Replies: 9
Views: 4307

In which case it is time to start thinking about writing a eulogy for your dearly departed Datastage directory :cry: