Questions tagged [autosys]

CA Workload Automation AE (AutoSys Edition), known simply as AutoSys is a job scheduling and workload automation tool made by CA Technologies. Current version is R11.5. Unless you are asking a programming question about integration with the AutoSys SDK, your question is likely off-topic. Questions about the use of server management software should be directed to Server Fault.

AutoSys is job control software by CA Technologies for the scheduling and monitoring of tasks. Tasks can be defined in a GUI or a Job Information Language (JIL) file. An AutoSys SDK has been provided in recent versions for third-party Java and C++ software to interface with the system.

385 questions
14
votes
2 answers

Meaning of pending machine in autosys

Many time I have seen some of our autosys jobs go into status: Pending Machine. What is the meaning of this status? And its generally the com job and not the box job that goes into this status (box is in running status). Any idea how can this issue…
dvai
  • 1,953
  • 3
  • 13
  • 15
14
votes
7 answers

AutoSys scheduler update JIL

We use AutoSys for job scheduling, and I find myself writing a lot of JIL (job instruction language) scripts to delete boxes and re-insert them due to small job changes (e.g. start time, etc.). Is there an update command that can be used? CA's…
goric
  • 11,491
  • 7
  • 53
  • 69
11
votes
3 answers

How can I concatenate a file and string into a new file in UNIX as a one line command

I need a very simple (hopefully) 1 liner command that reads in a file appends a string and outputs to a new file, without changing the original data. file1 string ------ ------ apple oranges bananas MAGIC…
Christian
  • 503
  • 3
  • 7
  • 21
8
votes
1 answer

Autosys Permission options

As per the Autosys manual, the following permission options can be configured in the JIL file: gx,ge,wx,we,mx,me Can someone please explain what each of these options represent? I tried searching the web but could not get any help.
saravana_pc
  • 2,607
  • 11
  • 42
  • 66
6
votes
1 answer

Autosys R11 job dependency with dependent-job run-time condition

In Autosys R11, I need job_b to run only if job_a succeeded within the last X hours. Apparently, R11 allows you to "set look back dependencies on job_a to only run if job_c has ran to S within X hours." What would be the syntax? s(job_a) What would…
anomal
  • 2,249
  • 2
  • 19
  • 17
5
votes
2 answers

Using __DATA__ in a program

It is used on Stack Overflow all the time but I really don't understand it, nor can I get it to work. However it seems like a really good testing tool. How do I get the script to read in everything below __DATA__ into a file handle? I tried a few…
capser
  • 2,442
  • 5
  • 42
  • 74
5
votes
1 answer

JCS to Autosys migration

We have jobs running in JCS, and since JCS is no longer supported, we are migrating jobs in JCS to Autosys. No one in our team have any idea on how to migrate the JOBs in JCS to Autosys. Even I googled for the same but no help. Can anyone please…
NJMR
  • 1,886
  • 1
  • 27
  • 46
4
votes
1 answer

Difference between ON ICE and ON HOLD jobs in Autosys

What is the difference of putting job on hold and putting it on ice?
Mike
  • 20,010
  • 25
  • 97
  • 140
4
votes
1 answer

AutoSys Job re-run with fixed delay

I need autosys to rerun my job in case of failure N number of times with a fixed delay between re-runs, i.e. Autosys should wait for 10 minutes before re-running the job. Is this possible? Thanks
Prakash
  • 461
  • 1
  • 5
  • 21
4
votes
2 answers

Autosys JIL insert or update if exists

I'm trying to write an autosys JIL which creates the job if it doesn't exist but updates it otherwise. I would've sworn there was a command for that, like 'update_or_create' or something but I can't find it anywhere.
Maxaon3000
  • 1,109
  • 8
  • 15
3
votes
1 answer

How to move autosys job out of the box?

I have a job which runs in the box. insert_job: template job_type: c box_name: box1 . . . I want to move this job out of the box1 What change should I make in the JIL definition?
Govinda Sakhare
  • 5,009
  • 6
  • 33
  • 74
3
votes
1 answer

Why do I need "Unblock-File" even though execution policy is RemoteSigned?

I have a batch file that calls powershell script and runs it. Powershell.exe -ExecutionPolicy RemoteSigned -File %1 %1 argument is the file_name.ps1 When i run it from my local drive, the script runs fine. however, I moved the scripts to run on a…
Cataster
  • 3,081
  • 5
  • 32
  • 79
3
votes
1 answer

Autosys Command job with variable parameters

I need to implement a job chain in Autosys which at some point executes a program with a variable parameter - i.e. a filename. The filename will follow a pattern and may not be hardcoded into the "jil" file. Is there any way to pass this parameter…
ChiliTee
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

what is the difference between n(not running) and d(done) conditions in autosys?

I am aware that the done(d) condition would be TRUE when the job is in SU, TE, FA status. I would like to understand the same for n, and so the difference between n and d conditions.
user3055262
  • 405
  • 3
  • 9
  • 20
3
votes
1 answer

Running a Job from Autosys every X minutes

I am looking to run a console application triggered from Autosys every X minutes. The following commands do not seem to provide this capability start_times: Exact time each day a job will run [cannot be used with start_mins] start_mins: Minutes…
Adrian Russell
  • 3,995
  • 5
  • 25
  • 26
1
2 3
25 26