BookmarkSubscribeRSS Feed
mnjtrana
Pyrite | Level 9

Hi All,

 

One of our client is moving from SAS 9.2(LINUX) to SAS 9.4 version on a new Linux server. The software will be upgraded by the SAS Admins along with the necessary configurations. However we would also need to migrate the SAS codes to the new server.

 

Apart from the library and new sources changes, We wanted to know if we need to do any changes to the codes. I mean i know SAS 9.4 is backward compatible, but are these things which we can change to make the code more efficient.

 

Thanks in advance.
Manjeet


Cheers from India!

Manjeet
3 REPLIES 3
Kurt_Bremser
Super User

SAS 9.4 is more picky when you combine datasets where a variable has different lengths.

data tab_a;
length date 4;
date = today();
run;

data tab_b;
date = today() + 1;
run;

data tab_c;
set
  tab_a
  tab_b
;
run;

would have given you a NOTE in 9.2, but will give you a WARNING in 9.4.

ballardw
Super User

A warning with anything using SAS Catalogs for storage, such as Formats. Make sure that you have code to recreate any of the catalogs, especially if you are going from a 32 bit 9.2 installation.

SASKiwi
PROC Star

All important SAS programs should be retested in SAS 9.4. That is the only way to ensure they work correctly. I would also recommend comparing key output SAS datasets to ensure you get the same results. PROC COMPARE can do this.

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 3 replies
  • 1101 views
  • 3 likes
  • 4 in conversation