Target is already CHAR and it is Fixed Width file.DSguru2B wrote:I understand. But if you change the target to Char. It can handle decimal values. I am not too sure, but give it a shot.
Search found 92 matches
- Thu Oct 12, 2006 9:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data is getting rejected when loading to file.
- Replies: 14
- Views: 4986
- Thu Oct 12, 2006 9:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data is getting rejected when loading to file.
- Replies: 14
- Views: 4986
- Thu Oct 12, 2006 9:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data is getting rejected when loading to file.
- Replies: 14
- Views: 4986
- Wed Oct 11, 2006 3:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Not able to get correct data
- Replies: 4
- Views: 1475
- Wed Oct 11, 2006 3:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Not able to get correct data
- Replies: 4
- Views: 1475
Hi Ray, when i am multiplying that data with 100 it is returning me zero. Now what i have done is ...defined target column as char(7,2).then data is coming like[ 00005.20]{data followed by blank space}.first i am taking substring[2,5] and then concating with substring[8,2].it is giving me the desire...
- Wed Oct 11, 2006 2:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: sprecial character in the input column
- Replies: 2
- Views: 1215
- Wed Oct 11, 2006 2:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Hoew to populate blank Spaces in Seq File.
- Replies: 7
- Views: 2271
- Wed Oct 11, 2006 2:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Hoew to populate blank Spaces in Seq File.
- Replies: 7
- Views: 2271
If you define your output columns as fixed char with the appropriate widths, DataStage will implicitly perform the character conversion and add the space padding. But in order to do so you need to exp ... Hi Arnd, Output column is fixed as this is a fixed width file having CHAR.i am setting NULL FI...
- Wed Oct 11, 2006 1:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Hoew to populate blank Spaces in Seq File.
- Replies: 7
- Views: 2271
select the Null field value option in sequential file in format tab set it as ' ' with no. of spaces depending upon ur col width Thanks for your kind Input,but i am having this constrain for around 100 field.All fields are having different length,this means i will have to set Null Field Value at co...
- Wed Oct 11, 2006 12:12 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Not able to get correct data
- Replies: 4
- Views: 1475
Not able to get correct data
Hi All, I have two jobs.First job is Oracle to Dataset and 2nd is from that dataset to sequential fixed width file.In oracle field is having datatype numeric(15,2) and data is 5.2 I am writing this to dataset and converting it to numeric(7,2)in dataset i am able to see data as 00005.20.in next job m...
- Wed Oct 11, 2006 11:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Hoew to populate blank Spaces in Seq File.
- Replies: 7
- Views: 2271
Hoew to populate blank Spaces in Seq File.
Hi All,
Source is oracle and Target is Sequential fixed width file.if any null data is coming then we need to populate those many no. of blank spaces as it is defined in file.I have having this constrain in around 100 fields.what to do???
can anyone plz help me???
Thanks.
Source is oracle and Target is Sequential fixed width file.if any null data is coming then we need to populate those many no. of blank spaces as it is defined in file.I have having this constrain in around 100 fields.what to do???
can anyone plz help me???
Thanks.
- Wed Oct 11, 2006 10:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data is getting rejected at lookup.
- Replies: 5
- Views: 1468
When ever I import metadata where datatypes are CHAR, I uncheck the unidata option and that works for me. It might work for you as well. Also, when you are trimming the data and sending it to Lookup stage, what is the datatype of that column in the Lookup stage? From Source Char(4) is Coming and i ...
- Wed Oct 11, 2006 7:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data is getting rejected at lookup.
- Replies: 5
- Views: 1468
Data is getting rejected at lookup.
Hi, I am performing a job from file to Repository,I am doing lookup from one table as the target is having referencital integrity on it.Suppose I am getting data (1 --one followed by three space)from source file..i m trimming and sending it to the lookup stage where this data is getting rejected and...
- Mon Oct 09, 2006 12:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: column is taking more than defined length in dataset
- Replies: 6
- Views: 1608
- Sun Oct 08, 2006 11:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: column is taking more than defined length in dataset
- Replies: 6
- Views: 1608
Thanx for ur kind suggession. I think you are mistaken,[ 000010000024.350] is taking 13 places for integer,as there is a blank space before 0 at the starting place. later my reqirement is to write this dataset into a fixed width file having length(15,3)but my file is also occupying 16 places instead...