Search found 53125 matches

by ray.wurlod
Wed Jun 22, 2005 1:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 8
Views: 1925

StringToDate(ip.date,"%yyyy-%mm-%dd") specifies that the input string is in YYYY-MM-DD format. This is not how you originally represented the problem. What you probably need is something of the form DateToString(StringToDate(ip.date,"%mm/%dd/%yy"), "%yyyy-%mm-%dd")
by ray.wurlod
Wed Jun 22, 2005 12:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to clean up a file through server routine?
Replies: 18
Views: 3133

That's not the same as your response of "delete all the existing data in the existing file" to which I responded.

I agree with Arnd on method for your newly-stated requirement. You will need an intermediate file - perhaps rename the source file before proceeding.
by ray.wurlod
Wed Jun 22, 2005 12:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to clean up a file through server routine?
Replies: 18
Views: 3133

Why did you purchase DataStage? :?

DataStage can do all that (see my earlier post). If you want to write your own routines, you've wasted a lot of money on DataStage.

To reiterate: use a server job, not a server routine.
by ray.wurlod
Wed Jun 22, 2005 12:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Phantom 20905
Replies: 2
Views: 1112

It might even be one of those one in a million chances (remember that one in a million chances always come up - Terry Pratchett) where the application was executing a NAP (or similar) and was interrupted by its parent sending an "are you there?" (kill 0) signal.
by ray.wurlod
Wed Jun 22, 2005 12:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to clean up a file through server routine?
Replies: 18
Views: 3133

The functionality you require is available as the "overwrite existing file" property of an input link to a Sequential File stage.

Don't use a routine. You're only reinventing the wheel and making your DataStage application more difficult for others to maintain.
by ray.wurlod
Tue Jun 21, 2005 7:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IBM have buried DataStage
Replies: 4
Views: 1538

It's not that easy to find UniVerse, and they've had that for some time. The main issue there was some marketing genius's decision to group all database software under "DB2". :roll:

And, once you've found UniVerse, you need to take great care not to be redirected onto DB2 pages. :x
by ray.wurlod
Tue Jun 21, 2005 7:13 pm
Forum:
Topic: Metadata information through basic routine.
Replies: 6
Views: 2986

That's because I don't think this particular piece of information will change in the next release. :wink:

At worst, the table name DS_JOBOBJECTS will lose its underscore and case sensitivity, and some of its multi-valued fields will be normalized into child tables.
by ray.wurlod
Tue Jun 21, 2005 5:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP a string only when Update is Successful!!
Replies: 3
Views: 925

Consider setting up the FTP as a shell script invoked from an after-stage or after-job subroutine. Within that routine you can make your success tests to decide whether to invoke the script. The table name can be supplied (possibly as a job parameter) through the Input Value field when invoking the ...
by ray.wurlod
Tue Jun 21, 2005 5:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Use Sequential file values as job parameters
Replies: 5
Views: 1311

Double click on the result cell in the Test grid - see if anything got logged. Add debugging statements to your routine to report progress using DSLogInfo() - re-test and check results as above. Add ON ERROR and LOCKED clauses to OPENSEQ to handle these possibilities. Add a CLOSESEQ statement before...
by ray.wurlod
Tue Jun 21, 2005 5:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job locked when updating DB2 table
Replies: 1
Views: 752

Nothing was (has been) changed in DataStage, right? And it worked fine before "they" rebuilt the UNIX system, right? The conclusion seems obvious to me. :twisted:
by ray.wurlod
Tue Jun 21, 2005 5:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Schedual
Replies: 11
Views: 3318

1. The Director has a Print option under the Project menu. Use this when in Schedule view.

2. In a CMD shell, type AT to get a list of entries on the AT queue.
by ray.wurlod
Tue Jun 21, 2005 5:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL Runing On Several Tables
Replies: 7
Views: 1264

Depending on what the stored procedure does you may be able to call it from an ODBC stage (or more than one).
by ray.wurlod
Tue Jun 21, 2005 4:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP of zero-byte files suddenly failing
Replies: 2
Views: 1013

What's different between the QA machine and the one where the problem is manifesting?
by ray.wurlod
Tue Jun 21, 2005 4:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Validation
Replies: 7
Views: 2356

Check out the IsValid function. You may need to specify that your date format is different from your project's default.
by ray.wurlod
Tue Jun 21, 2005 4:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator stage - Warning
Replies: 2
Views: 969

The warning is warning you - because you need to know - that you are trying to shoehorn a potentially large value (a dfloat) into a small receptacle (an int32). That's the "range" part of the warning. The largest int32 is 2^31-1. The largest dfloat is substantially larger than that! Further, if the ...