SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
Nietzsche
Lapis Lazuli | Level 10

I did the following code as shown in the video in the Programming 1 course and it created a .bak file replication of the excel file that I exported.

Do I need this .bak file? some sort of back up? Can I delete it or not create it in the first place?

 

Ben_in_Canberra_0-1666091527198.png

 

SAS Base Programming (2022 Dec), Preparing for SAS Advanced Programming (Cancelled).
3 REPLIES 3
Patrick
Opal | Level 21

It is a backup and you can delete it. Not sure if you can instruct SAS to not create a backup in first place.

Nietzsche
Lapis Lazuli | Level 10

Weird when I use same code and no .bak file was created for storm45.xlsx

So SAS just randomly create .bak file or is it based on some rule?

Ben_in_Canberra_0-1666092989589.png

 

SAS Base Programming (2022 Dec), Preparing for SAS Advanced Programming (Cancelled).
Nietzsche
Lapis Lazuli | Level 10

I ran the same code again few times, but this time no .bak was created

libname myxl clear;

has not effect on create of .bak file it seems.

 

Ben_in_Canberra_0-1666093243734.png

 

SAS Base Programming (2022 Dec), Preparing for SAS Advanced Programming (Cancelled).

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
  • 1763 views
  • 0 likes
  • 2 in conversation