Sunday, March 25, 2012

Cleanup Prerequisite Conditions

To delete conditions > 3 days old and less than 10 days old.
Have a command job that executes the following command:

ctmcontb -DELETEFROM "*" %%A %%B

On the SET tab we have the following:

B %%CALCDATE %%DATE -3
A %%CALCDATE %%DATE -10
B %%SUBSTR %%B 3 4
A %%SUBSTR %%A 3 4

No comments:

Post a Comment