Search found 86 matches

by Champa
Mon Mar 20, 2006 3:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How do I split a input row into multiple output rows
Replies: 6
Views: 1676

Both sequential files
by Champa
Mon Mar 20, 2006 3:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How do I split a input row into multiple output rows
Replies: 6
Views: 1676

How do I split a input row into multiple output rows

Hey guys, The input file is as below 1|711,729a,726|h711_729A_726_ppsp|H323 1|711,729a,726|s711_729A_726_ppsp|SIP 2|729ab,726,711|h729AB_726_711_ppsp|H323 2|729ab,726,711| s729AB_726_711_ppsp|SIP The output file should be as below. Codec_Descriptor_ID=1|Codec_Descriptor_Value=711 Codec_Descriptor_ID...
by Champa
Mon Mar 20, 2006 11:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem using cat command in Execute Command stage in jobseq
Replies: 7
Views: 3226

Guys,

I got around that problem by putting the cat command in the job after as before-job subroutine. I did check all your suggestions but I could not find any problem with my command nor was I deleting the file after.

Thx
by Champa
Mon Mar 20, 2006 10:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem using cat command in Execute Command stage in jobseq
Replies: 7
Views: 3226

It does not produce the all.txt at the end.
by Champa
Mon Mar 20, 2006 10:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem using cat command in Execute Command stage in jobseq
Replies: 7
Views: 3226

Problem using cat command in Execute Command stage in jobseq

Team, I see to have problem concatenating sequential files using cat command in execute command stahe in job sequencer. I get the following error in director. seqtest..JobControl (@Execute_Command_19): Executed: cat /export/dsadm/champa/bes.txt /export/dsadm/champa/cadm1.txt /export/dsadm/champa/cad...
by Champa
Wed Mar 15, 2006 10:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal to varchar
Replies: 2
Views: 862

Decimal to varchar

Hi,

How do I convert a decimal data type to varchar datatype?

Thanks.
by Champa
Tue Mar 14, 2006 6:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Sequential Files
Replies: 16
Views: 4758

Thanks Siva

I will try it out tomorrow
by Champa
Tue Mar 14, 2006 6:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Sequential Files
Replies: 16
Views: 4758

Ray,

Can you please expand on your first sentence.

Thanks.
by Champa
Tue Mar 14, 2006 6:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Sequential Files
Replies: 16
Views: 4758

Merge Sequential Files

Team, I have 13 files with 2 columns. In each file first column is id & the second is count. What I want to do is combine all 13 files group by first column & sum the count. I tried using a link collector to combine all the files into a single file & then used an aggregator to sum up. It...
by Champa
Fri Jan 27, 2006 2:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get job statistics if the job design varies?
Replies: 2
Views: 982

Thanks Ray. Good luck with your count down.
by Champa
Fri Jan 27, 2006 1:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get job statistics if the job design varies?
Replies: 2
Views: 982

How to get job statistics if the job design varies?

Hi, I have a routine that gets job statistics. It includes job name, job start time, job end time, number of records uploaded to db, number of rejects, any warnings, any db errors, & job status. It uses the following arguments: Arg1: JobName Arg2: TransformerName Arg3: DBLinkName Arg4: Maximum n...
by Champa
Sun Jan 22, 2006 8:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I wirte to a sequential file in a DS Routine
Replies: 6
Views: 1957

Thanks Ray for your in depth analysis & suggestions. I made changes & the file does get appended now. You have been a great help.
by Champa
Sat Jan 21, 2006 7:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I wirte to a sequential file in a DS Routine
Replies: 6
Views: 1957

Thats a good idea Kumar.

Ya, I am passing all the parameters to the routine.


Thx
by Champa
Sat Jan 21, 2006 6:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I wirte to a sequential file in a DS Routine
Replies: 6
Views: 1957

Here is the code: $INCLUDE DSINCLUDE JOBCONTROL.H hJob1 = DSAttachJob(Arg1,DSJ.ERRNONE) Number_of_rows = DSGetLinkInfo(hJob1,Arg2,Arg3,DSJ.LINKROWCOUNT) Ans = Number_of_rows Status = DSGetJobInfo(hJob1, DSJ.JOBSTATUS) Job_name = DSGetJobInfo(hJob1, DSJ.JOBNAME) If Status = 2 Then Job_status = "...
by Champa
Fri Jan 20, 2006 11:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I wirte to a sequential file in a DS Routine
Replies: 6
Views: 1957

How can I wirte to a sequential file in a DS Routine

I an trying to call a routine that writes to a sequential file the job status many times in the designer. It writes status correctly the first time. And when it is called the second time (after executing the second job) it writes some data into the seq file. How can I invoke the same routine & g...