0% found this document useful (0 votes)
894 views6 pages

Autosys

The document provides instructions for exercises using AutoSys software. It outlines 12 commands to execute in PuTTY to interact with and manage jobs in the AutoSys system, including starting, stopping, viewing status and logs of jobs. It also describes the Job Information Language (JIL) used to define jobs, and lists various JIL commands, attributes and job types.

Uploaded by

ravidwhw
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
894 views6 pages

Autosys

The document provides instructions for exercises using AutoSys software. It outlines 12 commands to execute in PuTTY to interact with and manage jobs in the AutoSys system, including starting, stopping, viewing status and logs of jobs. It also describes the Job Information Language (JIL) used to define jobs, and lists various JIL commands, attributes and job types.

Uploaded by

ravidwhw
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

AutoSys Exercise AutoSys: AutoSys is scheduling and operations automation software for distributed computing environments.

Exercise Steps: 1. Launch PuTTY 2. Login using following credentials Login unix userid 3. Execute following command to get information about a job autorep j <job_name> To list all jobs specify ALL. The % char can be used as wildcard in jobs name. The _ char may also be used as wildcard to match exactly one character. Example: autorep j %jobname wild card% 4. Execute following command to view the query report of a job autorep j <job_name> -q Example: autorep j jobname-q 5. Execute following command Adds, deletes, and prints custom calendar definitions. autocal_asc Example: autocal_asc 6. Execute following command to view the current status of a job autostatus j <job_name> Example: autostatus j jobname 7. Execute following command to display the Event Processor and Remote agent log files autosyslog e | j <job_name> Example: autosyslog e Press <Control +C> to terminate 8. Execute following command to start a job sendevent -E FORCE_STARTJOB -J <job_name> OR

Page 1 of 6

AutoSys Exercise

fsj <job_name> 9. Execute following command to kill a job sendevent -E KILLJOB -J <job_name> 10. Execute following command to Inactivate a job sendevent -E CHANGE_STATUS -s INACTIVE -J <job_name> 11. Execute following command to put a job on HOLD sendevent -E JOB_ON_HOLD -J <job_name> 12. Execute following command to put a job OFF HOLD sendevent -E JOB_OFF_HOLD -J <job_name> 13. Execute following command to forcefully success a job sendevent -E CHANGE_STATUS s SUCCESS -J <job_name>

Page 2 of 6

AutoSys Exercise

JIL (Job Information Language) Scripts


JIL is a specification language, with its own syntax, that is used to describe when, where, and how a job should run. 1. Creating a new job of one of the following types: command job, box job, or file watcher job. insert_job: job_name NOTE: Job_name can be from 1-30 alphanumeric chars long For command jobs, the following attribute values are required: insert_job: job_name command: value machine: value For box jobs, the following attributes are required: insert_job: job_name job_type: value For file watcher jobs, the following attributes are required: insert_job: job_name job_type: value machine: value watch_file: value NOTE: The default job_type is command job (if not specified). Example 1: Creating a command job insert_job: time_stamp machine: tibet command: time_stamp.sh Example 2: Creating a box job insert_job: end_of_day job_type: b Example 3: Creating a file watcher job insert_job: EOD_batch_watch job_type: f machine: machname watch_file: /tmp/EOD_batch 2. Other JIL commands, sub-commands, attributes etc Owner : Dataconditions: Run_calendar: Start_times: Watch_interval: 3. Running a job: sendevent -E STARTJOB -J job_name command to start a job

Page 3 of 6

AutoSys Exercise

JIL Commands & Attributes


alarm_if_fail auto_delete auto_hold avg_runtime (JIL only) box_failure box_name box_success box_terminator chk_files command condition date_conditions days_of_week delete_box delete_job description exclude_calendar heartbeat_interval insert_job job_load job_name (GUI only) job_terminator job_type machine max_exit_success max_run_alarm min_run_alarm n_retrys override_job owner permission priority profile run_calendar run_window start_mins start_times std_err_file std_in_file std_out_file term_run_time timezone update_job watch_file watch_file_min_size watch_interval

Page 4 of 6

AutoSys Exercise

List of AutoSys Commands


1

This section lists which AutoSys commands to use for specific tasks. Turn to the listed page number for a full description of the command. Task Command Page Accessing Sybase xql Checking System Status autoflags autoping autosyslog chase chk_auto_up Converting cron to JIL cron2jil Defining AutoSys Jobs or Machines jil autocal_asc Defining Calendars autocal autocal_asc Installing and Managing License Keys gatekeeper Maintaining Databases archive_events clean_files dbstatistics Managing Security autosys_secure Monitoring Jobs autocons Recording Sounds record_sounds Reporting Job Dependencies and Conditions job_depends Reporting Job Status autorep autostatus monbro Starting AutoSys eventor Stopping AutoSys sendevent

Page 5 of 6

AutoSys Exercise

Appendix

Page 6 of 6

You might also like