|
From: Arthur Tabachneck on 2 Mar 2010 10:40 Masoud, A group of us will be presenting a paper at this year's SGF that shows you how to accomplish such a task by either assigning a key or placing the task as an option on the SAS explorer screen. Both methods are quite easy to implement. I'd be glad to send you an advance copy of the paper. I'd presume that you would want to mimic the approaches described in the paper as such tasks don't just require running some code (at either the push of a button or a mouse click) but, additionally, letting SAS know which file to use (or in this case edit). Art -------- On Tue, 2 Mar 2010 08:46:30 -0600, Masoud Pajoh <mpajoh(a)ODOT.ORG> wrote: >I want to run: >proc fsedit data=Temp.ProgDescriptions screen=sasuser.screens. >ProgDescriptions; run; > >by assigning it to a key, e.g. alt+f1. >How can I do that? > >Thanks, > >Masoud
From: Masoud Pajoh on 2 Mar 2010 11:24 I tried the first method, but after I typed: proc fsedit data=Temp.ProgDescriptions screen=sasuser.screens.ProgDescriptions; run; in the command box clicked ok, and confirmed that I want to save changes to the SASEDIT_MAIN profile, I get: ERROR: General error from the User Interface subsystem. I had tried the second method before, and that does not do anything!! Thanks for the suggestions, Masoud Nathaniel Wooding <nathaniel.wooding(a)dom.com> 03/02/2010 09:25 AM To "'mpajoh(a)ODOT.ORG'" <mpajoh(a)odot.org>, "'SAS-L(a)LISTSERV.UGA.EDU'" <SAS-L(a)LISTSERV.UGA.EDU> cc Subject RE: assigning keys Masoud Rather than using a pf key combination, would a icon on the tool bar be useful? Click Tools Customize Tools Select the Customize tab Click on the Add Tool icon (it is on the left of the row of tools above the command line entry window In the command window, enter your SAS statements In the Help Text and Tip Text, enter some explanatory text Click on the Chang Icon icon and select an icon Click on OK I have such a button set up to clear my log and output windows and then submit the code in the display manager. The command line reads lst;clear;log;clear;wpgm;submit The alternative for defining an actual pf key is , in the display manager window's command bar, type KEYS and hit enter. Type in whatever SAS commands you wish next to your particular pf key combination and close the window. Nat Wooding -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L(a)LISTSERV.UGA.EDU] On Behalf Of Masoud Pajoh Sent: Tuesday, March 02, 2010 9:47 AM To: SAS-L(a)LISTSERV.UGA.EDU Subject: assigning keys I want to run: proc fsedit data=Temp.ProgDescriptions screen=sasuser.screens. ProgDescriptions; run; by assigning it to a key, e.g. alt+f1. How can I do that? Thanks, Masoud CONFIDENTIALITY NOTICE: This electronic message contains information which may be legally confidential and or privileged and does not in any case represent a firm ENERGY COMMODITY bid or offer relating thereto which binds the sender without an additional express written confirmation to that effect. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
From: Nathaniel Wooding on 2 Mar 2010 10:23 Masoud Rather than using a pf key combination, would a icon on the tool bar be useful? Click Tools Customize Tools Select the Customize tab Click on the Add Tool icon (it is on the left of the row of tools above the command line entry window In the command window, enter your SAS statements In the Help Text and Tip Text, enter some explanatory text Click on the Chang Icon icon and select an icon Click on OK I have such a button set up to clear my log and output windows and then submit the code in the display manager. The command line reads lst;clear;log;clear;wpgm;submit The alternative for defining an actual pf key is , in the display manager window's command bar, type KEYS and hit enter. Type in whatever SAS commands you wish next to your particular pf key combination and close the window. Nat Wooding -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L(a)LISTSERV.UGA.EDU] On Behalf Of Masoud Pajoh Sent: Tuesday, March 02, 2010 9:47 AM To: SAS-L(a)LISTSERV.UGA.EDU Subject: assigning keys I want to run: proc fsedit data=Temp.ProgDescriptions screen=sasuser.screens. ProgDescriptions; run; by assigning it to a key, e.g. alt+f1. How can I do that? Thanks, Masoud CONFIDENTIALITY NOTICE: This electronic message contains information which may be legally confidential and or privileged and does not in any case represent a firm ENERGY COMMODITY bid or offer relating thereto which binds the sender without an additional express written confirmation to that effect. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
From: Nathaniel Wooding on 2 Mar 2010 11:48 Masoud Well, I stand corrected. I tried some variations but could not get either t= o work. I suggest that you take a look at the paper which Art, I think, off= ered. Nat From: mpajoh(a)ODOT.ORG [mailto:mpajoh(a)ODOT.ORG] Sent: Tuesday, March 02, 2010 11:24 AM To: Nathaniel Wooding (Services - 6) Cc: 'SAS-L(a)LISTSERV.UGA.EDU' Subject: RE: assigning keys I tried the first method, but after I typed: proc fsedit data=3DTemp.ProgDescriptions screen=3Dsasuser.screens.ProgDescr= iptions; run; in the command box clicked ok, and confirmed that I want to save changes to= the SASEDIT_MAIN profile, I get: ERROR: General error from the User Interface subsystem. I had tried the second method before, and that does not do anything!! Thanks for the suggestions, Masoud Nathaniel Wooding <nathaniel.wooding(a)dom.com> 03/02/2010 09:25 AM To "'mpajoh(a)ODOT.ORG'" <mpajoh(a)odot.org>, "'SAS-L(a)LISTSERV.UGA.EDU'" <SAS-L(a)LI= STSERV.UGA.EDU> cc Subject RE: assigning keys Masoud Rather than using a pf key combination, would a icon on the tool bar be use= ful? Click Tools Customize Tools Select the Customize tab Click on the Add Tool icon (it is on the left of the row of tools above the= command line entry window In the command window, enter your SAS statements In the Help Text and Tip Text, enter some explanatory text Click on the Chang Icon icon and select an icon Click on OK I have such a button set up to clear my log and output windows and then sub= mit the code in the display manager. The command line reads lst;clear;log;clear;wpgm;submit The alternative for defining an actual pf key is , in the display manager w= indow's command bar, type KEYS and hit enter. Type in whatever SAS commands= you wish next to your particular pf key combination and close the window. Nat Wooding -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L(a)LISTSERV.UGA.EDU] On Behalf Of Masoud= Pajoh Sent: Tuesday, March 02, 2010 9:47 AM To: SAS-L(a)LISTSERV.UGA.EDU Subject: assigning keys I want to run: proc fsedit data=3DTemp.ProgDescriptions screen=3Dsasuser.screens. ProgDescriptions; run; by assigning it to a key, e.g. alt+f1. How can I do that? Thanks, Masoud CONFIDENTIALITY NOTICE: This electronic message contains information which may be legally confidential and or privileged and does not in any case represent a firm ENERGY COMMODITY bid or offer relating thereto which binds the sender without an additional express written confirmation to that effect. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
From: Richard A. DeVenezia on 2 Mar 2010 13:05
On Mar 2, 9:46 am, mpa...(a)ODOT.ORG (Masoud Pajoh) wrote: > I want to run: > proc fsedit data=Temp.ProgDescriptions screen=sasuser.screens. > ProgDescriptions; run; > > by assigning it to a key, e.g. alt+f1. > How can I do that? Masoud: For the key definition use the GSUBMIT command to run SAS code that would normally be submitted from the program window. GSUBMIT "proc fsedit...." |