Search found 42189 matches

by chulett
Sat Aug 03, 2013 7:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert opd to Buildop Stage
Replies: 7
Views: 4649

:idea: sadnemous: not sure why the fascination with the color blue, best to stick with [/b] tags for things you should preserve the formatting of, like your osh code and not worry about what color to make things. :wink: And there's no need to quote the post you are replying to, it's all right there ...
by chulett
Fri Aug 02, 2013 9:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting decimal to date
Replies: 12
Views: 4137

Or add 19000000 to the decimal to get a number in YYYYMMDD format, then DecimalToString() gets you close. After that, do you need a DATE or a STRING in the (external) format shown?
by chulett
Fri Aug 02, 2013 4:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting decimal to date
Replies: 12
Views: 4137

So... the last four digits are MMDD and anything before that can be added to 1900 to get the YYYY is what it looks like to me.
by chulett
Fri Aug 02, 2013 4:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting decimal to date
Replies: 12
Views: 4137

First suggest would be to find out what your example dates translate to so we can get some idea what the conversion might be. Are these real examples of your incoming data?
by chulett
Fri Aug 02, 2013 3:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass value to oracle stored proc with blob datatype
Replies: 14
Views: 4740

Longvarchar. BLOB = binary large object, CLOB = character large object.
by chulett
Fri Aug 02, 2013 2:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass value to oracle stored proc with blob datatype
Replies: 14
Views: 4740

Yikes. So, what exactly is in your sequential file - each records holds a BLOB and you need to call the procedure 10 times? Or you need to call the procedure once and somehow combine the values from the first 10 lines into the BLOB? Can you clarify that for us, please? I'd also be curious what kind ...
by chulett
Fri Aug 02, 2013 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: logic
Replies: 2
Views: 1605

Hmmm... perhaps not. Did you get this figured out or are you still looking for some help with it?
by chulett
Fri Aug 02, 2013 9:20 am
Forum: IBM QualityStage
Topic: Reference Match clarification
Replies: 13
Views: 8780

Not sure how I missed this... well past time to get this into your own post.
by chulett
Fri Aug 02, 2013 9:17 am
Forum: General
Topic: Would like to not create an empty csv file
Replies: 48
Views: 16857

Not sure there's a "one command" DOS solution. Do you have the MKSToolkit installed with your product? If so you have UNIX-like commands at your disposal and those can certainly be one shot.
by chulett
Fri Aug 02, 2013 9:13 am
Forum: General
Topic: Delete statement in Execute command stage
Replies: 7
Views: 1816

suja.somu wrote:Where can I find the full pathname of the sqlcmd
A search from Windows Explorer should turn it up.
by chulett
Fri Aug 02, 2013 7:47 am
Forum: General
Topic: Would like to not create an empty csv file
Replies: 48
Views: 16857

Google. Seriously, DOS commands and 'tricks' are well documented out there in the wild and it shouldn't be hard to find multiple discussions on how to (for example) count file records in a DOS batch. Or check a file's size. Or whatever you need. That's what I would have done in your shoes.
by chulett
Fri Aug 02, 2013 7:15 am
Forum: General
Topic: Would like to not create an empty csv file
Replies: 48
Views: 16857

Because all of your answers are contained within them?
by chulett
Thu Aug 01, 2013 7:41 pm
Forum: General
Topic: Would like to not create an empty csv file
Replies: 48
Views: 16857

Well, heck, of course - the z modifier! Why didn't I think of that?

:P
by chulett
Thu Aug 01, 2013 9:26 am
Forum: General
Topic: Would like to not create an empty csv file
Replies: 48
Views: 16857

Why don't you show us what you tried, post the code? The DOS command DIR will show file sizes but you'd need some batch skills to create a useful check which is why Ray suggested the DataStage BASIC System() function.