How to find all jobs that use database stage as ref link

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Marley777
Premium Member
Premium Member
Posts: 316
Joined: Tue Jan 27, 2004 3:26 pm

How to find all jobs that use database stage as ref link

Post by Marley777 »

Thanks for reading. How to find all jobs that use database stage as reference link. Looking for a search of somekind. Any help is greatly appreciated.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If you go to your designer, navigate the repository to

Stages Types -> Parallel -> Database -> {your stage type}

then right-mouse-click and "find where used"

you will get a list of jobs where that stage is used.
Marley777
Premium Member
Premium Member
Posts: 316
Joined: Tue Jan 27, 2004 3:26 pm

Post by Marley777 »

Thanks for your response...

but we need to know where db2 stages are used as 'reference links' and not where the db2 stage is used anywhere in a job. So we are looking for a specific scenario where the db2 stage is used...in this case used as a reference link. Any help is greatly appreciated. Thanks.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I can't think of a way to get this with a quick click method.

With a small DS/BASIC routine you could loop through all jobs, and in each job loop through all links, and then find those which have a passive stage at the source end and print those out where the stage type is db2.
Marley777
Premium Member
Premium Member
Posts: 316
Joined: Tue Jan 27, 2004 3:26 pm

Post by Marley777 »

Thanks for the reply. We'll try this.
Post Reply