- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello SAS Communities,
This is a strange one. I am having intermittent problems with code copying and moving to the top of my SAS System file in SAS Windowing - SOFTWARE: SAS (r) Proprietary Software 9.4 (TS1M6). I’m concerned about whether this is a bug or if it is a consequence of how I am handling the program files or some other user-error that I can avoid. There is nothing coming up in the Log re: errors or flags on this code - or any other code in the program.
Attached are screen shots of one program (3.1) just before I saved, after I reopened and showing the code in its original location (This was duplicated, not moved. It existed in both locations when the program was reopened.)
Also attached, 2 more examples of instances where this occurred. (2.3 and 4.1)
This occurred again, just today, with only one of the two programs I worked on. I can’t figure out the rhyme or reason to it, nor how to avoid this.
Thank you!
Danielle
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In the SAS for Windows environment, there are several keys mapped to various editing and submit functions. One of these is F4, which by default "recalls" the last piece of code you submitted and adds it to your editor. It was more useful before we had a stateful editor like we have today...but it still does the function.
Any chance you're tripping over that, or perhaps another keyboard shortcut that you're triggering without realizing it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In the SAS for Windows environment, there are several keys mapped to various editing and submit functions. One of these is F4, which by default "recalls" the last piece of code you submitted and adds it to your editor. It was more useful before we had a stateful editor like we have today...but it still does the function.
Any chance you're tripping over that, or perhaps another keyboard shortcut that you're triggering without realizing it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This sounds like something that could DEFINTIELY be happening and it exactly what I would have expected - some kind of user error on my part. Something mechanical makes sense, given how often I hit F3. I am going to fake a finger flub to test this on the next program I open! Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi Reeza-
Thanks for getting back to me. I am not using VPN. This is all stored locally, on a SAS-dedicated PC laptop, directly on the C Drive. I am the only user.
Thanks,
Danielle
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Forgive the obviousness of this question, but are you sure that you are actually saving the program file, and re-opening the one you saved? I.e., if you make some other change to the code (something simple like adding an extra semi-colon at the end of a statement), followed by saving and re-opening, is that change preserved?
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set
Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets
--------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Totally valid question. I am certain of this. These are assignment files that I am actively updating to answer homework questions and checkpoint questions. They are not closed until the assignment is completed. When I go back in, they open with everything that I know I have already answered and I can confirm this because I also place each answer in a word document that gets saved at the same time as the SAS system program. There is also exactly one copy saved of each because I am not engaging in version control for these short assignments.