dscc.exe - to compile jobs from category.

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
videsh77
Premium Member
Premium Member
Posts: 97
Joined: Thu Dec 02, 2004 10:43 am
Contact:

dscc.exe - to compile jobs from category.

Post by videsh77 »

I am uaing dscc jobs to compile uncompiled jobs in the given environment. But I could not find an option which can mention, to compile jobs under a particular category.

Could someone, if used can share how this can be done?
Thanks with regards,
videsh.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I would think you would need to get a list of job names from the desired category and script a looping structure to compile them one by one. I don't believe there is any 'automatic' way to do it.
-craig

"You can never have too many knives" -- Logan Nine Fingers
RAJEEV KATTA
Participant
Posts: 103
Joined: Wed Jul 06, 2005 12:29 am

Post by RAJEEV KATTA »

Go to the ds client path on your machine from command line and just type dscc you will see different options in it.This would do the needful.
videsh77
Premium Member
Premium Member
Posts: 97
Joined: Thu Dec 02, 2004 10:43 am
Contact:

Post by videsh77 »

I have tried doing that by seeing options for dscc. It mentions something for categories 'cat\*'. This doesn't helps, as I have tried multiple combinations by giving category names at different places.
Thanks with regards,
videsh.
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

Specify the category path after the /j option

Code: Select all

Category\*
If you have a sub-category

Code: Select all

Category\SubCategory\*
It shuold work.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
videsh77
Premium Member
Premium Member
Posts: 97
Joined: Thu Dec 02, 2004 10:43 am
Contact:

Post by videsh77 »

Is there any option available which will compile jobs from subcategories, than individually specifying a subcategory?
Thanks with regards,
videsh.
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

Did a quick check, looks like there is no option, you have to specify the subcategory name to compile the jobs under them.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
Post Reply