The first step to dealing with an error is trapping it. Once you set an error trap, it will remain enabled until one of two things occur:

1. The procedure ends; or

2. The error trap is disabled