Search found 394 matches

by samsuf2002
Tue May 13, 2008 9:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Vertical pivot
Replies: 15
Views: 6879

Vertical pivot

Hi All , I have to do vertical pivot in server , my requirement is i have 2 cols A $ B in source table and i want to get one row in output having same A value and different B values in multiple columns. Can any one please show me how to handle this requirement.

Thanks in Advance
by samsuf2002
Thu May 01, 2008 12:55 pm
Forum: IBM QualityStage
Topic: running quality stage job in between ETL job
Replies: 1
Views: 1151

running quality stage job in between ETL job

I want to run a quality stage job in the middle of my datastage job process , both are on the same server , going down in the process of daily loads i may have to automate the whole process including quality stage in it . How can i schedule and run the quality stage job from scheduling script. I am ...
by samsuf2002
Tue Apr 22, 2008 1:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fatal error
Replies: 4
Views: 1706

Thanks kcbland for your response. My query is just joining 3 tables and as you asked to increase the request time on that query, does it have to do from datastage job or from database side ?
by samsuf2002
Tue Apr 22, 2008 1:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fatal error
Replies: 4
Views: 1706

Fatal error

I am running a job which extract data from DB2 stage in which i am joining 3 tables, with a look up using hash file and finally loading into seq file. Table has 7 million records and hash file has 1 million.My job got aborted with this fatal after loading 4 million recs- "src_cog005_ext_TW1tbl_...
by samsuf2002
Fri Apr 18, 2008 9:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sorting & partiotining
Replies: 2
Views: 1222

Sorting or partitioning are always recomended before you do a join but it all depend upon what type of join and what stage are you using for joining. And posting this topic in parallel forum will get good response.
by samsuf2002
Fri Apr 11, 2008 3:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line in file
Replies: 3
Views: 1328

I am using single row since I need xml header with each record i cant use aggregate all rows. This line feed is coming for some records whose length exceed 4096 character which i noticed now. All the xml records are not same in lenght since it can have repeatative columns.
by samsuf2002
Fri Apr 11, 2008 2:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line in file
Replies: 3
Views: 1328

new line in file

Hi - I am generating an xml file using a sequential file , in some of my records i am getting new line character like a small square box character, my output file contain one column with lenght 4194304 and as varchar. Basically i am generating xml records in sequential file by dumping all xml the re...
by samsuf2002
Thu Apr 03, 2008 2:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

Finally i got it, what i did is i used varchar and and gave delimeter as '000' and quote = '000' then trimmed the column i got all rows in diffetent lines with "<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE TCRMService SYSTEM "myTCRM.dtd">". It also work wit...
by samsuf2002
Thu Apr 03, 2008 12:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

I am trying to trim those spaces but i am not able to may be because it is a char , i tried all functions i know like convert , replace ,change etc but still not working . Am i missing something ?
by samsuf2002
Wed Apr 02, 2008 4:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

Ernie - I tried the logic its working but since i am giving char to my huge output column its giving all spaces between two records , since i am using fixed width sequential file in output. Other than that i am getting the format what i need.
by samsuf2002
Tue Apr 01, 2008 12:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

Ernie - I gave the output link to my xml output stage which goes into transformer and i mapped all the fields into one column with varchar and long lenth (along with / in description) by concatening all the fields , which is running into a sequential file.But my output seq file shows all records app...
by samsuf2002
Tue Apr 01, 2008 9:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

I really appreciate your precious time Chulett. We have new ibm product WCC which accepts only XML files in the format i showed in my previous post to populate its tables. Since i am using datastage to generate xml files after all extraction and transformations my goal is to get that format within d...
by samsuf2002
Tue Apr 01, 2008 9:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

Chulett , Do you mean that if i want to generate in that format it will result in multiple files ?
by samsuf2002
Fri Mar 28, 2008 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

I really appreciate your help and time Chulett and WoMaWil ,Chulett as you told that datastage will generate everything in one line i was wondering if its not compatible to generate the format i want. I tried using formatted output but its giving me some other format. The Format i want to generate w...
by samsuf2002
Thu Mar 27, 2008 4:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert to xml file
Replies: 18
Views: 6893

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE TCRMService SYSTEM "myTCRM.dtd"> The first line will be generated automatically as long as the key column definition is mentioned properly. The second header (DTD definition) should be mentioned using Transformer stage' i...