Search found 122 matches

by sonia jacob
Wed Dec 08, 2004 1:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last Error
Replies: 16
Views: 3034

You need to do a search. These have been covered a lot. You cannot use DSJ.ME. You need to use DSAttach() and get a job handle for each job be fore you can get info on it. I went through the routine "KgdGetLastWarning(JobName)" from "http://www.duke-consulting.com/DataStage_Tips_plai...
by sonia jacob
Tue Dec 07, 2004 12:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last Error
Replies: 16
Views: 3034

Last Error

Hi, My requirement is to write into a log file (.txt file) the status of each job that is run in a sequencer; if Abort then the reson for the same else if Finished OK then the rows loaded into the target or if Finished with warning then the rows loaded into the target and that which were rejected. I...
by sonia jacob
Tue Dec 07, 2004 10:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Final Delimiter in Seq. File Stage of DS Server
Replies: 7
Views: 4152

Re: what should be column definition for the first input fil

Hi, If I am right, your input file is a follows File1|data...... File2|data...... .................... .................... FileN|data...... and as your output there would be N files with the appropriate "data". If you are sure about the number and name of output files, then I guess you co...
by sonia jacob
Mon Nov 29, 2004 1:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Iconv and sort
Replies: 9
Views: 2165

thanks Ken, for the routines KBATimestampDeltaSeconds and KBATimestampDeltaDays.
by sonia jacob
Mon Nov 29, 2004 12:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge stage
Replies: 1
Views: 760

Hi, Something I did not mention in the previous post was that the files were fixed width. And I believe that was the cause of the problem too. I changed the both the source files to delimited files and then did a merge (left outer), it worked. The strange thing is that the fixed width format seemed ...
by sonia jacob
Mon Nov 29, 2004 12:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Iconv and sort
Replies: 9
Views: 2165

Re: Iconv and sort

Hi, I think the Iconv (Date to Internal value) conversion for date part should be Iconv(Field(Inlink.ColumnName," ",1,1), "D/MDY") If you want to convert this date to YYYY/MM/DD format then use the OConv on the above result as follows OConv( Internal Value ,"D/YMD[4,2,2]&quo...
by sonia jacob
Mon Nov 29, 2004 11:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge stage
Replies: 1
Views: 760

Merge stage

I use a merge stage to merge between two file FILE 1 Field1 1 2 FILE 2 Field1 Field3 1 USD 1 SEK My output File should be Field1 Field3 1 USD 1 SEK 2 But my output file now is :( Field1 Field3 1 USD 1 2 Since I need all the records from File1 I use "Left Outer Join" as Join Type. Any ideas...
by sonia jacob
Tue Nov 16, 2004 8:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine to write into a file
Replies: 2
Views: 791

chulett wrote:Use the SEEK command. There's an example in this post that should help.
thanks once again
by sonia jacob
Mon Nov 15, 2004 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with the project in DS
Replies: 4
Views: 823

Anything happen to your server that you are aware of? Any chance you've run out of space where your project is installed? Here's hoping you've got a recent backup, just in case... :? Thanks Craig. You are right about running out of project space. I am trying to do somehting on that. And yes I have ...
by sonia jacob
Mon Nov 15, 2004 8:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with the project in DS
Replies: 4
Views: 823

sorry i panicked. :oops:

I did a cleanup of the project and everything seems to be fine.
by sonia jacob
Mon Nov 15, 2004 8:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with the project in DS
Replies: 4
Views: 823

problem with the project in DS

Hi all,

When I open the the designer for my project I do not see any jobs, container and transforms, just the routines.

I also get the error "cannot write to project file"

Any idea what is happening and what i should be doing to get it right?

Sonia
by sonia jacob
Fri Nov 12, 2004 2:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine to write into a file
Replies: 2
Views: 791

routine to write into a file

Hi,

I have a routine which appends a character to the End of a File. My question is once i open the file, is there any way to go to the EOF right a way rather that processing each row and waiting for the EOF to reach (done within a loop)

Thanks
Sonia
by sonia jacob
Fri Nov 12, 2004 8:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Splitting Concatenated Strings
Replies: 4
Views: 2475

Hi, you could try replacing the ":" with Nat Key : Char(013) : Char(010). ereplace(Surr Key : ":" , ":", trim(Nat Key) : Char(013) : Char(010)). This would work only if you are sure about the delimitor in the Surr Key. If a output file required is a delimited one then f...
by sonia jacob
Thu Nov 11, 2004 2:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convertmonth
Replies: 4
Views: 1831

Hi Jim,

You were right it worked. hmm! that is kind of strange.

But thank you very much. :D

sonia
by sonia jacob
Thu Nov 11, 2004 11:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convertmonth
Replies: 4
Views: 1831

Same error as before :( TEST #1 ******* Arg1 = 2004/09/04 Arg2 = 2005/05/04 Test failed. Program "DSU.EOM": Line 18, Unable to open the operating system file "DSU_BP.O/DSU.ConvertMonth". [ENOENT] No such file or directory Program "DSU.EOM": Line 18, Unable to load file ...