error correction model


Could anyone give me the code for error correction model, please? I learned, how to apply both steps in "two-stage approach", but who should these results from both steps be used? What is the final model that should be implemented?

Can anyone give me the SAS code that I could use? Any advice on how to use the both results from both steps are more than welcome.

Kindest regards,