Hi, people !
I want to know if there is a way to see job's sysouts after new day is executed. Because, when the new day arrives all the executed jobs (ended OK or not) dissappear and I need to check a job sysout that has gone with its correspondig job.
Regards,
Eche
Can i see a job's sysout after new date?
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
- th_alejandro
- Nouveau
- Posts: 188
- Joined: 26 Nov 2008 12:00
- Location: Bogotá
Open archive view points
Depending on your ' control-m server sysout retain ' (in days), you can use 'Open Archive ViewPoints' in the GUI to select other days than current and check for other sysouts.
If your CTM sysout retain is 1, sorry, the sysout will be clean up every day and you can't see previous day. BMC recommend a minimum of 3 days.
If your CTM sysout retain is 1, sorry, the sysout will be clean up every day and you can't see previous day. BMC recommend a minimum of 3 days.
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
you'd find the first one using ctm_menu/parameter_customization/system parameters and shout desti. table/systemparameters/Enter command, or item number you wish to change [n]:/
CONTROL-M System Parameters (Page 2/2)
--------------------------------------
6) Maximum Days Retained by CONTROL-M Log :5
7) Maximum Days to Retain Sysout Files :5
Ignore New Day Conditions :Y
9) Secure Sockets Layer :DISABLED
p) Previous Page
s) Save and Return to Main Menu
c) Cancel
Enter command, or item number you wish to change [p]:
for the ctm_agcln use the bmc controlm server admin guide / looking for utilities in the index, you will find all controlm server utilities as :
ctmagcln -agent <agentName> [-days <sysoutRetainDays>]
exemple:
retain_sysout_ag=3
Lag=`ctm_agstat -LIST "*" | egrep -v "unavailable" | awk '{print $2}'`
for ag in ${Lag}
do
ctmagcln -agent ${ag} -days ${retain_sysout_ag}
done
some more ....?
regards
philmalmaison
CONTROL-M System Parameters (Page 2/2)
--------------------------------------
6) Maximum Days Retained by CONTROL-M Log :5
7) Maximum Days to Retain Sysout Files :5
Ignore New Day Conditions :Y
9) Secure Sockets Layer :DISABLED
p) Previous Page
s) Save and Return to Main Menu
c) Cancel
Enter command, or item number you wish to change [p]:
for the ctm_agcln use the bmc controlm server admin guide / looking for utilities in the index, you will find all controlm server utilities as :
ctmagcln -agent <agentName> [-days <sysoutRetainDays>]
exemple:
retain_sysout_ag=3
Lag=`ctm_agstat -LIST "*" | egrep -v "unavailable" | awk '{print $2}'`
for ag in ${Lag}
do
ctmagcln -agent ${ag} -days ${retain_sysout_ag}
done
some more ....?
regards
philmalmaison
Hi Guys,
Sorry to hijack this thread, but I am running 6.4 on windows and have lots of agents
I want to change the sysout retention on all of those agents, but do not want to do this one at a time through CCM.
Will the ctmagcln command be effective in this version, or is there some other way of scripting a solution?
thanks again
Deano
Sorry to hijack this thread, but I am running 6.4 on windows and have lots of agents
I want to change the sysout retention on all of those agents, but do not want to do this one at a time through CCM.
Will the ctmagcln command be effective in this version, or is there some other way of scripting a solution?
thanks again
Deano