Search found 15603 matches

by ArndW
Fri Jan 11, 2008 4:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can i use character ‘%' in project environment ?
Replies: 0
Views: 968

It is clear that the "%" character is being interpreted, so you will need to quote it in some acceptable manner. Typically you will either surround the whole string with quote characters or escape the % sign using "\%". I would try the 2nd method first.
by ArndW
Fri Jan 11, 2008 3:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transform yyyy-m-d to yyyy-mm-dd
Replies: 4
Views: 2121

You would convert it to internal format, then back to display format.

Code: Select all

OCONV(ICONV(In.DateString,'D4-YMD'),'D4-YMD')
by ArndW
Thu Jan 10, 2008 12:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage dsx issue loading to ClearCase
Replies: 2
Views: 3121

Have you tried the option to export as an XML file? That might make a difference. I don't know how you get such long lines, as the object code is UUENCODEd to 80 characters or so.
by ArndW
Thu Jan 10, 2008 12:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequence issue
Replies: 15
Views: 4165

Re: sequence issue

just4u_sharath wrote:Routine activity always fails if returned value is other than 0.
That is not correct.

Or are you talking about a job Before and After subroutine?
by ArndW
Thu Jan 10, 2008 12:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: use of unix commands in the execute command stage
Replies: 9
Views: 2070

The unix cd isn't necessary, but the poster needs a "cd" and a "lcd" command within FTP to specify the source and target paths for the transfer.
by ArndW
Thu Jan 10, 2008 12:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Date Format Error
Replies: 5
Views: 1320

Well, when you go to your favorite SQL tool and enter

Code: Select all

select  TO_Timestamp(:1, 'DD-MON-YY HH24.MI.SS. MSS') from dual
what do you get (after entering a value for :1)? Does that work?
by ArndW
Thu Jan 10, 2008 11:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Date Format Error
Replies: 5
Views: 1320

Your problem is a bad date format. Use "'DD-MON-YY HH24.MI.SS. FF'"
by ArndW
Thu Jan 10, 2008 10:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: use of unix commands in the execute command stage
Replies: 9
Views: 2070

I see - that is also what is causing his ftp script to fail, instead of a "cd" in step 2 he needs to add the ftp command "lcd" to step 3.
by ArndW
Thu Jan 10, 2008 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abs function issue
Replies: 4
Views: 1051

The Parallel Job Developer's Guide documents the "fabs" function, which will do exactly what you want.
by ArndW
Thu Jan 10, 2008 10:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Seq/Parameter Sets and Job
Replies: 14
Views: 5841

Fix Pack 1 addresses a couple of parameter set issues, including problems when using $ENV settings. Perhaps your problem is fixed in this pack, which has been around less than a month.
by ArndW
Thu Jan 10, 2008 10:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: use of unix commands in the execute command stage
Replies: 9
Views: 2070

Ray - in the case the "cd" is issued as part of the ftp script so it is a valid (and necessary) command
by ArndW
Thu Jan 10, 2008 10:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abs function issue
Replies: 4
Views: 1051

You will have trouble getting decimal places from the ABS function since it returns an integer result. I don't have the docs available but seem to remember that there was some decimal function that could do this, or you could do "ABS(In.Data*100)/100" for decimals variables with 2 places of precision.
by ArndW
Thu Jan 10, 2008 10:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading a Oracle table with Partitions
Replies: 6
Views: 1294

No, by splitting it into 2 reads you have shown that the bottleneck is not the network . You should look into the detail docs for Oracle enterprise and get parallel reads for this view working, then you can remove the 2nd stage and use the parallelism from the APT_CONFIG file to drive your throughput.
by ArndW
Thu Jan 10, 2008 8:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading a Oracle table with Partitions
Replies: 6
Views: 1294

I haven't used that option for PX Oracle but would think that you should be able to get it working. But it might be the case that the read speed is being limited by network throughput and not the Oracle database (unlikely in this case, but still possible). You could try doing what we used to do with...
by ArndW
Thu Jan 10, 2008 8:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Export repository to DSX with job history
Replies: 4
Views: 1209

Hello Maik and welcome to DSXchange.

The job log history is not available for export and re-import in another project. There are routines which will let you read the log entries and you can put them into some table or file; but there is no (documented) method of loading log entries.