BookmarkSubscribeRSS Feed
kisumsam
Quartz | Level 8

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?

4 REPLIES 4
LinusH
Tourmaline | Level 20

I can't find it the documentation for 9.1.3, can you?

9.1.3 is very old, you should definitely consider upgrading!

Data never sleeps
kisumsam
Quartz | Level 8

Would love to upgrade it but whether to upgrade it is not my call unfortunately 😞

 

 

SASKiwi
PROC Star

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.

andreas_lds
Jade | Level 19

I found a problem note regarding SAS 9.1 and the iso formats, so it must have been available it that ancient release.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1938 views
  • 0 likes
  • 4 in conversation