Search found 6797 matches

by DSguru2B
Tue Jan 30, 2007 8:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date subtraction into seconds
Replies: 7
Views: 1332

You mean KBATimestampDeltaSecondsroutine.
by DSguru2B
Tue Jan 30, 2007 8:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert Read only share container into R/W mode
Replies: 11
Views: 2136

Export your SharedContainer. Make a copy for backup. Open the file. Replace all occurances of Readonly "1" to Readonly "0". Re-import the shared container.
by DSguru2B
Tue Jan 30, 2007 8:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date subtraction into seconds
Replies: 7
Views: 1332

Are the two dates in timestamp format ? You can certainly write a routine. Extract the date part, get the internal format which is number of days, multiply that with 24*60*60 to get number of seconds. Add that to the ICONV of time which will be number of seconds since Jan 1st 1968 12:00 AM. Get both...
by DSguru2B
Tue Jan 30, 2007 8:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to create parallel routine?
Replies: 10
Views: 5699

I am sorry I didnt get you, what was your problem again and how did you fix it?
by DSguru2B
Tue Jan 30, 2007 8:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert Read only share container into R/W mode
Replies: 11
Views: 2136

ArndW's way is infact the simplest and error free.
by DSguru2B
Tue Jan 30, 2007 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nulls in Pipe delimited file
Replies: 8
Views: 2626

Sure you can. Do a Null check on the incoming record and if Null is found, change it to an empty character.
by DSguru2B
Tue Jan 30, 2007 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting category list in a project
Replies: 5
Views: 1488

You need to set your dsenv first. Search on how to execute dsenv file. Then run that command. Or simply log onto your DataStage Administrator and run the commad

Code: Select all

SELECT DISTINCT CATEGORY FMT 60 FROM DS_JOBS;

in the command area. Dont forget the trailing semicolon.
by DSguru2B
Tue Jan 30, 2007 7:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert Read only share container into R/W mode
Replies: 11
Views: 2136

I do, buts its a hack, the seond method that I noted. I would still wait for someone else to come along and explain you how its done. Patience my friend :wink:
by DSguru2B
Tue Jan 30, 2007 7:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Migration & Version Control
Replies: 16
Views: 6198

kduke wrote:Routines have to be done manually. Shared container for some reason get exported along with the job.

Thats what I wanted to confirm. Was really hoping for a different answer but o well, limitations are present.
Thanks Kim.
by DSguru2B
Tue Jan 30, 2007 7:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Quality via DSRoutine
Replies: 5
Views: 2183

Explicitly allocate memory for your variable inside the routine and then free it after making the return call. char* retValue = (char *)malloc (sizeof(char *)); ----- ---- ----- return retValue; free(retValue) And as for the unexpected results. I think your need to us...
by DSguru2B
Tue Jan 30, 2007 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert Read only share container into R/W mode
Replies: 11
Views: 2136

You can export the shared container and import it again using Version Control. In VC it gives you the option of making object read only. Uncheck that option. The other way you be to go into the internal repository table DS_CONTAINERS and update your shared container. FOr that you will be needing the...
by DSguru2B
Tue Jan 30, 2007 7:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Truncation -RESOLVED
Replies: 8
Views: 2121

It seems like Ray can sense machine vibes :wink:
by DSguru2B
Mon Jan 29, 2007 9:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best parcatices for business logic
Replies: 3
Views: 866

Or maybe a C function which has all different conditons in a Case statement.
by DSguru2B
Mon Jan 29, 2007 9:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Migration & Version Control
Replies: 16
Views: 6198

Kim, you script can also export routines?