What is CA::AutoSys FOR LINUX?


CA::AutoSys


CA::AutoSys is a handy Perl interface for managing CA's AutoSys job control. If you're looking to streamline your job management, this tool can really help!



Getting Started with CA::AutoSys


To kick things off, you'll want to use the software like this:


use CA::AutoSys;

Now you can create a new handle:


my $hdl = CA::AutoSys->new([OPT]);

This piece of code sets up your new AutoSys object. Pretty simple, right?



Finding Jobs


If you need to find some jobs, just call:


my $jobs = $hdl->find_jobs($jobname);

This will get you a list of jobs based on the name you provide. Then you can loop through them like so:


while (my $job = $jobs->next_job()) {
# do something with each job
}


Checking Job Status


You might want to check on the status of a job too. You can do that with:


my $status = $job->get_status();

If there are any child jobs linked to it, you can find those as well:


my $children = $job->find_children();
while (my $child = $children->next_child()) {
# do something with each child job
}


Creating a New Object


The new() method lets you create a new instance of CA::AutoSys.


You’ll need some options when doing that. Here’s what you should know:



  • dson: This lets you specify the DSN for connecting to AutoSys' database server. If left blank, it defaults to Sybase.

  • server: Use this if you're connecting directly to the database server.

  • user: Enter your database username; usually, the default works fine.

  • password: Same as above for the password.


An example would look like this:


my $hdl = CA::AutoSys->new(server => "AUTOSYS_DEV");


Your Next Steps!


If you're excited about trying out CA::AutoSys and want more details or downloads, check out this link: Your download here!.


How Download Works

Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!

SoftPas Safety Info
SoftPas

SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.

Recent

Help

Subscribe to newsletter


© Copyright 2024, SoftPas, All Rights Reserved.