CA::AutoSys is a Perl interface to CA's AutoSys job control.
SYNOPSIS
use CA::AutoSys;
my $hdl = CA::AutoSys->new( [OPT] ) ;
my $jobs = $hdl->find_jobs($jobname) ;
while (my $job = $jobs->next_job()) {
:
}
my $status = $job->get_status() ;
my $children = $job->find_children() ;
while (my $child = $children->next_child()) {
:
}
CLASS METHODS
new()
my $hdl = CA::AutoSys->new( [OPT] ) ;
Creates a new CA::AutoSys object.
Below is a list of valid options:
dsn
Specify the DSN of the AutoSys' database server to connect to. If nothing is specified, Sybase will be assumed: dbi:Sybase:server= With this option you should be able to connect to databases other than Sybase.
server
Specify the AutoSys' database server to connect to. Either this option or the dsn option above must be given. Please note, that when specifying this server option, a Sybase database backend is assumed.
user
Specify the database user. With an out-of-the-box AutoSys installation, the default user should work.
password
Specify the database password. With an out-of-the-box AutoSys installation, the default password should work.
Example:
my $hdl = CA::AutoSys->new(server => "AUTOSYS_DEV");
Requirements:
- Perl
Comments not found