Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.
Moderators: chulett , rschirm , roy
jusami25
Premium Member
Posts: 84 Joined: Tue Oct 26, 2004 12:49 am
Post
by jusami25 » Wed Apr 29, 2009 9:36 am
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.
sun rays
Charter Member
Posts: 57 Joined: Wed Jun 08, 2005 3:35 pm
Location: Denver, CO
Post
by sun rays » Thu Apr 30, 2009 1:37 pm
Go to Manager--> Tools-->Run Multiple JobCompile
jusami25
Premium Member
Posts: 84 Joined: Tue Oct 26, 2004 12:49 am
Post
by jusami25 » Tue May 05, 2009 3:11 am
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
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Tue May 05, 2009 5:34 am
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.
-craig
"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Posts: 5227 Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:
Post
by kduke » Tue May 05, 2009 11:53 am
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.
Mamu Kim
jusami25
Premium Member
Posts: 84 Joined: Tue Oct 26, 2004 12:49 am
Post
by jusami25 » Wed May 06, 2009 10:03 am
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.
virgenie
Participant
Posts: 3 Joined: Mon Oct 22, 2007 8:46 am
Post
by virgenie » Thu Jun 10, 2010 10:31 am
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