BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SDV
Obsidian | Level 7 SDV
Obsidian | Level 7

I looked in the help for EG 7.1 that lists the keyboard shortcuts but could not find one for saving my program to an external file (not the project) via a key sequence.  I was told that Ctrl-Shift-S would do it, but it doesn't work for me.  Is there a short-cut sequence for this?

1 ACCEPTED SOLUTION

Accepted Solutions
CaseySmith
SAS Employee

New programs start as "embedded" programs (they are stored in the EG project).  Embedded programs aren't saved independent of the EG project, so when you "save" an embedded program (Ctrl+S) you're really saving the EG project.  You can convert an embedded program to an externally referenced program (.sas file) by doing a Save As on the program (ex. File->Save Program As... (Alt+F, E) or Save->Save As on the program toolbar).  At that point, it is an externally referenced program -- the code is physically saved in the external .sas file instead of embedded within the EG project.  Externally referenced programs should be able to be saved via Ctrl+Shift+S (I confirmed it works for me in EG 7.1).  If Ctrl+Shift+S isn't working for you, you should be able to use the menu mnemonics (Alt+F, V) to accomplish.  (If Ctrl+Shift+S isn't working for you, perhaps another application is capturing it.)


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

View solution in original post

2 REPLIES 2
CaseySmith
SAS Employee

New programs start as "embedded" programs (they are stored in the EG project).  Embedded programs aren't saved independent of the EG project, so when you "save" an embedded program (Ctrl+S) you're really saving the EG project.  You can convert an embedded program to an externally referenced program (.sas file) by doing a Save As on the program (ex. File->Save Program As... (Alt+F, E) or Save->Save As on the program toolbar).  At that point, it is an externally referenced program -- the code is physically saved in the external .sas file instead of embedded within the EG project.  Externally referenced programs should be able to be saved via Ctrl+Shift+S (I confirmed it works for me in EG 7.1).  If Ctrl+Shift+S isn't working for you, you should be able to use the menu mnemonics (Alt+F, V) to accomplish.  (If Ctrl+Shift+S isn't working for you, perhaps another application is capturing it.)


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

SDV
Obsidian | Level 7 SDV
Obsidian | Level 7

Awesome information!

My program had not been saved outside of the project yet.  That was the issue.

Thanks Casey!

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2725 views
  • 1 like
  • 2 in conversation