It is currently 11 Dec 2018 4:50


Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 17 Jan 2012 3:26 
Offline
Nouveau
Nouveau
User avatar

Joined: 17 Jan 2012 12:00
Posts: 2
Hi,

I understand that these are not acceptable, as they will result in a fork failure, and potentially not return the code back properly.

But the job will still fail, so what is the full implications of having a job that return a negative return code, e.g. -1.

Thanks,


Top
   
 Post subject:
PostPosted: 19 Jan 2012 2:26 
Offline
Nouveau
Nouveau
User avatar

Joined: 13 Jun 2007 12:00
Posts: 317
Negative result code is for Windows only. UNIX result code is always positive.

There is no side effect of having negative result code. I believe Control-M agent is evaluating the result code as UNIX style even though it is Windows. Negative value when treated as positive becomes a very big value. This prompts agent to think there is problem in launching the command, hence fork failure error message.


Top
   
 Post subject:
PostPosted: 30 Jan 2012 12:39 
Offline
Nouveau
Nouveau
User avatar

Joined: 07 Jul 2008 12:00
Posts: 23
FYI you can return a negative code on Unix aswell with a little magic and a Unix Control-M/Agent can also return negative exit codes.

Cheers


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved