Search found 74 matches

by sourabhverma
Thu Aug 07, 2008 11:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue in reading complex flat file
Replies: 3
Views: 2346

Issue in reading complex flat file

Hi All, I am having one flat file which looks like : FUND CODE1 HDFC BANK FUND CODE HDFC FUND CODE DESCRIPTION HOLD 1 HOLDING 1 CODE1 40 1 40 GBP ....... ....... likewise there are no . of records in the file . there are two record type in the file FUND & HOLD. FUND record type is having 4 colum...
by sourabhverma
Sat Apr 21, 2007 7:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential file problem
Replies: 4
Views: 1348

Sorry for mentioning the subject as "sequential file problem". actually i was not getting the exact sub for the same.
As far as your ques are concerned, i am getting the desired results through my approach but i was looking for some other ways which can be more efficient & simple.
by sourabhverma
Sat Apr 21, 2007 5:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential file problem
Replies: 4
Views: 1348

Sequential file problem

Hi Everybody, I have one seq file of 200-250 records, and one of the columns is time column having different values like '14:58:59'. I also have one oracle table with three records like Col1 Col2 15:00:00 PM, A 17:00:00 PM, B 19:00:00 PM, C Now i want to compare every time field of file with the tim...
by sourabhverma
Thu Jan 25, 2007 1:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML filename for each record processed
Replies: 2
Views: 1148

Thank you Mr. Craig Hulett

with your suggestion i am able to do it
by sourabhverma
Wed Jan 24, 2007 6:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML filename for each record processed
Replies: 2
Views: 1148

XML filename for each record processed

Hi All, I have one server job which is reading multiple XML files.The job design is like this Folder --> XML I/P --> Trans`r --> Seq file In folder stage i am using *.XML wildcard for file name. I want to get the filename against each record processed in the seq file for tracking purpose. Pls give y...
by sourabhverma
Mon Jan 15, 2007 4:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling After job subroutine
Replies: 4
Views: 1188

Thanks kumar_s for the suggestion, Now I am able to achieve my requirement.
by sourabhverma
Mon Jan 15, 2007 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling After job subroutine
Replies: 4
Views: 1188

Calling After job subroutine

Hi All,

In a server job, I am loading a sequential file into oracle table. In that job i am also using after job subroutine which is calling a unix script but i want that subroutine to run only if that job is successfully finished.

Please let me know how to achieve that.
by sourabhverma
Sat Jan 13, 2007 12:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed width file job finished with see log
Replies: 6
Views: 2724

when i see last few lines of the file i see ( ^M) character only in the last line of the file. now i am treating that file after removing ( ^M) from the file by unix command
tr -d '\15' < File1.dat > File2.dat

After that i don`t get the error.
by sourabhverma
Fri Jan 12, 2007 6:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed width file job finished with see log
Replies: 6
Views: 2724

When I am viewing the file on the server, at the end of the last record it is showing ( ^M) character which is Carriage Return . so it is taking it into count & showing the error.
by sourabhverma
Fri Jan 12, 2007 5:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed width file job finished with see log
Replies: 6
Views: 2724

Thanks Mr. Ray,

But I did not get the " missing line terminator ".
Anyways do i need to explicitly add the missing line terminator in the file or is there any other way for doing that.
by sourabhverma
Fri Jan 12, 2007 4:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed width file job finished with see log
Replies: 6
Views: 2724

Fixed width file job finished with see log

Hi All, I am reading a fixed width column file and loading into oracle table and in the same job in , before job subroutine i am calling unix script through which i am adding two constant value eg. STORE_ID & FILE_Date in the starting of each record. But when i trigger the job it is finishing wi...
by sourabhverma
Tue Nov 28, 2006 7:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rejected records in merge stage
Replies: 2
Views: 1201

Rejected records in merge stage

Hi All,


I am joining(Inner Join) two sequential files based on some keys, using merge stage and creating one single file. my requirement is that i want to keep track of all those records which are not matching & keeping in separate file.

Please tell me how to do it.
by sourabhverma
Tue Nov 28, 2006 4:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling special character in XML
Replies: 2
Views: 1445

Thanks WoMaWil for the reply & suggestion but the problem still persist because the routine you suggested will work before loading into target. Actually the XML Input stage is not able to read the XML file having special character, so i think anything that could be done should be apply either at...
by sourabhverma
Mon Nov 27, 2006 3:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling special character in XML
Replies: 2
Views: 1445

Handling special character in XML

Hi all, I am having a server job which is reading XML file using Folder & XML Input stage and finally i create sequential files. Folder => XML Input => Tfm => Seq. file the folder stage contains multiple XML files. My problem is that, sometimes the XML files have some special characters instead ...
by sourabhverma
Sun Nov 19, 2006 11:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Improper data type error in routine
Replies: 5
Views: 2128

Hi,

Thanks for the reply,now it worked.

Yes Ray,sometimes it is confusing how to use writeseq statement.

can you tell me when we use seq file statement, where does this File.Variable (variable to which the files are assigned) reside in the DS.