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
----------
48
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?
I think you misunderstand formats. When you see a format explained in the document they will often write:
$N8601EHw.d
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:
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003170493.htm
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.;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.