Hello,
Our sysout file has excessive prompt info which can make reading the output hard. Here is example:
[APWMAD0A0773] F:\Program Files\BMC Software\CONTROL-M Agent\Default>REM * New Command Line Arguments
We don't need to see the path everytime for every statement.
How can we modify or remove this?
Are there other options for modifing the sysout format?
Thanks All!!!
Sysout Format - Want to get rid of excessive prompt message.
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
Is NOT as you say:
"@echo off" stops olny the echo of commads, exactly as ctmwincfg does; so if have in the script
The output is:
----------------
echo "Have a good day"
"Have a good day"
----------------
If you have in the script:
the output is:
---------------
"Have a good day"
---------------
Consider also that there is the "echo on" command so playing with "on" and "off" you can see only some lines.
The echo off is more flexible and I advice this method because in this manner you can, only for ONE script disable the echo; very usefull for example when you debug a script...
And in control-M with the edit jcl/script action you can easily add and delete the echo.
"@echo off" stops olny the echo of commads, exactly as ctmwincfg does; so if have in the script
Code: Select all
echo "Have a good day"
----------------
echo "Have a good day"
"Have a good day"
----------------
If you have in the script:
Code: Select all
@echo off
echo "Have a good day"
---------------
"Have a good day"
---------------
Consider also that there is the "echo on" command so playing with "on" and "off" you can see only some lines.
The echo off is more flexible and I advice this method because in this manner you can, only for ONE script disable the echo; very usefull for example when you debug a script...
And in control-M with the edit jcl/script action you can easily add and delete the echo.
Last edited by mauriziog on 26 Oct 2012 6:36, edited 1 time in total.
to complete the "command echo" topic in batch:
even when the echo in on, the commad is not show if there is the "@" as first char...
so if you write
in the output is:
-----------
Ciao
-----------
and there isnt the "echo off" ....
even when the echo in on, the commad is not show if there is the "@" as first char...
so if you write
Code: Select all
@echo Ciao
-----------
Ciao
-----------
and there isnt the "echo off" ....
Still Problems with Excessive Prompt Info
I tried to do this in Configuration Manager as setting
"Echo Job Commands" to NO"
But sysout still has excessive prompt and line spaces. I thought it worked once but now is not.
Any ideas?
Thank you,
Goo
"Echo Job Commands" to NO"
But sysout still has excessive prompt and line spaces. I thought it worked once but now is not.
Any ideas?
Thank you,
Goo