Search found 61 matches

by srinath51
Mon Mar 05, 2012 3:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: length of text file truncated...
Replies: 9
Views: 3351

hi jwiles,

now i defined the lengths as 444 and 756 respectively for the fields and i am getting the 1200 bytes data.

thanks for your suggestions....
by srinath51
Mon Mar 05, 2012 2:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: limt for max length...?
Replies: 2
Views: 1444

yes ,i am able to view the the file using the other tools.
by srinath51
Mon Mar 05, 2012 2:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: length of text file truncated...
Replies: 9
Views: 3351

Hi Jwiles,
i am a junior Datastage developer,learning ...

Here is the layout for the fields:
i didnt define the lengths of the fields below,they are fixed lengths.

fixedrec1 varchar
fixedrec2 varchar

i tried using the char,but still getting the truncated data for the last 247 bytes of data...
by srinath51
Mon Mar 05, 2012 1:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: limt for max length...?
Replies: 2
Views: 1444

limt for max length...?

Hi all,

As per my req i need to get 1200 bytes of data.i want to know is there a max limit for the data because when i run and see the data in the Datastage then i get this issue:

"Warning : Data that exceeds the maximum display length has been truncated"
by srinath51
Mon Mar 05, 2012 1:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: length of text file truncated...
Replies: 9
Views: 3351

HI JWILES,

I didnt understand the question...
Do you mean the format for the output file ??

the output file has 2 predefined fields named "fixedrec1" & "fixedrec2"

the format is varchar.
by srinath51
Mon Mar 05, 2012 12:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: length of text file truncated...
Replies: 9
Views: 3351

Hi Jwiles,

i am writing the output to a Sequential file.

i am populating the Additional Spaces i.e; 756 within the transformer.

the Derivation is - Space(756)
by srinath51
Mon Mar 05, 2012 10:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: length of text file truncated...
Replies: 9
Views: 3351

length of text file truncated...

Hi All, i am generating a text file as an Output with the SIze as 1200Bytes. i have data for the 444 bytes of data and as per the Req I have to append 756 bytes of remaining data with Spaces. My question is when i hard-code the 756 bytes of data with the Spaces and Run the job and see the text file ...
by srinath51
Mon Mar 05, 2012 10:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dealing with Numeric value in Datastage.
Replies: 4
Views: 2208

Thanks Pandeesh & Jwiles...

i converted and now it works fines as i desired.
by srinath51
Mon Mar 05, 2012 8:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dealing with Numeric value in Datastage.
Replies: 4
Views: 2208

Dealing with Numeric value in Datastage.

Hi All, i have a field named - "ITEM_SEQ_R" Num(5,0),the values for the field in the Sql database are 622,355. when i use the above field and generate a text file then i get output as ' 00622.',But i want the output as '000622.' when i concatenate a '0' then i get '0 00622.',So my question...
by srinath51
Fri Mar 02, 2012 1:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate Packed decimal
Replies: 1
Views: 1189

Generate Packed decimal

Hi ALL, i want to know can the Datastage generate the Packed decimal format... i have a input data in decimal format but in the output i have to generate a text file with the packed Decimal format for the Decimal i/p . Please let me know what kind of conversion i need to do...so that i will explore ...
by srinath51
Thu Mar 01, 2012 2:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace . with -
Replies: 4
Views: 3176

i got it fixed...

used the convert Function...
Here is the syntax :

Convert(".","-",READ_Data.ITEM_R):
by srinath51
Thu Mar 01, 2012 1:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace . with -
Replies: 4
Views: 3176

replace . with -

Hi All, i am having one of the column named in a Sql table named - 'ITEM_R(Numeric (5,0)).there are 2 values for this column i.e; 3,131 & 5,243 Now when i pull this column in the Data-stage Extract and see the data then i see the following values i.e; 03131. & 05243. so my req was to replace...
by srinath51
Wed Feb 29, 2012 2:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Constraint Syntax
Replies: 6
Views: 3105

Thanks Jwiles....
by srinath51
Wed Feb 29, 2012 1:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Constraint Syntax
Replies: 6
Views: 3105

Constraint Syntax

Hi all,
i have a field Named - "Buss_unit(varchar(5))" which display the values as Null,12,20.

Now my requirement is that i have to define a constraint in the Transformer to Delete the rows with Null values...

Please help me the syntax.
by srinath51
Tue Feb 28, 2012 12:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get increment of a value..
Replies: 2
Views: 1181

thanks will give a try...