# Job Step: Purge history.

## Properties

Property | Value
--- | ---
Step Name | Purge history.
Step ID | 2
Subsystem | TSQL
Command | EXEC msdb.dbo.sp_syspolicy_purge_history
Cmdexec Success Code | 0
On Success Action | Go to next step
On Fail Action | Quit the job reporting failure
Output File Name |

## Database Information

Property | Value
--- | ---
Database Name | master

## Step Last Run Information

Property | Value
--- | ---
Last Run | 06/03/2012 02:00:42
Last Run Outcome | Succeeded
Last Run Duration (hh:mm:ss) | 00:00:01
Last Run Retries | 0

## Retry Information

Property | Value
--- | ---
Retry Attempts | 0
Retry Interval |

#### See also

Job syspolicy_purge_history
List of Jobs