Search found 358 matches

by loveojha2
Mon Dec 12, 2005 12:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generating sequence numbers using Stage variables
Replies: 19
Views: 9425

Re: Generating sequence numbers using Stage variables

yaminids wrote:Hi Sasi,

Unfortunately it didn't work. Instead of incrementing the sequence by 1 the second variable just added 1 to the first variable(Max number)

Yamini
If @INROWNUM=1 then v+1 Else v1+1 to v1 should work here.
by loveojha2
Sun Dec 11, 2005 11:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need count of records being populated
Replies: 10
Views: 4283

Re: Need count of records being populated

Hi ravi, i tried using the aggregator.But it is also not giving me the total count.Instead it is giving me a sequence number like 1,2,3...10 again. Thanks, sengs The input to the aggregator would be the sequence number, the ouput would be a single column with the derivation as the count(). Hi Sengs...
by loveojha2
Fri Dec 09, 2005 4:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Maximum stages in a job
Replies: 15
Views: 7203

More than that you can use Local Containers, which will make it more understandable(visually).
by loveojha2
Fri Dec 09, 2005 2:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error occurred during link open process
Replies: 7
Views: 2970

Hi akhiln, After making array size=1,the job was finished successfully.But i need to check the data in the target table to know how the data was loaded. I don't know what's the actual error is......but you can run the job by giving "array size to 1" Changing array size to 1 meaning that y...
by loveojha2
Thu Dec 08, 2005 10:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Raw Field
Replies: 2
Views: 710

Try increasing the size of the field in the job which you are using for this raw field (as error is of the truncation). Did you try using LongVarbinary? and let us know what happened.
by loveojha2
Thu Dec 08, 2005 9:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSJob functon
Replies: 8
Views: 3024

If you do not have active-to-active stage interprocess buffering enabled then all the transforms will be executed by one process, and row 2 won't be read until row 1 processed; so there is no need for passing global values between stages. I don't understand why you have this restriction in your job...
by loveojha2
Thu Dec 08, 2005 9:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error occurred during link open process
Replies: 7
Views: 2970

Hi Kris9999,

Are you using any longvarchar or varchar field within your job?
by loveojha2
Fri Dec 02, 2005 2:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting Job Logs
Replies: 5
Views: 5424

Hey Anand,
What about this

Code: Select all

SELECT * FROM RT_LOGnn WHERE TIMESTAMP=(SELECT MAX(TIMESTAMP) FROM RT_LOGnn)
This will give all the records of last run.

Where nn is the job no.
by loveojha2
Thu Dec 01, 2005 2:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Remove Duplicates from Flatfile?
Replies: 2
Views: 1917

There could be many solutions: one would be, Read the whole row of the Sequential file as a column, do a sort, use a transformer with a stage variable having previous row and write the next coming row only if it is not equal to previous row to another sequential file. Copy the new file with overwrit...
by loveojha2
Wed Nov 30, 2005 10:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we get only job status???
Replies: 31
Views: 8899

Hi ICE, For me job status is -1 when I create a new job and its yet to be compiled. But not very sure on this. Dear Ray, Now I got the jobs name but the DSJ.JOBSTATUS are always -1 even though they are not the same status. May I know what is that??? May I know how to know the staus as -1 is what,1 i...
by loveojha2
Tue Nov 29, 2005 5:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we get only job status???
Replies: 31
Views: 8899

Dear loveojha2, May I know how to get the job name one by one??? Now your exp will give the series of jobs name.Right?So how to get one by one.I mean how to assign to a variable???I cannot assign to one variable when I run this DSExecute. Or can I use the jobname as the alias of NAME from that quer...
by loveojha2
Tue Nov 29, 2005 3:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we get only job status???
Replies: 31
Views: 8899

Yes :) and don't forget to detach the job, once you have read the status with ErrCode = DSDetachJob(JobHandle) Hi loveojha2, Thanks for your suggestion.But still i need some suggestion. You give the example to get the jobs name. So there are more than one jobs I will get if I use this.Right?So do I ...
by loveojha2
Tue Nov 29, 2005 3:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we get only job status???
Replies: 31
Views: 8899

You would need to use Result = DSGetJobInfo (JobHandle, DSJ.JOBSTATUS) which will give you the status of the job. where JobHandle is the Handle for the job returned by JobHandle = DSAttachJob (JobName, ErrorMode) Use erroMode as DSJ.ERRNONE. You can get the name of the jobs from Call DSExecute("...
by loveojha2
Mon Nov 28, 2005 9:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle rejects
Replies: 2
Views: 1063

Hi Annapurna D Kolluri,
Check with your data, are there any duplicated rows coming from your source.
by loveojha2
Mon Nov 28, 2005 12:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help on dsexport
Replies: 40
Views: 20135

I agree with jenkinsrob. Neither its possible with dsexport nor with dscmdexport.