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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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