What Parameters on the Server determine the number of days PREREQUISITE conditions are retained for?
We are on Server 6.4 and here are the settings I have:
CONTROL-M System Parameters (Page 2/2)
--------------------------------------
6) Maximum Days Retained by CONTROL-M Log :1
7) Maximum Days to Retain Sysout Files :7
Ignore New Day Conditions :N
I was checking our jobs and do not see a consistent retention of Prereq conditions. Some jobs that Run Daily have conditions retained for 5 days, some daily jobs have 7 and so on. I am sure no one is deleting any conditions.
Retention of Pre-requisite conditions
Hi, there is no setting in sys parameter for deleting prerequisite conditon but you can setup a Job in ctm to delete old condition please see the command below...
ctmcontb -DELETEFROM "*" %%FROMDATE %%TODATE
also on the set tab you have to pass the parameter this is what we use to delete anything older than 5 days:
Var Name: A Value %%CALCDATE %%DATE -10
Var Name: B Value %%CALCDATE %%DATE -5
Var Name: FROMDATE Value %%SUBSTR %%A 3 4
Var Name: TODATE Value %%SUBSTR %%B 3 4
ctmcontb -DELETEFROM "*" %%FROMDATE %%TODATE
also on the set tab you have to pass the parameter this is what we use to delete anything older than 5 days:
Var Name: A Value %%CALCDATE %%DATE -10
Var Name: B Value %%CALCDATE %%DATE -5
Var Name: FROMDATE Value %%SUBSTR %%A 3 4
Var Name: TODATE Value %%SUBSTR %%B 3 4
- gratedsandy
- Nouveau
- Posts: 37
- Joined: 14 Mar 2007 12:00
If no housekeeping is performed on conditions, they will remain in the database for one year. This is determined by the ODAT which is DDMM (or MMDD). They will only be removed at the start of newday for the ODAT.
If your conditions file get very large you may suffer performance issues, so it is highly recomended you create a tidy up job as mentioned previously.
Graham
If your conditions file get very large you may suffer performance issues, so it is highly recomended you create a tidy up job as mentioned previously.
Graham
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
- gratedsandy
- Nouveau
- Posts: 37
- Joined: 14 Mar 2007 12:00