Search found 43 matches

by mdan
Fri Aug 08, 2008 8:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Erroneous data goes undetected in a Flat File Stage
Replies: 7
Views: 3974

chulett wrote:I'm assuming A-F are being considered as hex values and thus valid in the Integer data type? :?
No, they are stripped out. If you want them to be interpreted as hex, then you should specify this in c_format %x.

Dan
by mdan
Fri Aug 08, 2008 7:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Erroneous data goes undetected in a Flat File Stage
Replies: 7
Views: 3974

Re: Erroneous data goes undetected in a Flat File Stage

Does anyone know of a way to have stronger data format checking when reading through a Flat File Stage, so that the above examples would be detected as errors? Thanks in advance, Wim Hi, if you use decimal instead of integer, (decimal[10,0]) it will work. Looks like the issue is coming from the fac...
by mdan
Fri Jul 04, 2008 3:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What does it get better performance? Filter or transformer?
Replies: 7
Views: 4833

Re: What does it get better performance? Filter or transform

I have found this reading some Ascential documentation: Transformer constraints are FASTER than Filter stage! Filter constraints are interpreted Is it true? I have always tryed to avoid transformers and using filter stages instead, but now it seems that transformer is better! Yes, at least for 7.5....
by mdan
Thu Jul 03, 2008 3:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Viewing Datasets
Replies: 6
Views: 3220

Re: Viewing Datasets

Can anyone please send me the commands that are used to check the Datasets in the Unix database. Thnaks in Advance You may use orchadmin. Run it without any params to get the help. Also, dsrecords it will give you the total number of records in the .ds file. Do not forget to set the APT_CONFIG_FILE...
by mdan
Mon Jan 21, 2008 2:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rejection with ODBC Stage in PX job
Replies: 5
Views: 2459

Re: Rejection with ODBC Stage in PX job

Hi laxman.ds,
between the ODBC and your reject target add a modify stage and write into spec sqlcode=sqlcode. Be sure that you have the sqlcode column in the output.
It should work.

Dan
by mdan
Mon Jan 21, 2008 5:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rejection with ODBC Stage in PX job
Replies: 5
Views: 2459

Re: Rejection with ODBC Stage in PX job

can you post the design of the reject capture ?
laxman.ds wrote:Hi!
XfmReject: Error when checking operator: Could not find input field "sqlcode"
by mdan
Thu Jan 17, 2008 2:32 am
Forum: IBM<sup>®</sup> DataStage TX
Topic: Different delimiters within a record
Replies: 4
Views: 4623

Re: Different delimiters within a record

Hi, you may use 2 successive "column importer" stages: - read the file as a single (long) line - varchar - the first one has as delimiter the ';' char, and the second group is imported as one single column - the second one it will have '~' as delimiter, using as input column the second gro...
by mdan
Tue Jan 15, 2008 5:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To reject the records that violates Referential Integrity
Replies: 11
Views: 5418

What about setting the option Output Reject Records to true? Here is the link with the solution to your issue: (Vincent's blog) [http://wiki.ittoolbox.com/index.php/Parallel_job:_Retrieve_sql_codes_on_a_failed_upsert.] This is not a bright option since i have 7,8 foriegn keys in my table.is there an...
by mdan
Sat Jan 05, 2008 4:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 2 consecutive Modify Stages
Replies: 13
Views: 5404

Re: 2 consecutive Modify Stages

Insert a copy stage between the 2 modify operators. It will work. (!) there is also a configuration parameter (which I don't remember now - I don't have access to a DS) that may be set and it will do this for you: insert a copy between 2 modify operators. "modify" operator cannot have modi...
by mdan
Mon Dec 10, 2007 6:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Character data, right truncation occurred
Replies: 8
Views: 8859

It wouldn't fit. Make the size double in DB2 (80 for this situation) if you insert data, or define it as 40 NChar / 80 char + unicode if you read data. UTF-8 should be enough. yes i checked both the sides the metadata is same. like character 40 on both sides. But i am not sure if on mainframe charac...
by mdan
Fri Nov 16, 2007 8:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal round off
Replies: 6
Views: 3729

Re: Decimal round off

Hi, I have the value of input column as 99.99 whose metadata type is Decimal(5,3),this is further divided by 100 in the transformer stage and the output is coming as 1.0, the datatype in output is same as Decimal(5,3).But I require the value to be 0.999 and not as 1.0 without rounding off.Is there ...
by mdan
Tue Nov 13, 2007 4:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal datatype handling in modify stage
Replies: 5
Views: 3330

Re: decimal datatype handling in modify stage

hi, ... I have given decimal(38,10) as precision and sclae in both input and ouput columns of modify stage for the column QT. hi, you should specify the conversion QT:decimal[38,10]=QT == since you're not doing any conversion, this is a wrong answer == please ignore it == i cannot delete the post dan
by mdan
Wed Nov 07, 2007 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: file column name mixed up when files number is greater nodes
Replies: 3
Views: 2230

JoshGeorge wrote:Set APT_IMPORT_PATTERN_USES_FILESET to True and try. If this didn't work you might have to get a patch from IBM for fixing this issue. Been discussed this before here.
Thanks,
I've seen the post. Looks like I have to go for that patch ...

regards and thanks,
Dan
by mdan
Wed Nov 07, 2007 5:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: file column name mixed up when files number is greater nodes
Replies: 3
Views: 2230

file column name mixed up when files number is greater nodes

Hi, I wonder if anyone got this strange behavior: I'm reading the files using the File Pattern as Read Method and File Name column in order to get the file name. It reads all the files correctly (about 500 in the original job - 5 in this example), but in the file name column I got only one file name...
by mdan
Sun Nov 04, 2007 4:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: delete datasets
Replies: 13
Views: 5237

Do not forget to set-up the environment variable APT_CONFIG_FILE before running the orchadmin. :idea: