4 Replies Latest reply on Oct 15, 2014 4:12 PM by Paul Robins

    Creating variables to pass from batch job to batch job

      Share:|

      Hi,

       

      First time user! So be nice, lol!

       

      I have seen many answers to this similar scenario done by scripting. Is there a way to capture the filename that changes (timestamp) and turn it into a variable the next job would use as input? I am looking for a batch job solution if possible leveraging "ctmfw" then DO SETVAR upon successful completion. Then I have a SOA job that will use this variable.

       

      JOB1 - creates file.

      JOB2 - ctmfw detects file, creates a variable with the path/filename (Variable can be global or written to Table whatever makes sense).

      JOB3 - SOA job that will use the variable

       

      Thanks,

      Ken Ski

      Control-M Version 8