Some tidy up.
OpenVMS implementation of the asprintf function.
The beginnings of the common error fetching and reporting code.