Search found 215 matches

by nick.bond
Wed Jun 14, 2006 10:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator stage
Replies: 10
Views: 3695

I think there is a problem with the EE aggregator stage when trying to pass char fields through. I think it has been raised with Ascential and they will fix it for the next release. We have used either Transformer stages with bespoke aggregation logic or you can also put a Server aggregator into a s...
by nick.bond
Wed Jun 14, 2006 10:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date as a parameter
Replies: 3
Views: 909

Yes - just remember that the parameter is inserted into the SQL statement exactly as it is written and no quotes are put in there for you, so if the parameter contains a string value you will need single quotes around it.

e.g.

select * from my_table where my_varchar_col = '#pMY_PARM#'
by nick.bond
Tue Jan 31, 2006 9:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Load Issue when using Direct method - dates are NULL
Replies: 2
Views: 881

I have now found what the problem was and will post solution below incase anyone else finds the same. It seems so obvious now that I know! The datatype in Oracle is "Date" and when this is imported into DataStage it is a "Timestamp". This works fine for the conventional load meth...
by nick.bond
Tue Jan 31, 2006 6:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Load Issue when using Direct method - dates are NULL
Replies: 2
Views: 881

I have some more information to add to this post. It now appears that the dates are not being loaded as Nulls, there are actually dates in the fields and these can be seen when selecting from the table using SQLPLUS rather than a tool such as Toad or DBVisualiser. I still don't know what is happenin...
by nick.bond
Tue Jan 31, 2006 5:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Load Issue when using Direct method - dates are NULL
Replies: 2
Views: 881

Oracle Load Issue when using Direct method - dates are NULL

I am using the Oracle Load stage to load an Oracle 10g database. If I use the direct method all the date fields are null in the database. If I use non-direct method the dates are populated correctly. There are now warnings or errors from datastage. In database datatype = Date In Job datatype = Times...
by nick.bond
Thu Jan 19, 2006 10:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comma seperated parameters to pass to a database stage
Replies: 3
Views: 1423

From looking at your example I think you are doing the correct thing you just have the syntax wrong. If you have "where facility_id in ('#pFACILITY#')" and pass #pFACILITY# = 'FACILIY1', 'FACILITY2', 'FACILITY3' your sql will have too many quotes. i.e. it will look like "where facilit...
by nick.bond
Wed Dec 14, 2005 4:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with Null handling in paralle
Replies: 1
Views: 1247

what are the column definitions? are the fields your testing chars? Are they nullable? if they are achars nd the the field you read is blank, i.e. not the correct length EE will pad the string with Ascii nulls (The default pad char, unless you have changed this) therefore when you are testing for nu...
by nick.bond
Mon Apr 04, 2005 3:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed Width Files and NLS
Replies: 6
Views: 3299

It just seems to be a bug. If a sequential file stage is used in fixed width format with NLS set to UTF8, records read that contain special chars cause warnings. The internal function nls_readfixedwith (or whatever it is) seems to check the size in bytes not chars. If NLS tab had been available this...
by nick.bond
Sun Apr 03, 2005 4:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to use isnull
Replies: 4
Views: 2317

IsNull() Will only return true if the value provided is null, it doesn't matter what data type the field is.
by nick.bond
Sat Apr 02, 2005 8:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed Width Files and NLS
Replies: 6
Views: 3299

Fixed Width Files and NLS

Hi, Has anyone else had problems with fixed width files and NLS? When I use the row merger or splitter it logs warnings when special characters are found because DS thinks the records are too long (or have an extra column). I think this is caused because the merger/splitter stage are using UTF8 and ...
by nick.bond
Thu Apr 22, 2004 7:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Euro character €
Replies: 0
Views: 3222

have a look at page 115 of the servjdev.pdf doc in the datastage docs folder. There are some issues with using the euro sign.
by nick.bond
Wed Apr 07, 2004 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using SAP r3 Plugin Idoc Load
Replies: 1
Views: 1007

Problem solved - something to do with having too many primary key fields on a low level segment.
by nick.bond
Wed Apr 07, 2004 5:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trigger Job on the basis of records Processed
Replies: 2
Views: 1268

I take it the records are in a sequential file. If so do the following: build a Routine that opens the file and tries to read the first record. if it can read the record return one value (NewRecords) else return (NoRecords). You can use this returned value in a simple job sequencer to determine whet...
by nick.bond
Wed Apr 07, 2004 4:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using SAP r3 Plugin Idoc Load
Replies: 1
Views: 1007

Using SAP r3 Plugin Idoc Load

I am having a problem loading an Idoc with multiple segments. Is it possible to have the streams populating the different segments coming from the separate transformers? It makes sense that you should be able to but when I run the job I get the following WARNING: Abnormal termination of stage SAP_iD...
by nick.bond
Tue Feb 17, 2004 9:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSetUserStatus in Job
Replies: 5
Views: 2362

I have tried your solution to this problem, using DSSetUserStatus(INPUT.FIELD) in the derivation of one of my columns in a transformer but it keeps showing an error. I am using DS v.7, AIX 5.2 in the derivation section of my output column I write: DSSetUserStatus (Source.Value) and it is always red....