Hello,
I got a quick question. I don't know why SAS doesn't recognize the format B8601DA8. (or B8601DA.) on my system (SAS 9.1.3). For example, I run the code below:
data test;
a = 10000;
format a b8601da8.;
b = put(a, b8601da8.);
run;
I got the following error message:
25 data test;
26 a = 10000;
27 format a b8601da.;
--------
48
28 b = put(a, b8601da.);
--------
48
ERROR 48-59: The format B8601DA was not found or could not be loaded.
I triple checked the code and I remember it worked before on the exact same system.
Are the ISO 8601 format not supported by SAS 9.1.3?
I can't find it the documentation for 9.1.3, can you?
9.1.3 is very old, you should definitely consider upgrading!
Would love to upgrade it but whether to upgrade it is not my call unfortunately 😞
I suspect this format was included in SAS 9.2 for the first time - it is in the 9.2 documentation. Time to upgrade if you want to use it. SAS 9.1.3 is over 10 years old now.
I found a problem note regarding SAS 9.1 and the iso formats, so it must have been available it that ancient release.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.