Rick,

The keep statement in the Deriv0; data step does not include the var Slope, so it won't appear in the following proc print. I added it and all the code works fine. Great example.

Jim Loughlin