The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to list the Autosys jobs thats in failure status using Shell Script supragna UNIX for Dummies Questions & Answers 5 11-12-2008 07:12 PM
How to list the Autosys jobs thats in failure status using Shell Script supragna Shell Programming and Scripting 0 06-24-2008 05:21 AM
Documentation and books on Autosys Job Control Tool from Autosys gram77 UNIX for Advanced & Expert Users 0 11-10-2007 06:24 AM
Searching Status for 2 Autosys jobs tekster757 UNIX for Dummies Questions & Answers 1 09-19-2007 09:42 AM
Failed to check status code in "rsh" command nir_s Shell Programming and Scripting 9 07-03-2006 09:05 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-09-2009
muthupus muthupus is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 1
Autosys unable to set the job to the status of FAILED

Hi

The Autosys job that call DOS batch file which in turn calls java and this java program has successful completion though there are series of exception occurred in the data it handles and want the job to be set to Fail in its autosys, how could it be done?

a.bat
{

java sample.class

}//end of a.bat

public class sample{
public static void main(String[] args) {

int a[2];

try{

a[3]=34;

}
catch(Exception e){
System.out.println("Exception occurred");
}

}// end of main method
}// end of class sample

I want to fail the Autosys job running this java program on seeing ArrayIndexOutOfBounds exception, please let me know how do I do it?

Last edited by muthupus; 10-09-2009 at 03:46 PM.. Reason: Added samples for problem described
  #2 (permalink)  
Old 4 Weeks Ago
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
If you dont mnd I will move you thread to a (hope ! ) more suitable forum...
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0