Search found 42189 matches

by chulett
Thu Jun 22, 2006 5:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert a number in to word
Replies: 9
Views: 3036

Or you can give this a shot:

Code: Select all

select to_char(to_date(100,'j'),'jsp') from dual; 

I seem to recall it converts numbers into words. :wink:
by chulett
Wed Jun 21, 2006 7:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Improve performance from Oracle source to Orace target.
Replies: 7
Views: 1311

Yes, if possible. Are they straight inserts? And not necessarily the Bulk Load stage, more likely just a command line scripted sqlldr call.
by chulett
Wed Jun 21, 2006 5:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Overriding NLS_LANG for ODBC
Replies: 2
Views: 1314

FYI... switching to the thick drivers didn't change the job's behaviour. :cry:
by chulett
Wed Jun 21, 2006 5:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Improve performance from Oracle source to Orace target.
Replies: 7
Views: 1311

Why would you not bulk load something like this?
by chulett
Wed Jun 21, 2006 4:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Overriding NLS_LANG for ODBC
Replies: 2
Views: 1314

Overriding NLS_LANG for ODBC

We're working through the trials and tribulations of consuming UTF8 XML data in a MSWIN1252 world. Have no problem with jobs that leverage the OCI stages to connect to Oracle, that was a simple matter of overriding the NLS_LANG and LC_CTYPE environment variables in any jobs that source the XML. Conv...
by chulett
Wed Jun 21, 2006 3:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can DS JOB read Oracle DB and write to MVS DB2?
Replies: 1
Views: 651

I can't speak to the specifics of 'Mainframe DB2 tables', but the general answer to the question 'can we connect to two different databases in the same job' is - heck, yah - you betcha. :wink:
by chulett
Wed Jun 21, 2006 2:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate a Sequential file with a header and footer??
Replies: 14
Views: 3418

I stick with one job to create all three files, then cat.
by chulett
Wed Jun 21, 2006 12:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate a Sequential file with a header and footer??
Replies: 14
Views: 3418

Typically, you'll want to generate the three files separately - header, detail, footer - and then cat them together in the proper order after job.
by chulett
Wed Jun 21, 2006 12:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Renaming Files in DS
Replies: 19
Views: 3451

Why aren't you able to 'implement Arnd solution'?
by chulett
Wed Jun 21, 2006 12:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Virus Scanners and DataStage EE Server
Replies: 2
Views: 788

Yes - I haven't but I do recall at least one someone posting here with a virus scanner induced problem. A search should be able to turn up the post, I would think.
by chulett
Wed Jun 21, 2006 11:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Renaming Files in DS
Replies: 19
Views: 3451

You're right... it's over on ADN. Knew it looked familiar. Turns out your syntax isn't quite right, even when fully pathing the files - you can only fully path the first file. If you supply a full path for the second argument you get the error you posted. Try: rename E:\file1.csv file2.csv and you s...
by chulett
Wed Jun 21, 2006 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Renaming Files in DS
Replies: 19
Views: 3451

edward_m wrote:I tried the above in execute command stage..its giving the following error
The syntax of the command is incorrect

Don't you already have a post on this issue? :?
by chulett
Wed Jun 21, 2006 10:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle date format
Replies: 4
Views: 1225

Tatiana wrote:If I already have my ASOF parameter in mm/dd/yyyy format, do I need to have TO_DATE? I can just say
AS_OF_DATE = '#ASOF#', right?

No... unless your date parameter's format matches the NLS date format of the database, but I for one would never make any assumptions there.
by chulett
Wed Jun 21, 2006 8:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle to Oracle OR anything other option
Replies: 6
Views: 1212

Yup! Forgot to mention that...
by chulett
Wed Jun 21, 2006 8:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle date format
Replies: 4
Views: 1225

There's no such thing a 'Oracle formatted dates'... and yes, you could override the date format but that in itself wouldn't speed anything up. What might is this: AS_OF_DATE = TO_DATE('#ASOF#','MM/DD/YYYY') Again, the format of the date won't matter as long as it matches the mask. If you are...