Obtaining VMS c program compile date/time
Posted on 1998-02-06
Is there a way to get the compile date and time from a VMS executable image (such as that displayed when performing an ANALYZE/IMAGE or ANALYZE/OBJECT), and use it in a printf() from within the program ? I know I could probably use a /DEFINE on the cc command line to define a date, but if there is an offset defined in SYS.STB or a header file somewhere that would point to where this information is stored in the executable image file itself, I would prefer to use that. Thanks!