Search found 35 matches

by srinivas Guduru
Wed Nov 17, 2010 3:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trimming a field of type varchar
Replies: 3
Views: 1813

chulett wrote:Use the Field() function to take the first field from a space delimited string.
The length of the field may vary , because originally field type and length is varchar 254.

can you give me the function syntax

thanks

Srini
by srinivas Guduru
Wed Nov 17, 2010 3:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trimming a field of type varchar
Replies: 3
Views: 1813

trimming a field of type varchar

Hi

I have a field (column) of type varchar and values like below

$60000 cash
$3835.50 MRY SINGLE.

I want to populate like below

$6000
$3835.50

can any one suggest me the solution

Thanks
Srini
by srinivas Guduru
Thu Nov 04, 2010 8:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: This is about CDC stage
Replies: 3
Views: 3361

Change your "same" partitioning to partition by the key you are using. Also, change the setting for "Log Statistics" to True so you can see in the director what the stage sees as inserts or edits. Could be that the files are truly not the same. From Unix do an md5sum on both jus...
by srinivas Guduru
Tue Nov 02, 2010 11:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer derivation syntax is need for my requirement
Replies: 3
Views: 2219

Thank yu very much Vivekananda

Thanks Vivekananda, I got it and it is working fine

Regards

Srini
by srinivas Guduru
Tue Nov 02, 2010 10:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer derivation syntax is need for my requirement
Replies: 3
Views: 2219

Transformer derivation syntax is need for my requirement

In the Transformer I need to use below logic. For ADDRESS field derivation When I am using below syntax it is througing error (RED colour) in the Transformer Can any one Please correct the below syntax if INPUT_Link.Field_NM_LNS =1 then INPUT_Link.LN_1_TX :' ': INPUT_Lin.LN_2_TX :' ': INPUT_Lin.LN_3...
by srinivas Guduru
Mon Oct 25, 2010 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data wrriting to xml file (using xml output stage)
Replies: 10
Views: 3195

Re: can you please lookinto this

hi this is my sample output [<accList> <accEntry> <msgId>A1111</msgId> <sysId>VGI</sysId> <actInd>2</actInd> <accNum>0002-09891824205</accNum> <accDtls> <modInd>Securities</modInd> <custId>CIF5849794</custId> <accTyp>16</accTyp> <brchAcc>USA</brchAcc> <accOpDt>12-jun-2008</accOpDt> <accSta>01 </accS...
by srinivas Guduru
Mon Oct 25, 2010 2:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data wrriting to xml file (using xml output stage)
Replies: 10
Views: 3195

can you please lookinto this

[<accList> <accEntry> <msgId>A1111</msgId> <sysId>VGI</sysId> <actInd>2</actInd> <accNum>0002-09891824205</accNum> <accDtls> <modInd>Securities</modInd> <custId>CIF5849794</custId> <accTyp>16</accTyp> <brchAcc>USA</brchAcc> <accOpDt>12-jun-2008</accOpDt> <accSta>01 </accSta> <accClDt>31-dec-9999</ac...
by srinivas Guduru
Mon Oct 25, 2010 12:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data wrriting to xml file (using xml output stage)
Replies: 10
Views: 3195

Re: can any one let me know the solution

<accList><accEntry><msgId>A1111</msgId>
.
.
.
.
<relEntry>
<seqNum>1</seqNum>
.
.
.
</relEntry>
HERE <accEntry> should be closed with </accEntry>
<relEntry>
<seqNum>1</seqNum>

Thanks

Srini

Thank you

srini[/quote]
by srinivas Guduru
Mon Oct 25, 2010 12:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data wrriting to xml file (using xml output stage)
Replies: 10
Views: 3195

Re: can any one let me know the solution

The hole record is very big that is why I am not able to send you

/accList is closing correctly at the end of the file with </accList>

<accEntry> is not closing with </accEntry> for each record

and <msgId> is closing properly for every record


Thank you

srini
by srinivas Guduru
Mon Oct 25, 2010 12:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data wrriting to xml file (using xml output stage)
Replies: 10
Views: 3195

can any one let me know the solution

can any one let me know the solution for my problem

Thanks
by srinivas Guduru
Mon Oct 25, 2010 12:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data wrriting to xml file (using xml output stage)
Replies: 10
Views: 3195

Data wrriting to xml file (using xml output stage)

I need to generate a xml data file Transformer stage is used before Xml output stage Out put Xml file is generating correctly except Starting tag is not ending with closing tag /accList/accEntry/msgId/text() . . . /accList/accEntry/relList/relEntry/relSta/text() <accEntry> tag is not closing with </...
by srinivas Guduru
Fri Oct 22, 2010 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warnings at JOIN stage
Replies: 2
Views: 1800

Warnings at JOIN stage

Hi

I am getting repeted warinings for many fileds, warning is given below.

Can you please give me a detailed advise, how to fix it

Join_39: When checking operator: Dropping component "ACCT_SAG_ID" because of a prior component with the same name.

Thanks

Srini
by srinivas Guduru
Tue Oct 19, 2010 1:05 pm
Forum: IBM<sup>®</sup> DataStage TX
Topic: How to generate sequence number from transformer
Replies: 3
Views: 21601

How to generate sequence number from transformer

Hi

I need to generate a unique sequence number for each row of ouput(starting from 1 and increment is 1). Is it possible, if yes can you please let me know the code in detail

Thank you
Srini
by srinivas Guduru
Mon Oct 18, 2010 9:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer constraint
Replies: 5
Views: 2350

Can any one send me the soln

For my question can any one send the solution please
by srinivas Guduru
Mon Oct 18, 2010 9:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer constraint
Replies: 5
Views: 2350

Transformer constraint

Hi I am using transformer in Parallel Extender job. Transformer with two output links (First and Second), to split the input data. I want to write a constraint for First(Link name) link. when values for perticular input column (Role_ID) has AAAAA then I need to populate PPPPP If column (Role_ID) has...