Search found 42189 matches

by chulett
Wed May 19, 2004 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function
Replies: 8
Views: 2365

Mark j wrote:Thanks for your suggestions. I phrased my question wrong:)

See, Ray. So how was that goose? :lol:
by chulett
Wed May 19, 2004 6:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CDC plug in (CHANGE DATA CAPTURE)
Replies: 6
Views: 2098

Just in case you missed it, Rich - you can actually go back and correct your original post rather than posting a new one with the corrections. Also good to know at times, you can delete your own post provided no-one has replied to it yet and therefore it is still 'last' or most recent. It has come i...
by chulett
Tue May 18, 2004 7:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function
Replies: 8
Views: 2365

Or never mind the clarification and wait for Ray to roll you up an all-purpose answer. :lol:
by chulett
Tue May 18, 2004 7:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function
Replies: 8
Views: 2365

Mark - you might want to clarify exactly what you it is you need to do before people go off chasing too many wild geese. So... are you saying you have a field with text that can be seperated by any number (or perhaps a fixed number) of question marks or spaces or what? And then you need to turn it i...
by chulett
Tue May 18, 2004 12:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: LoadSampleLookUp..Oracle_OCI_9i_0: ORA-00911: invalid chara
Replies: 2
Views: 883

A couple of things that will typically cause that error... You are using Custom SQL and there is a trailing semi-colon at the end of the SQL statement. Works in View Data but not when the job runs. You misspelled a parameter name you are using in the SQL and it went through with the pound signs stil...
by chulett
Tue May 18, 2004 12:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server job linked input not found
Replies: 5
Views: 1248

Are you using it in a Constraint? They won't auto-rename like the Derivation links will.
by chulett
Tue May 18, 2004 7:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Out parameters in DataStage
Replies: 2
Views: 1190

I really don't believe that DataStage supports out parameters in a Stored Procedure. Perhaps in the future when the much delayed Stored Procedure Stage makes its debut, but not now. Search the forum for 'stored procedure', I seem to recall several prior conversations on this topic... but don't recal...
by chulett
Tue May 18, 2004 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS function to change first letter to upcase after a dot (.)
Replies: 7
Views: 2812

Yes, but how can you guarantee that all of the places you take a dot out are the only places you put it back in? There's more to it than simply putting one back in each space... unless you 'know' there will never be any other white-space in the string. You'd have to track those positions, I would th...
by chulett
Tue May 18, 2004 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference Between Tow Date
Replies: 4
Views: 1327

To expand a little on what Nag said, converting dates to an internal format (Iconv) and then subtracting them will give you the difference in days. You really need to become friends with both Iconv and Oconv as they are staples of date handling in DataStage. A third function that works well with the...
by chulett
Tue May 18, 2004 7:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Project &PH& Cleanup
Replies: 4
Views: 1355

Unless you are running things around the clock, you could simply schedule this at a known 'dead' time - which is the route we went with.
by chulett
Tue May 18, 2004 7:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job log in Unix
Replies: 2
Views: 955

Sure. Check out all of the command line options for the dsjob command in the Server Job Developers Guide. You can also search this site for examples of the specific options once you determine which ones are appropriate for what you are looking to do.
by chulett
Mon May 17, 2004 10:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS function to change first letter to upcase after a dot (.)
Replies: 7
Views: 2812

Exactly - that's what CAPITALS does, Oconv and MCT. Someone would need to test things as I believe the "words" it capitalizes must be white-space delimited so something with a 'dot' in it may not get treated as two words.
by chulett
Mon May 17, 2004 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS function to change first letter to upcase after a dot (.)
Replies: 7
Views: 2812

There is a transform named CAPITALS that should be close to what you need... not sure about the 'dot' part.
by chulett
Mon May 17, 2004 6:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML vs. Flat Files
Replies: 6
Views: 4284

Ray has already pretty much covered this, just wanted to throw another log of opinion onto the fire. Warning, this is all "IMHO" stuff coming. I know that XML is all the rage among some circles and I've had people shake their heads and mutter about me being a Luddite for not choosing to use XML at e...
by chulett
Fri May 14, 2004 3:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Padding Data
Replies: 3
Views: 1703

If you always need to add 15 spaces, you can simply concatenate that to the end of the field: MyField:Space(15) If the size of the field is variable, put some logic in the function: MyField:Space(15 - Len(MyField)) You can probably also do it with the FMT function, check the ...