06-06-2016 08:29 AM
Trying to get all the datetime values into ISO format specified in the code, but gettig error.
218 data mnfst_data;
219 set mnfst_data;
220 format SASFILE_END_TIME $N8601EHw.d
ERROR 48-59: The format N8601EHW was not found or could not be loaded.
even same for other ISO formats as well.
Is there some file i need to run in my local sas system to have them loaded?
06-06-2016 08:37 AM
I think you misunderstand formats. When you see a format explained in the document they will often write:
What this means when disected is, it is a character format - from the $, name is N8601EH, the width should be specified as an integer replacing the w, the .d indicates how many decimals. For example:
Now in your example, you have not replaced "w.d" with the relevant information and n8601ehe.d is not the valid name for a format. Unless you need to specify the width, you can omit it and get the defaults:
format SASFILE_END_TIME $N8601EH.;