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).

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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