Page 1 of 1

compile jobs on a specific category

Posted: Wed Apr 29, 2009 9:36 am
by jusami25
Hi all,

I'm trying to compile all the jobs of a specific folder using the command dscc.

Code: Select all

dscc /h HostName /u User /p Password /j /jobs/Folder/* Project
The problem is that the command compiles all the jobs in the project and not the ones that are placed on the /jobs/Folder/

Any suggestion?

Thanks in advance.

Posted: Thu Apr 30, 2009 8:43 am
by Sainath.Srinivasan
Multi-job compile !!??

Posted: Thu Apr 30, 2009 1:37 pm
by sun rays
Go to Manager--> Tools-->Run Multiple JobCompile

Posted: Tue May 05, 2009 3:11 am
by jusami25
Thanks Sun and Sainath for you replies.

We know the existence of the multiple-job compile tool, but we need to do it using an scheduled script and because of this we use the dscc command.

Any suggestion about how to do it using the command?

regards

Posted: Tue May 05, 2009 5:34 am
by chulett
You cannot directly. You could think about generating a list of the job names in that specific category, landing them and then looping though the list and compiling them one-by-one.

Posted: Tue May 05, 2009 11:53 am
by kduke
I have a command which can execute TCL commands. Do a search. I discussed how to get a list of jobs in a category. You need to run this and feed this list into dscc.exe. So if you have to do it this way then it can be done. This command is included with EtlStats. It is called Dwn_ExecTCL.exe.

Posted: Wed May 06, 2009 10:03 am
by jusami25
Hi all,

finally we created a script which reads the jobs names from a test file and compiles job by job.

Thanks for your suggestions.

Re: compile jobs on a specific category

Posted: Thu Jun 10, 2010 10:31 am
by virgenie
jusami25 wrote:Hi all,

I'm trying to compile all the jobs of a specific folder using the command dscc.

Code: Select all

dscc /h HostName /u User /p Password /j /jobs/Folder/* Project
The problem is that the command compiles all the jobs in the project and not the ones that are placed on the /jobs/Folder/

Any suggestion?

Thanks in advance.
In V8.1, you can do dscc /d domain /u User /p Password /h HostName /j \Jobs\Folder\* Project