question: path of a currently running program in pc sas to display.?
I would like to get the path of program currently opened in pc sas to be displayed somewhere. if there is any option ,please let me know.
problem: i keep same filename at several places like c:/xx/yy/zz etc.
But after sometime of opening program in pc sas, getting doubt from which location i opened the file.
Hi @rajeshm,
Try this:
%put %sysget(SAS_EXECFILEPATH);
It should write the path in question to the log if you're using the Enhanced Editor under Windows (see documentation).
You misunderstood my question( may be not clear from my side)
Explanation:
I opened a program in sas and full path of that program to be displayed in somewhere of sas editor. is there
anywhere options/settings to display? tool using is pc sas.
In pc sas , I opened a program but with same file name,i kept files in several places. After few modifications of program, getting doubt, which location file currently modified? is there any option in pcs sas to display path of program?
when i put cursor on this icon in the below screenshot, i would like to get full path of program somewhere of sas editor.
Not sure what's so bad about displaying the path in the log, but here are two other suggestions:
Click "File" in the main menu. The paths of the most recently opened programs are shown in the "Recently used file list," whose length you can set under Tools --> Options --> Preferences --> General.
Alternatively, select File --> Save As... from the menu. The "Save As" dialog window should show the folder in which the current program resides. In addition, the path is displayed in the status line of the main SAS window while the "Save As" dialog is open.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.