script commands on sysout

Post Reply
User avatar
fileal2
Nouveau
Nouveau
Posts: 32
Joined: 25 Sep 2008 12:00

script commands on sysout

Post by fileal2 » 13 Oct 2010 6:57

Hi,

CTM EM, Server and Agents 6.4.01 with the latest fix packs here... Unix agents.

I would like to know how to make the script commands not appear on the sysout of the jobs. I've already changed the "-x" shell parameters on the properties of the agents to "n" but the commands still appear on the sysouts with plus signs before the command ("+").

Is there any other parameter to change that I'm missing?

Thx in advance..

User avatar
Jean-Mi
Nouveau
Nouveau
Posts: 19
Joined: 08 Sep 2006 12:00
Contact:

Post by Jean-Mi » 14 Oct 2010 12:20

Hi,

If you would like to suppress the script commands in the sysout, you can use the "set +x" command in your script.

But, if you do that, you can't use the "Step Code Stmt = * Code = *WordToFind* in your job

Regards

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 15 Oct 2010 3:46

You can use the ctmunixcfg (for unix agents) to modify that to "n" value.
As a fact, tracking on stmt code need to switch in -x status in script.
So it is recommended that you parameter "n" option on the agent, and modify scripts that need on statement to switch to "-x" at the start of the controlm satement to scan and to switch to "-" after it.

Regards,
Philmalmaison

Post Reply