Search found 233 matches

by shrey3a
Thu Oct 13, 2005 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete Log
Replies: 3
Views: 1296

Delete Log

Hi,

We have numerous prod jobs which makes the log full.

We have a scenario where we want to know which job has created the particular log.

Is there is any routine/ utility which can give the tell which log file is been created by which job.

Thanks in advance.....
Regards
by shrey3a
Thu Oct 13, 2005 8:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: key generate
Replies: 5
Views: 1557

key generate

Hi,


I've a scenario as below

EMP id

123
123
456
456
222
234

I need to o/p in the format

emp id key

123 1
123 2
456 1
456 2
222 1
234 1

The logic is to start the seq again from 1 when ever the emp id changes.

Thanks in advance.....
Regards
by shrey3a
Mon Oct 03, 2005 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: updating oracle table
Replies: 3
Views: 1554

updating oracle table

Hi, I've a very simple job, which updates the rows in Table. The only problem is the table has 206 columns and 1 million rows. I'm only updating 6-7 columns in table but the job performance is like it takes 10 hours to update. Can there be any suggestions to improve the performance of jobs from DS /...
by shrey3a
Wed Sep 21, 2005 4:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Conditional Job Start from Routine Value
Replies: 4
Views: 1399

Hi Craig, How to check the return status of routine in Nested condition stage. It do not give the option to do it. The scenario is If the routine returns the value 44 the run the job else do not run the job. Regards Simple enough with a Nested Condition stage. Have it check the return status and eit...
by shrey3a
Wed Sep 21, 2005 3:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Conditional Job Start from Routine Value
Replies: 4
Views: 1399

Conditional Job Start from Routine Value

Hi, I need to start or abort the job based on the return value of the routine. Scenario I've a routine which I'm planning to call in sequencer thro' routine stage the routine returns the value 1 and 0 , I need to start the Datastage job if the value is 1 and do not start the job if value is 0. Regar...
by shrey3a
Thu Sep 15, 2005 10:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: COnversion
Replies: 5
Views: 1753

Hi , The D stands for (-) and (+) or nothing stands for C. And length of the mainframe field is 14. Regards, Hi Shrey3a, I have encountered a similar case before. It looks like you have to encode your values using a particular logic. Find out if there is any logic to be applied inorder to get the 00...
by shrey3a
Thu Sep 15, 2005 8:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: COnversion
Replies: 5
Views: 1753

COnversion

Hi, I've a typical scenario , I need to do the below conversion to provide the file to mainframe group so that they can match the data from ascential generated file with mainframe file e.g. Value -212.00 should be converted to 0000000021200D The above looks like decimal to Hex conversion. I tried al...
by shrey3a
Thu Jul 28, 2005 3:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Send an email from datastage job
Replies: 14
Views: 11516

Thans it worked with code and sending one mail for any no of rows


If @INROWNUM =1 then (DSSendMailTester('munish.sharma@anheuser-busch.com', 'munish.sharma@anheuser-busch.com', 'test', 'mail.anheuser-busch.com', "dstest")) else '0'

Thanks again for all help
by shrey3a
Thu Jul 28, 2005 1:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Send an email from datastage job
Replies: 14
Views: 11516

where in transformar I use the condition in constraint link or stage variable....I'm struggling on it
by shrey3a
Thu Jul 28, 2005 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Send an email from datastage job
Replies: 14
Views: 11516

Hi,
Is there is way we can identify in Ds that particular link rownum >1 and then send an email.

It may be in the same job or other job which checks the previous job link info for the same.

Rgds,
Munish
by shrey3a
Thu Jul 28, 2005 10:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Send an email from datastage job
Replies: 14
Views: 11516

[quote="pnchowdary"]Hi Munish,

Well, I am confused now

Is your reject link writing to a sequential file or an Oracle table?[/quote]

Its writing the Oracle table.
by shrey3a
Thu Jul 28, 2005 10:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Send an email from datastage job
Replies: 14
Views: 11516

Hi ,

But in my case the reject link feeds to oracle table so I need to check if the data is been passed thro' reject link then only do an email after the job is finished.

Rgds,
munish
by shrey3a
Thu Jul 28, 2005 10:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Send an email from datastage job
Replies: 14
Views: 11516

Send an email from datastage job

Hi, I've below scenario : There is a reject link in my job populating the error file and I need to send an email to group of people after the job has finished/ aborted only when the data comes to reject link. for e.g. I extracted 1000 rows and 998 made to target and 2 is been sent to reject link tha...
by shrey3a
Mon Jul 18, 2005 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup to multiple rows
Replies: 4
Views: 1063

Lookup to multiple rows

Hi, I've a scenario in look up as stated below. Source link Crse_CD Col1 Col2 Col3 Col4 Col5 M10001 1 a c c b M20001 4 s d d d Look up Crse_cd M10001 M10001 M10001 M20002 M20002 I've to do a look up on Crse_cd column and divide my source in to no of occurence of Crse_cd in look up link i.e. M10001 c...
by shrey3a
Fri Jun 03, 2005 3:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine to read the value from oracle
Replies: 3
Views: 1159

Hi ,

I tried looking for code/routine which can be executed from DS enviorment to fetch the value from oracle table but was not able to find.

Can anybody help on this..

Thanks in advance...

Regards
Sainath.Srinivasan wrote:Look for DSExecute.