Autosys v4.5 64 Character Job ID Max Length

I’ve been working on a project where the goal is to convert a system that uses a UNIX cron based scheduling model to one that uses the Autosys enterprise class scheduling system.? Autosys makes this task a little easier (but not painful) since it includes a utility called cron2jil as part of the Autosys package. One part of the project requirements was to attempt to keep as much of the absolute path to the actual command being executed in the job ID name as possible.

According to the Autosys v.4.5 User Manual, its states:

The job name is used to identify the job, and must be unique. It can be from 1 to
30 alphanumeric characters, and is terminated with white space. Embedded
blanks and tabs are illegal. Command, file watcher, and box jobs cannot use the
same name.

To test this theory, I decided to create an Autosys job which purposely had over 100 characters in the job ID name, specifically 108.

$ echo abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz | wc -m

$ cat /tmp/job_length_test.jil
/* ----------------- abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz? ----------------- */

insert_job: abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz??? job_type: c
command: /usr/bin/true
machine: example
owner: [email protected]
permission: gx,ge,wx
date_conditions: 1
days_of_week: all
start_times: "13:00"
alarm_if_fail: 1

$ jil < /tmp/job_length_test.jil
Job Name: abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz
is longer than 64 characters. It will be truncated.

Insert/Updating Job: abcdefghijklmnopqrstuvwxyz_abcdefghijklmnopqrstuvwxyz_abcdefghij

Scheduled: 01/15/2009? 15:25:00

Database Change WAS Successful!


Exit Code = 0

As you can see, the scheduler will allow you to insert an Autosys command job with a job ID length of over 30 characters.? Looks like the maximum limit is in fact 64 characters on the version of Autosys that I’m using.? The actual inserted job is a truncated value of the original 108 character job ID name.

About this entry