Usage on IN conditions with multiple logical expressions

All questions about Control-M jobs definitions
Post Reply
User avatar
desiretoknow
Nouveau
Nouveau
Posts: 3
Joined: 17 Jul 2007 12:00

Usage on IN conditions with multiple logical expressions

Post by desiretoknow » 17 Jul 2007 11:32

Hi ,
I have 2 cycle jobs and all cycle jobs needs to have dependency on 2 other jobs A and B. But on first trigger of cycle job , the A and B conditions are deleted and C is created. But my second cycle job should either look for A and B or C condition. I tried with IN cond with parathensis but it is not working. do i need to have any upgrade on exe inorder to use this ? or have some one tried so far ? if so can you provide me some example on ctmcreate along with multiple AND / OR conditions ?

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 18 Jul 2007 4:18

When you have complex logical relationship, make sure the are open and close paratheses to group the appropriate IN conditions. For your case, it should look similar to below. You don't need anything special.

Code: Select all

( COND-A      ODAT    AND
  COND-B      ODAT  ) OR
  COND-C      ODAT    AND

Hope this help.

Post Reply