You
might need to know when user-defined formats or formats that SAS supplies
were published. SAS supplies two special formats that return a datetime
value that indicates when this occurred.
-
The INTRINSIC-CRDATE format returns
a datetime value that indicates when the SAS formats library was published.
-
The UFMT-CRDATE format returns a datetime
value that indicates when the user-defined formats were published.
Note: You must use the SQL pass-through
facility to return the datetime value associated with the INTRINSIC-CRDATE
and UFMT-CRDATE formats, as illustrated in this example:
proc sql noerrorstop;
connect to
&tera (
&connopt);
title 'Publish date of SAS Format Library';
select * from connection to
&tera
(
select sas_put(1, 'intrinsic-crdate.')
as sas_fmts_datetime;
);
title 'Publish date of user-defined formats';
select * from connection to
&tera
(
select sas_put(1, 'ufmt-crdate.')
as my_formats_datetime;
);
disconnect from teradata;
quit;