5 Replies Latest reply: Oct 11, 2012 8:46 AM by Mario Pedrozo RSS

    conditions

    vnr NameToUpdate

      Hi Group,

       

      I'm new to Control-M and I have a question to clarify.

       

      In conditiions, we  can have an out condition with - sign for every in condition.

       

      What is the reason for it.In which situations we follow this approach?

       

       

      Thanks

      Naresh

        • 1. Re: conditions
          Swati B

          In control-m there are In and out prerequisite conditions for creating dependency between different jobs/tables.

          out condition is post-processing parameters,which can be added(+) or removed(-) to environment when the job ends.

          And Out condition with  - sign is to delete condition if no more useful in active environment.

          • 2. Re: conditions
            vnr NameToUpdate

            Hi star

             

            Thanks for your reply.

            I'm asking about an in condition which can be placed in out conditions with sign.

            In which scenarios we follow this approach.?

            • 3. Re: conditions
              Swati B

              Hi,

              The scenarios in which if your "out condition" is no longer useful for further jobs, you can set "Effect = -".

              For example, if there are some jobs and JobA has out condition, "JobA-Ended ODAT -" means after execution of JobA, the condition will not be added to active environment ( check Tools -> PreReq Conditions -> Date ), If  you need not that condition to trigger any other job or for post processing, so you can end its effect as above, or still the next job needs same condition (JobA-  Ended with reference of date ) you can add by doing "Why" and add missing condition.

              • 4. Re: conditions
                manjunath NameToUpdate

                Hi Naresh,

                 

                You need to understand what is Prerequisite conditions.

                When a job ends with an out condition(+), means the out condition is stored in the "Prerequisite Conditions".

                Any job, is it has an "in-condition" will always look @ the prerequisite conditions. once the matching condition arrives there, the job will fetch the condition & start execution. 

                 

                 

                If my explaination is confusing, Just try creating a dummy cyclic job stream without ( - )ing the "in-conditions".

                you'll get to know what happens to the second run of the stream.

                • 5. Re: conditions
                  Mario Pedrozo

                  Hi Naresh,  Example: If you have two jobs A and B. The job B is dependent on the successful completion of the job A, for which it needs in the following condition: Joba-to-Jobb (+). Suppose you want to rerun the job B . If the job has no B-contidions out JobA-to-JobB (-), the job B will be running without waiting for the completion of a new execution of the job A, so it would be a mistake. That would be a scenario, it is therefore recommended to always put out with minus-conditions to the condition in which the job is waiting to run..   Regards,  Mario