Nothing happens when we execute our program

Document ID : KB000039442
Last Modified Date : 14/02/2018
Show Technical Document Details

ISSUE:

On some windows 2003 servers with 11.3 SP2 agents, we have some programs which are launched successfully via autosys but nothing happens on the machine where they are supposed to run on.

When you check the related process on the agent machine, it is there.

The same program executed on the command line works fine.

 

Resolution: 

The solution is to set the following parameters in the “agentparm.txt” file of the Agent : 

oscomponent.interactive=true 

oscomponent.su.newconsole=true 

oscomponent.cmdprefix.force=true 

oscomponent.cmdprefix.force.redir.inline=true 

oscomponent.cmdprefix.force.redir.ifstdon=true 

oscomponent.interactive.session.ignoreinactive=true 

 

In the particular case of this application we needed to set: 

 

oscomponent.interactive.sessionzero=false 

 

These recommendations assume or rely on a couple of very specific conditions related to the way this application is used: 

 

1) A specific user will only be logged onto the machine at most once at a time. 

 

2) The user's session may be 'active' or 'disconnected', but it will exist. 

 

Then restart the Agent for the modification to be taken into account.