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

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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