Parallel Job running

All questions about Control-M jobs definitions
Post Reply
User avatar
tnrchinna
Nouveau
Nouveau
Posts: 6
Joined: 27 Feb 2013 12:00
Location: Columbus Oh

Parallel Job running

Post by tnrchinna » 13 Mar 2013 10:46

Hi,

I had a requirement, there are two jobs A and B. Job A is cyclic and runs from 0900 to 1600, job B is standalone job and runs at 0930.

Job B should run only if Job A is running and should not run if Job A is completed.

Want to know how to develope this job, Please help.

Regards
Juniper

User avatar
WandaSantiago
Nouveau
Nouveau
Posts: 1
Joined: 14 Mar 2013 12:00

Legal Jobs in Chicago

Post by WandaSantiago » 14 Mar 2013 10:24

I like it so much, please try to keep posting.Let me introduce other material that may be good for our community.
Thanks a lot..

jobschubse

Post by jobschubse » 18 Mar 2013 10:10

job a have to add a prereq. condition (or quant. ressource).
if job a ends ok the prereq. condition (quant. resource) have to be deleted and job b was forced ok.

Job b run only if prereq. condition (quant. ressource) exists.

i think it works

regards

User avatar
tnrchinna
Nouveau
Nouveau
Posts: 6
Joined: 27 Feb 2013 12:00
Location: Columbus Oh

Post by tnrchinna » 26 Mar 2013 11:08

How can post a pre-req condition all conditions will be posted at the end of the job rt?

jobschubse

Post by jobschubse » 27 Mar 2013 7:22

Hi tnrchinna,

use the variable PRECMD
(Specifies a command to run immediately before running the job defined by MEMNAME)
in combination with ctmcontb or ctmldnrs.

regards

User avatar
futre25
Nouveau
Nouveau
Posts: 166
Joined: 11 Aug 2009 12:00

Post by futre25 » 27 Mar 2013 10:21

Of course with jobschubse.

JobA - Owner controlm
- Set Var Name %%PRECMD ctmcontb -ADD PRUEBAA-OK ODAT
%%POSTCMD ctmcontb -DELETE PRUEBAA-OK ODAT

JobB - Condition IN PRUEBAA-OK and submitted at 09:30

So we get executed the jobA and jobB in parallel.

Regards.

User avatar
tnrchinna
Nouveau
Nouveau
Posts: 6
Joined: 27 Feb 2013 12:00
Location: Columbus Oh

Post by tnrchinna » 27 Mar 2013 9:10

Thanks futre25 and jobschubse that worked.

User avatar
lucycandy
Nouveau
Nouveau
Posts: 3
Joined: 09 Apr 2013 12:00
Contact:

Post by lucycandy » 09 Apr 2013 11:21

You say it! I very much agree with your point of view!I hope to be able to see your published posts.









____________________________________
wow gold|diablo 3 gold|Dragon Nest Gold|GW2 Gold

Post Reply