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
1
vote
2 answers

How to create Global Variable in Autosys?

Do I need to create global variable before I can run the Autosys job below? If so how do i create one? I inherited some legacy code from someone and now I'm pulling my hair trying to figure out how to do that. insert_job: AUTOSYS_TEST_VARIABLE …
user4900074
  • 1,695
  • 4
  • 18
  • 24
1
vote
1 answer

Append date and time to the std_out_file in jil

I have a job in Autosys. I want new log file to be created for its every run. Hence, I want to append date and time to the logfile name I am giving in std_out_file. Is there any way to do this other than creating a global variable and then updating…
ellen
  • 21
  • 7
1
vote
1 answer

Getting while creating job in autosys

I am very new to Autosys. I want to create a new application and then add some jobs for the application in autosys. I have taken the following steps till now: installed agent on the machine created jil for machine. autoping success. Create three…
ellen
  • 21
  • 7
1
vote
1 answer

How to schedule a Autosys job that should run daily once and daily thrice during month end?

Is there a way an Autosys Job should run Daily once and during last week of the month and first week of new month it should run 3 times a day?
Avinash
  • 11
  • 2
1
vote
2 answers

how to trigger AutoSys insert_job and sendevent stored in jil file in one shot?

I'm very new to AutoSys jobs and I have following commands stored in single jil file. let's call it, test.jil. insert_job: job_A command: echo 'mock' description : mock job A sendevent -E JOB_ON_ICE -J job_A I'm trying to run jil < test.jil. it…
user4900074
  • 1,695
  • 4
  • 18
  • 24
1
vote
1 answer

Autosys job not executing linux command properly

I have a command job on autosys that should execute a bash script to rename several files in a specific directory. My script has this: for x in /opt/testing/fileToRename*.xls; do mv "$x" "newName.csv"; done When I run the script directly from the…
Gaudy Blanco
  • 41
  • 1
  • 4
1
vote
0 answers

How to use Powershell Remoting to pass credentials?

The script below is executed (under a service account, DOMAIN\SVC123) from AutoSys (SERVER001). It executes an SSIS package (on SERVER002) which is intended to log and read files on SERVER003. However, I receive an ACCESS DENIED error once it tries…
What-About-Bob
  • 649
  • 5
  • 13
1
vote
2 answers

How can I queue multiple jobs, but limit it to run 5 at a time, using Bash

I have an text file that holds a list of jobs to process. It could process them all at once, but it overloads computer resources and some jobs fail. It could also process one line at a time, but the overall processing time is too long. My customer…
Emile
  • 185
  • 1
  • 9
1
vote
3 answers

get all recent job failures in Autosys

What's a command to list all recent failures in Autosys? I was thinking of autorep -d -J ALL followed by some kind of grep, but the autorep report comes in paragraphs, with the job name and the status in separate lines, so I need to write a custom…
Narveson
  • 1,091
  • 1
  • 9
  • 15
1
vote
1 answer

Autosys job to start after another job with any status

I need to run job after another job with whatever status the previous job finished. So far I use condition: success(x) or failure(x) can it be written for any status? I dont know the exact version of the autosys. But not the very latest.
Boppity Bop
  • 9,613
  • 13
  • 72
  • 151
1
vote
2 answers

How to rerun terminated autosys jobs?

I want to run several autosys jobs in such a case, if it's running more than 30 min, terminate it and automatically rerun it. I tried the followlling jil: n_retrys:3 term_run_time:30 But this jil only terminates the job after 30 min, no post rerun.…
Pythoner
  • 5,265
  • 5
  • 33
  • 49
1
vote
2 answers

Date for the next run of the job in Autosys

I have a job which runs on business days (MON-FRI). I need the date for the next run of the job. so Suppose if Job is running on Monday I need date of Tuesday or if Job is running on Friday I need date of Monday.
Kill The Code
  • 11
  • 1
  • 3
1
vote
1 answer

Challenge in setting up the script which connects to multiple servers as an autosys job

The purpose of the script is to login to multiple servers and execute the df -k command and to send out email containing the list similar like below : Thu Nov 3 12:59:49 EDT 2016 Running out of space "/opt (80%)" on (a******001s02) Running out of…
1
vote
1 answer

Shell script for hourly run to pull data if exists

I am trying to optimize our batch process to pull and insert data into a database. Currently, we have a data source that we pull our data from, create a text file, and load into our reporting database. We have that on a time schedule in Autosys,…
1
vote
2 answers

How to query job information in CA workload automation AE (autosys)?

I come to a new company, and it uses CA workload automation AE (also known as autosys) to run jobs, but there are no documentations about the configuration. And my first step is to find out how many jobs running on the server, on which subject every…
Jason
  • 73
  • 2
  • 17