Can i see a job's sysout after new date?

Tools and several solutions to manage Control-M products
Post Reply
User avatar
eche1984
Nouveau
Nouveau
Posts: 44
Joined: 28 Apr 2009 12:00
Location: Buenos Aires, Argentina

Can i see a job's sysout after new date?

Post by eche1984 » 03 Sep 2009 4:33

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

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

Post by philmalmaison » 03 Sep 2009 4:47

the sysout clean depend of 2 possible event :
first the parameters of your controlm server abaout sysout retain
second the possible scripts using the ctm_agcln wich is submit to cleanup agents sysout.

regards
philmalmaison

User avatar
markf
Nouveau
Nouveau
Posts: 134
Joined: 13 Jul 2006 12:00
Location: Switzerland
Contact:

Post by markf » 03 Sep 2009 4:51

Or (if you know which job you are interested in) simply hold the job over the New Day period.

User avatar
th_alejandro
Nouveau
Nouveau
Posts: 188
Joined: 26 Nov 2008 12:00
Location: Bogotá

Open archive view points

Post by th_alejandro » 03 Sep 2009 9:28

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.

User avatar
eche1984
Nouveau
Nouveau
Posts: 44
Joined: 28 Apr 2009 12:00
Location: Buenos Aires, Argentina

Post by eche1984 » 03 Sep 2009 9:39

Thanks, people.

I changed the sysout retain and i hope not to ask for this again.

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

Post by philmalmaison » 04 Sep 2009 2:36

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
8) 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

User avatar
Deano
Nouveau
Nouveau
Posts: 42
Joined: 03 Jul 2006 12:00
Location: London´

Post by Deano » 15 Sep 2009 2:54

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

Post Reply