Sponsored Content
Full Discussion: One Autosys Problem
Top Forums UNIX for Advanced & Expert Users One Autosys Problem Post 302403031 by whn_chips_r_dwn on Thursday 11th of March 2010 08:46:51 AM
Old 03-11-2010
when you will run the below command to check the Date Cond? field you will see the the date condition for the job has been met..

job_depends -c -J

now either you have to do update_job or put in on-hold and off-hold again..


thats how autosys works
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Documentation and books on Autosys Job Control Tool from Autosys

My project uses Autosys. I am new to this product and I don't know where to start from. Q1. Please provide me the link where I can get Autosys documentation Q2. Please refer a good book on Autosys. (Beginner/Intermediate Level) (0 Replies)
Discussion started by: gram77
0 Replies

2. UNIX for Advanced & Expert Users

A problem in autosys-- very urgent

Hi , I have 5 jobs in autosys which are dependant on one another oen by one.say job1,job2.. job5. job 1 is a filewatcher.job2 to job5 are command jobs.First the filewatcher starts as when a file which it is looking for arrives.based on this job rest of the sequence starts.after the job5 is... (0 Replies)
Discussion started by: mohanpadamata
0 Replies

3. Shell Programming and Scripting

Autosys

Hi, I want to schedule some jobs in Unix.I am searching for some options to do this?I know about crontab and at command. Can anyone provide me some information about 'Autosys' and some of the implementation techniques/reference like the cron entries? With Regards Dileep Pattayath (1 Reply)
Discussion started by: DILEEP410
1 Replies

4. UNIX for Advanced & Expert Users

Help me in Autosys

I have installed CA::Autosys my pc. It is in /usr/lib/perl5/site_perl/5.8.8/CA/AutoSys/AutoSys.pm . I have Sybase Installed. Kindly help to how to connect autosys to database.. Also how do I create users in Autosys.. Please guide me.. Thank You.. (1 Reply)
Discussion started by: bhuvaneshlal
1 Replies

5. Shell Programming and Scripting

problem with profile-autosys

Hi All, I have trying to schedule an autosys job and it is failing. The shutdown script runs fine by itself from the UNIX box but fails when i try to schedule it through autosys. I have compared user.env with auto.env (variables obtained through an autosys script) and updated my profile... (1 Reply)
Discussion started by: userscript
1 Replies

6. Shell Programming and Scripting

Autosys Help!

I am not sure why my output keeps going to my std_out_file!! Here's my JIL: insert_job: test_autosys job_type: c command: $SCRIPT_DIR/test machine: abcde owner: bob@abcde permission: gx,wx date_conditions: 1 days_of_week: mo, tu, we, th, fr start_times: "8:00, 9:00, 10:00, 11:00,... (4 Replies)
Discussion started by: arex876
4 Replies

7. Shell Programming and Scripting

Help on Autosys

Hi, I need to schedule a script to run at 12:00 on first day of every month. I don't know how to set it. Like days_of_week, do we have days_of_month where we can put 1? Thanks, Siba (5 Replies)
Discussion started by: siba.s.nayak
5 Replies

8. UNIX for Dummies Questions & Answers

Autosys: How to change a machine name in Autosys JIL.

All the autosys jobs are on server-1 and server-1 has been crashed due to some reason, Now I have to run 5 autosys jobs on server-2 (failover server) which are on server 1. How to do with Autosys command (which command needs to fired on JIL) (0 Replies)
Discussion started by: tp2115
0 Replies

9. Shell Programming and Scripting

Help regarding Autosys

Can you please help me out in retaining history for last 3 executions in Autosys (4 Replies)
Discussion started by: Olivia
4 Replies

10. UNIX for Advanced & Expert Users

AutoSys

From where i can get complete Ref. pdf of AutoSys r11.3 any one got idea ? I cant find good document for that (2 Replies)
Discussion started by: ujjwal2120
2 Replies
drmaa_jobcontrol(3)					       Sun Grid Engine DRMAA					       drmaa_jobcontrol(3)

NAME
drmaa_job_ps, drmaa_control, - Monitor and control jobs SYNOPSIS
#include "drmaa.h" int drmaa_job_ps( const char *job_id, int *remote_ps, char *error_diagnosis, size_t error_diag_len ); int drmaa_control( const char *jobid, int action, char *error_diagnosis, size_t error_diag_len ); DESCRIPTION
The drmaa_job_ps() function returns the status of the Sun Grid Engine job job_id into the integer pointed to by remote_ps. Possible return values are DRMAA_PS_UNDETERMINED job status cannot be determined DRMAA_PS_QUEUED_ACTIVE job is queued and active DRMAA_PS_SYSTEM_ON_HOLD job is queued and in system hold DRMAA_PS_USER_ON_HOLD job is queued and in user hold DRMAA_PS_USER_SYSTEM_ON_HOLD job is queued and in user and system hold DRMAA_PS_RUNNING job is running DRMAA_PS_SYSTEM_SUSPENDED job is system suspended DRMAA_PS_USER_SUSPENDED job is user suspended DRMAA_PS_DONE job finished normally DRMAA_PS_FAILED job finished, but failed Jobs' user hold and user suspend states can be controlled via drmaa_control(3). For affecting system hold and system suspend states the appropriate Sun Grid Engine interfaces must be used. drmaa_control() The drmaa_control() function applies control operations on Sun Grid Engine jobs. jobid may contain either an Sun Grid Engine jobid or `DRMAA_JOB_IDS_SESSION_ALL' to refer to all jobs submitted during the DRMAA session opened using drmaa_init(3). Legal values for action and their meanings are: DRMAA_CONTROL_SUSPEND suspend the job DRMAA_CONTROL_RESUME resume the job, DRMAA_CONTROL_HOLD put the job on-hold DRMAA_CONTROL_RELEASE release the hold on the job DRMAA_CONTROL_TERMINATE kill the job The DRMAA suspend/resume operations are equivalent to the use of `-sj <jobid>' and `-usj <jobid>' options with Sun Grid Engine qmod(1). The DRMAA hold/release operations are equivalent to the use of Sun Grid Engine qhold(1) and qrls(1). The DRMAA terminate operation is equivalent to the use of Sun Grid Engine qdel(1). Only user hold and user suspend can be controlled via drmaa_control(3). For affecting system hold and system suspend states the appropriate Sun Grid Engine interfaces must be used. ENVIRONMENTAL VARIABLES
SGE_ROOT Specifies the location of the Sun Grid Engine standard configuration files. SGE_CELL If set, specifies the default Sun Grid Engine cell to be used. To address a Sun Grid Engine cell Sun Grid Engine uses (in the order of precedence): The name of the cell specified in the environment variable SGE_CELL, if it is set. The name of the default cell, i.e. default. SGE_DEBUG_LEVEL If set, specifies that debug information should be written to stderr. In addition the level of detail in which debug infor- mation is generated is defined. SGE_QMASTER_PORT If set, specifies the tcp port on which sge_qmaster(8) is expected to listen for communication requests. Most installations will use a services map entry instead to define that port. RETURN VALUES
Upon successful completion, drmaa_job_ps(), and drmaa_control() return DRMAA_ERRNO_SUCCESS. Other values indicate an error. Up to error_diag_len characters of error related diagnosis information is then provided in the buffer, error_diagnosis. ERRORS
The drmaa_job_ps(), and drmaa_control() will fail if: DRMAA_ERRNO_INTERNAL_ERROR Unexpected or internal DRMAA error, like system call failure, etc. DRMAA_ERRNO_DRM_COMMUNICATION_FAILURE Could not contact DRM system for this request. DRMAA_ERRNO_AUTH_FAILURE The specified request was not processed successfully due to authorization failure. DRMAA_ERRNO_INVALID_ARGUMENT The input value for an argument is invalid. DRMAA_ERRNO_NO_ACTIVE_SESSION Failed because there is no active session. DRMAA_ERRNO_NO_MEMORY Failed allocating memory. DRMAA_ERRNO_INVALID_JOB The specified job does not exist. The drmaa_control() will fail if: DRMAA_ERRNO_RESUME_INCONSISTENT_STATE The job is not suspended. The resume request will not be processed. DRMAA_ERRNO_SUSPEND_INCONSISTENT_STATE The job is not running and thus cannot be suspended. DRMAA_ERRNO_HOLD_INCONSISTENT_STATE The job cannot be moved to a hold state. DRMAA_ERRNO_RELEASE_INCONSISTENT_STATE The job is not in a hold state. SEE ALSO
drmaa_submit(3)and drmaa_wait(3). SGE 6.2u5 $Date$ drmaa_jobcontrol(3)
All times are GMT -4. The time now is 04:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy