Search found 147 matches

by Titto
Thu Aug 18, 2005 4:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Taking long time to Update table
Replies: 2
Views: 995

thanks roy, I can do that but if some other application is accessing while i deleted the entire table they will get SQLCODE 100, i don't want to to that. And I am using some filter conditions joining other DB2 table prior to the updating target table, so by the time the update process i will be havi...
by Titto
Thu Aug 18, 2005 2:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Taking long time to Update table
Replies: 2
Views: 995

Taking long time to Update table

I have a simple job where is read the Hash fine and update the AS400 table thru a transformer stage using Key values. But the job is taking very long time to process 10000 records(Avg 17 min). Arry size is set to 50 and Transaction size to 100. Is there any way to reduce the run time. Please guide m...
by Titto
Fri Aug 12, 2005 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to run a job in multiple instances
Replies: 17
Views: 9276

Hi ArndW
I am little confused, as you said we need to provide invocation id if we run from director, but my question is if we schedule this job and it is running automatically how the system will provide unique invocation id/parameter.
Hope i am asking correct question..

Thanks,
by Titto
Thu Aug 11, 2005 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert a row in target DB2 table when Source DB2 tbl empty
Replies: 8
Views: 3410

I believe there's a FAQ on this technique in the FAQ forum
I did not find in FAQ's

Is there a way to find SQLCODE in Transformer from pregious DB2 stage?

Thanks
by Titto
Thu Aug 11, 2005 11:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert a row in target DB2 table when Source DB2 tbl empty
Replies: 8
Views: 3410

I tried with @INROWNUM = 0, it didn't work out..
by Titto
Thu Aug 11, 2005 11:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert a row in target DB2 table when Source DB2 tbl empty
Replies: 8
Views: 3410

I need to insert status of the process like start time stamp end time stamp. but sometimes souce will be empty at that time also i need to insert the status saying that the process is done.
by Titto
Thu Aug 11, 2005 11:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to run a job in multiple instances
Replies: 17
Views: 9276

ArndW,

I am have same situation. I have JOBSEQ-A calling JOB-B, I created JOB-B as Multi instance job, while i am testing I can provide Invocation Id, but in production how this Invocation Id will popultaed?

Do I need to make JOBSEQ-A and JOB-B as multi instance jobs?

Any help appreciated!

Thanks
by Titto
Thu Aug 11, 2005 10:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reset Job if necessary
Replies: 3
Views: 1273

Thanks Roy! This is the part of existing UtilityRunJob code and i added the code you suggested to Prepare the job (it is between START and END). Hope it works, am I missing anything.. ! JobHandle = DSAttachJob(RunJobName, DSJ.ERRFATAL) Message = DSRMessage('DSTAGE_TRX_I_0014', 'Attaching job for pro...
by Titto
Wed Aug 10, 2005 12:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert a row in target DB2 table when Source DB2 tbl empty
Replies: 8
Views: 3410

Insert a row in target DB2 table when Source DB2 tbl empty

Hi, I have job which reads a source DB2 table and write it to a sequential file using Transformer. at the same time i am inserting a row to another target DB2 table with some status information, but if the source is empty it is not inserting a row in target DB2 table. Is there a way to do so? I trie...
by Titto
Fri Jul 29, 2005 1:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get Identity column value
Replies: 6
Views: 2144

Hi All, The reason i want to user Identity colum is - I have input file comes with records, i need to store them in Table assigining a unique number, when insert it generated a number i want to use this number down the line to update the records with different statuses. So, how can i achieve this in...
by Titto
Thu Jul 28, 2005 10:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get Identity column value
Replies: 6
Views: 2144

Get Identity column value

Hi, I have situation where i need to get the Identity Key column value for the inserted record. I could able to insert the record but I want the value of Identity column. I am using DB2 stage for this. Is there a way using After Sql in DB2 stage How to acheve this? any help is really appreciated. Th...
by Titto
Thu Jul 28, 2005 10:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Get Inserted Identity column Value
Replies: 1
Views: 778

Get Inserted Identity column Value

Hi, I have situation where i need to get the Identity Key column value for the inserted record. I could able to insert the record but I want the value of Identity column. I am using DB2 stage for this. Is there a way using After Sql in DB2 stage How to acheve this? any help is really appreciated. Th...
by Titto
Wed Jul 27, 2005 9:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: STAGESTARTTIMESTAMP , STAGEENDTIMESTAMP
Replies: 9
Views: 2198

Thanks Duke, i will try to inplement this.
by Titto
Tue Jul 26, 2005 2:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: STAGESTARTTIMESTAMP , STAGEENDTIMESTAMP
Replies: 9
Views: 2198

are there any sample codes which i can use.

thanks
by Titto
Mon Jul 25, 2005 8:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: STAGESTARTTIMESTAMP , STAGEENDTIMESTAMP
Replies: 9
Views: 2198

So, we can't capture the STAGEENDTIMESTAMP or JOBLASTTIMESTAMP in the same job. Is there any way to capture STAGEENDTIMESTAMP if i have 3 transformer stages.