09-01-2015
sudharsanan
Calcite | Level 5
Member since
02-20-2014
- 15 Posts
- 0 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by sudharsanan
Subject Views Posted 1389 08-01-2014 04:20 AM 1389 07-30-2014 09:43 AM 1449 07-30-2014 06:14 AM 1206 07-10-2014 05:55 AM 1268 07-10-2014 04:12 AM 1942 05-21-2014 11:43 AM 1999 05-21-2014 07:11 AM 1490 05-20-2014 03:05 AM 1555 05-20-2014 02:45 AM 584 05-01-2014 07:06 AM -
Activity Feed for sudharsanan
- Posted Re: Routing stderr output from cmd statements on SAS Programming. 08-01-2014 04:20 AM
- Posted Re: Routing stderr output from cmd statements on SAS Programming. 07-30-2014 09:43 AM
- Posted Routing stderr output from cmd statements on SAS Programming. 07-30-2014 06:14 AM
- Posted Re: SAS/AF Table Viewer-right click event on SAS Programming. 07-10-2014 05:55 AM
- Posted SAS/AF Table Viewer-right click event on SAS Programming. 07-10-2014 04:12 AM
- Posted Re: signed on server name info on SAS Programming. 05-21-2014 11:43 AM
- Posted signed on server name info on SAS Programming. 05-21-2014 07:11 AM
- Posted Re: how to find whether any server is signed on from SAS/Base? on SAS Programming. 05-20-2014 03:05 AM
- Posted how to find whether any server is signed on from SAS/Base? on SAS Programming. 05-20-2014 02:45 AM
- Posted SAS SCL: Cursor icon remains busy on SAS Programming. 05-01-2014 07:06 AM
- Posted To read directory from file reference on SAS Programming. 03-10-2014 03:16 AM
08-01-2014
04:20 AM
Hi Karman, Thanks. I have variable for <filename> and <target folder>. They have quotes and it was working without "2>nul" added in the end of the statment. I have tested in many different cmd statement that having "2>nul" in SCL System function does not work. The same issue happens in SAS/Base System function also. For me "2>nul" works only in pipe statement with dir cmd command. Please let me know if any suggestion.
... View more
07-30-2014
09:43 AM
Thanks for your reply. I have not done any other change than adding "2>nul" to the end of of the xcopy statement. The code I had was working rc=system('xcopy <filename> <target folder> '); by copying files and rc=0. When I changed it as rc=system('xcopy <filename> <target folder> 2>nul '); it was not working and rc=4.
... View more
07-30-2014
06:14 AM
Hi, I read from websites that having "2>Nul" in the end of cmd statement will route stderr output in windows. This works for me in below statement. filename dirinfo pipe 'dir &path 2> Nul'; But it does not work in SCL system function with xcopy cmd statement. For eg. rc=system('xcopy <filename> <target folder> 2> Nul'); After I added 2>Nul in the end of the statement, return code rc is 4 and copy is not happening (usually on successful copy rc was 0). Do you have any suggesstion to route stderr output from cmd statements in system function? Thanks in advance! -Sudharsanan
... View more
07-10-2014
05:55 AM
Thanks a lot. It works. This helped me a lot. But the default value for the attribute "popMenuProcessing" was also "ignore it". When I reselected the same once again, the right click menu was disabled. -sudharsanan
... View more
07-10-2014
04:12 AM
Good Morning, I need to disable the menu on right click on Table Viewer control during run time of a SAS/AF frame. Do you know the event related to the right click on table viewer? Is it is possible to disable the right-click menu of table viewer control? Thanks in advance! -Sudharsanan
... View more
05-21-2014
11:43 AM
@Jaap Karman Thanks for your reply. The mentioned thread is created by me. I want to copy a table from work library of remote server to local PC SAS library for processing with it. But constrain is I won't be knowing the name of the server which user has remote signed on. So I could not create library reference to the remote server. As the syntax of such libname statement requires servername as below. libname rwork server=&servname slibref=work; I could not use proc download as its very slow and also pops up a downloading dialog window while running it. So it would be better if I get the server name somehow for using in the libname statement to create library reference. Hope I have clearly explained. Thanks! -Sudharsanan
... View more
05-21-2014
07:11 AM
Hi, Is there is any way to get the name of the server which is already signed on in SAS/Base? is the details like this about signed on server is stored in any SASHELP dataset or macro variables? Thanks in advance! -Sudharsanan
... View more
05-20-2014
03:05 AM
@KurtBremser Thanks for your reply. I think "ps -ef|grep grlink" is a unix command. I think the code provided are for Unix server, may be used by remote submitting to a Unix server for PC SAS. To be clear on my question, from my Windows SAS Base, I need to find whether any server (mostly Unix server) is signed on already or not. I need to do the verification before remote submitting any statements to the signed on server.
... View more
05-20-2014
02:45 AM
I need to find whether the user has signed on to any server from PC SAS. I could do it with the server name which is signed on, by getting it from a macro variable. But I would need to do it without using the server name macro variable. So, is it possible to just know whether any server is remotely signed on from PC SAS by using set of SAS Base or SCL code? Thanks! -Sudharsanan
... View more
05-01-2014
07:06 AM
Hi, I'm facing a issue in SAS SCL programming. I have an SCL program (without Frame) to validate a scenerio and pop up Error message box with Yes and No buttons. When user clicks "No", I need to terminate the application. I use "Submit terminate; <some statements> endsubmit;" to terminate the application. The issue I'm facing is the cursor remains busy icon for ever. When user clicks anywhere outside the active editor window, the cursor becomes normal icon. I hope there would not be any issue with the messagebox statement or the statements of Submit terminate. Please let me know If there could be any possibile of root cause for this issue.
... View more
03-10-2014
03:16 AM
Hi, Is there is any way to read directory path from the file reference? for e.g. I had file references declared in one stage of a program as: filename fref <dir>; In other place I want to get the directory path <dir> only by using fref. Please let me know how this can be done. your help is much appreciated. -Sudharsanan
... View more