Search found 83 matches

by sravanthi
Fri Sep 08, 2006 5:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conerting a decimal(12,3) to decimal (9,2)
Replies: 4
Views: 2823

jayantthakore wrote:TRY THIS :
DecimalToDecimal(Column name,[2])
This should do it.
hi jayanth,

it is not accepting that expression.You mean 2 is for floor.
by sravanthi
Fri Sep 08, 2006 2:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conerting a decimal(12,3) to decimal (9,2)
Replies: 4
Views: 2823

conerting a decimal(12,3) to decimal (9,2)

Hi

My source column data is coming as decimal(12,3) and i have to insert into target column with data type as decimal (9,2).

I have used decimalto decimal(column,"floor").It was not working.

Is there any other possible solution for this?

Thanks!
by sravanthi
Thu Aug 17, 2006 7:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: getting repeated values in xml
Replies: 3
Views: 1067

Hi,

I have created the expressions manually.
The path i have used is
/AmazonEnvelope/Message/Item/name/Value/text()

Some of the values are not repeating some of them are repeating.
Can you please tell me what would be the problem
Thanks!
by sravanthi
Wed Aug 16, 2006 5:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: getting repeated values in xml
Replies: 3
Views: 1067

getting repeated values in xml

Hi, I have a job where my o/p is xml and i/p is dataset. My problem is in dataset the data is correct but in xml for single tag values are repeating. Example: In i/p for a column "name" the data is "not_ready". But for name the o/p i'm getting : <name> <Value>not_ready not_ready<...
by sravanthi
Thu Aug 10, 2006 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job compilation taking more time(more than 5 hours)
Replies: 2
Views: 1391

Job compilation taking more time(more than 5 hours)

Hi,

I have a job which genarates an xml file.

DSet-->Transformer--->xml .

In transformer i'm applying business logic for 260 attributes.

I don't know why it is taking so much time.Is there any other way to decrese compilation time.

please tell some suggestion.

Thanks!
by sravanthi
Fri Aug 04, 2006 3:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating an xml file with required timestamp
Replies: 3
Views: 1122

generating an xml file with required timestamp

Hi I have to generate an xml file with name_yyddmmDDMMSS.xml . I am presently doing this through the unix script.I have also tried to use name_#dsjobTimestamp#.xml but it will not genarate in the above format. Is there any possibility to specify the timstamp format in the job level itself? thanks in...
by sravanthi
Fri Aug 04, 2006 3:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dropping null columns in tranformer
Replies: 4
Views: 1508

dropping null columns in tranformer

Hi

How can we drop null column in a transformer.

i have 250 columns in the job.i have to drop all the column which are null
how can we achieve this

Thanks!
by sravanthi
Wed Jul 26, 2006 3:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenating Timestamp With a Sequential file
Replies: 33
Views: 11215

genarating a xml file with timestamp

Hi chulett


I want to generate a file with name_YYMMDDddmmss.xml .If i use name_DSJobStartTimestamp.it is genarting in default format but i need in this format name_YYMMDDddmmss.xml

so want should i do.please suggest some solution.
by sravanthi
Tue Jul 25, 2006 12:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenating Timestamp With a Sequential file
Replies: 33
Views: 11215

file_timestamp

:!: There is no problem with either spaces or colons in UNIX pathnames. And using the DSJobStartTimestamp macro in a sequential filename works fine as I just built a quick test job to verify that fact for myself. It will also 'open in the sequential file stage' (aka View Data) just fine as well wit...
by sravanthi
Mon Jul 24, 2006 5:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: getting column value as tag in xml
Replies: 0
Views: 588

getting column value as tag in xml

Hi, How can we get the column value as tag in xml? For ex: My 1st column name is COLOUR and its value is 'BLACK','WHITE' etc.., 2nd column name is LENGHT and its values is 1,2,....etc I have to generate xml as <BLACK> <Value> 1 </Value> </BLACK> <WHITE> <Value> 2 </Value> <WHITE> Could anyone sugges...
by sravanthi
Thu Jul 20, 2006 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to decrease the retrieval time from database
Replies: 5
Views: 2317

how to decrease the retrieval time from database

hi, I'm using db2 udb api stage for selecting columns from a table. The time taken is too high.the job is running for more than half an hour and it is getting delayed because of one table. select ..... from ...with ur is my query. all other tables are retrieving quickly but only two tables are creat...
by sravanthi
Mon Jul 17, 2006 6:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: passing max values as parameter into script
Replies: 1
Views: 749

passing max values as parameter into script

hi, I have a job where i have to pass max value as parameter. in my script i have included : db2 "export to $LOCAL_DIR/max.ixf OF ixf SELECT MAX(INTF_TASK_I) FROM SPTDR1.INTF_TASK " if [ $? -ne 0 ]; then echo "ERROR fetching the max ids" db2 connect reset exit $FATAL fi JPM_SUR_K...
by sravanthi
Mon Jul 03, 2006 9:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Obtaining single datasets from multiple datasets
Replies: 1
Views: 739

Obtaining single datasets from multiple datasets

Hi , I have a situation where i Have to combine all the datasets into single datset and generate one single xml file. I have tried using dummy column on all the datastes and joined(left outer join) but the data is not comming in exact manner. I need to obtain all the data without any modification. I...
by sravanthi
Thu Jun 29, 2006 6:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: specifying path for xml output column
Replies: 3
Views: 1264

You mean XPath not simply path... it was a little confusing at first. And your output while wrong is technically correct - 1 = true, 0 = false. You need to correct your 'DSLink100.PublishFlag' derivation to translate it into words, it would seem. Oh, and nice link name. :wink: hi chulett, I mean to...
by sravanthi
Thu Jun 29, 2006 1:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: specifying path for xml output column
Replies: 3
Views: 1264

specifying path for xml output column

Hi I'm facing problems when mentioning path in xml output.I have to generate o/p as : <?xml version="1.0" encoding="UTF-8" standalone="no"?> <gsa-template> <import-items> <add-item item-descriptor="ensemble-product" id="140150"> <set-property name=&q...