truck starts missing when check engine light comes on on 1992 Dodge Dakota

just when light comes on

Asked by for the 1992 Dodge Dakota
I think you may find how to retrieve codes stored in the computer of your Dodge at this link
If the Check Engine light comes on the computer in your truck sees a problem and stores it in the computer on board your car. The system is not as advanced as newer vehicles and only looks for open or shorted sensors.