DATA Step, Macro, Functions and more

B8601DA8. does not work on SAS 9.1.3

Reply
Contributor
Posts: 42

B8601DA8. does not work on SAS 9.1.3

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?

Super User
Posts: 5,849

Re: B8601DA8. does not work on 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!

Data never sleeps
Contributor
Posts: 42

Re: B8601DA8. does not work on SAS 9.1.3

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

 

 

Super User
Posts: 3,853

Re: B8601DA8. does not work on SAS 9.1.3

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.

Valued Guide
Posts: 515

Re: B8601DA8. does not work on SAS 9.1.3

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

Ask a Question
Discussion stats
  • 4 replies
  • 91 views
  • 0 likes
  • 4 in conversation