http://qs1969.pair.com?node_id=577777

ranjan_jajodia has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I was wondering if someone has written a Perl api to Autosys. I have searched CPAN, Computer Assoiciates website and of course Perl Monks but did not find anything.
For normal purposes the Autosys command line commands are fine; but for a bit complicated stuff like getting the entire dependency tree of job or getting the point of failure there isn't much in Computer Assoiciates' offering. I am think about writing a utility for such things.Is there already a module for autosys which will make my task easier?
Regards,
Ranjan

Replies are listed 'Best First'.
Re: Perl API to Autosys
by borisz (Canon) on Oct 12, 2006 at 09:44 UTC
    What is autosys? Google showed this to me. But I can not see any sense in a perl API there for ;-) www.autosys.ch
    Boris
      Hi Boris,
      Autosys is Job Scheduling software (like cron) developed by Computer Associates. It has features like setting dependencies of jobs on other jobs, executing them at different machines.
      Regards,
      Ranjan
        There is definately Autosys.pm on CPAN
Re: Perl API to Autosys
by runrig (Abbot) on Apr 11, 2008 at 16:26 UTC
    I wrote something, but right now it has company specific stuff wrapped up in it. If I can remove the proprietary bits, then maybe I can post it. It's all just a wrapper around the autorep and job_depends commands (and a jil parser), but it also does things like compares two insert_job commands, and generates an update_job command from that (that's what it started out as), as well as finding job dependencies and job status (and I wrote a utility to drill down the job dependencies).

    Update: It's posted

      is it possible for you to separate the script that can drill down the autosys dependencies up and down?
      is it possible for you to separate the script that can drill down up and down dependencies of a job?

        is it possible for you to separate the script that can drill down up and down dependencies of a job?

        There is no script, CA::AutoSys::Jil module is a module, an ... but sure anything is possible