From: rjf2 on 19 Feb 2010 18:17 > From: Collin Elliot > Sent: Friday, February 19, 2010 6:08 PM > Subject: Issue with filename pipe and SAS shortcut. > > I'm not sure if this is for someone with expertise in filename pipe or > systems architecture, but I'm hoping that among the geniuses on this > listserv there is someone who can help me. > > One of my practices is to create a SAS shortcut in the folders for my > more > significant projects. I change the properties to have these shortcut > point > to an autoexec file that establishes the libnames, etc. One part of the > autoexec includes a filename pipe that gets me a listing of all my code > files that then feeds into a macro that creates file shortcuts for me. > > I have never had issues with this practice until this week when I began > to > work on a new server with Windows Server 2008 R2 Standard. > > I created the shortcut, which worked fine in terms of starting SAS and > running the autoexec file, but when it got to the filename pipe, I get > the > following in the log: > > LOG CONTENTS START: > > NOTE: AUTOEXEC processing completed. > > 1 > 2 filename ral pipe 'dir /S "O:\SCE\CSI_ImpactEval"'; > 3 > 4 data setup; > 5 infile ral truncover; > 6 input contents $150.; > 7 run; > > NOTE: The infile RAL is: > Unnamed Pipe Access Device, > PROCESS=dir /S "O:\SCE\CSI_ImpactEval",RECFM=V, > LRECL=256 > > Stderr output: > There is not enough space on the disk. > NOTE: 0 records were read from the infile RAL. > NOTE: The data set WORK.SETUP has 0 observations and 1 variables. > NOTE: DATA statement used (Total process time): > real time 1.01 seconds > cpu time 0.03 seconds > > LOG CONTENTS END. > > If I try to run this code from the SAS session that the shortcut > launched, I > get the same result, so it does not seem that it's because the code is > in > the autoexec. > > > However, here is the curious (and frustrating) part. When I start SAS > via > the shortcut in the START menu and then run the same code, it does what > is > supposed to do. > > LOG CONTENTS START: > > NOTE: This session is executing on the W32_SRV08 platform. > > NOTE: SAS initialization used: > real time 2.06 seconds > cpu time 0.99 seconds > > 1 > 2 filename ral pipe 'dir /S "O:\SCE\CSI_ImpactEval"'; > 3 > 4 data setup; > 5 infile ral truncover; > 6 input contents $150.; > 7 run; > > NOTE: The infile RAL is: > Unnamed Pipe Access Device, > PROCESS=dir /S "O:\SCE\CSI_ImpactEval",RECFM=V, > LRECL=256 > > NOTE: 16840 records were read from the infile RAL. > The minimum record length was 0. > The maximum record length was 209. > NOTE: The data set WORK.SETUP has 16840 observations and 1 variables. > NOTE: DATA statement used (Total process time): > real time 6:18.16 > cpu time 0.21 seconds > > LOG CONTENTS END. > > I cannot even begin to understand why launching SAS from a different > shortcut would have an effect on how the code would run, but if anyone > here > has any insights or, even better, solutions, I will be very > appreciative. > And yes, I know I could just use the default icon and then run my code > manually, but I find it very convenient and efficient to do so via an > autoexec,particularly when I've never had issues with this before. > > Thank you very much in advance. tricky! examine your HostName to see which computer -- and which disk is running out of space -- is actually accepting the submission of your job. %Put note2: HostName= %sysget(computername); if your Windows does not have this environment variable then check all your system macro variables: %Put _automatic_; Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
From: Joe Matise on 19 Feb 2010 18:11 I'd try verifying that the session started from the shortcut isn't being run in some fashion such that its WORK directory, or temporary files directory, is somewhere that you don't have any space allocated to your user. The shortcut from the start menu could well be using a different config, and therefore writing files out somewhere that you DO have space allocated. -Joe On Fri, Feb 19, 2010 at 5:07 PM, Collin Elliot <collin.elliot(a)itron.com>wrote: > I'm not sure if this is for someone with expertise in filename pipe or > systems architecture, but I'm hoping that among the geniuses on this > listserv there is someone who can help me. > > One of my practices is to create a SAS shortcut in the folders for my more > significant projects. I change the properties to have these shortcut point > to an autoexec file that establishes the libnames, etc. One part of the > autoexec includes a filename pipe that gets me a listing of all my code > files that then feeds into a macro that creates file shortcuts for me. > > I have never had issues with this practice until this week when I began to > work on a new server with Windows Server 2008 R2 Standard. > > I created the shortcut, which worked fine in terms of starting SAS and > running the autoexec file, but when it got to the filename pipe, I get the > following in the log: > > LOG CONTENTS START: > > NOTE: AUTOEXEC processing completed. > > 1 > 2 filename ral pipe 'dir /S "O:\SCE\CSI_ImpactEval"'; > 3 > 4 data setup; > 5 infile ral truncover; > 6 input contents $150.; > 7 run; > > NOTE: The infile RAL is: > Unnamed Pipe Access Device, > PROCESS=dir /S "O:\SCE\CSI_ImpactEval",RECFM=V, > LRECL=256 > > Stderr output: > There is not enough space on the disk. > NOTE: 0 records were read from the infile RAL. > NOTE: The data set WORK.SETUP has 0 observations and 1 variables. > NOTE: DATA statement used (Total process time): > real time 1.01 seconds > cpu time 0.03 seconds > > LOG CONTENTS END. > > If I try to run this code from the SAS session that the shortcut launched, > I > get the same result, so it does not seem that it's because the code is in > the autoexec. > > > However, here is the curious (and frustrating) part. When I start SAS via > the shortcut in the START menu and then run the same code, it does what is > supposed to do. > > LOG CONTENTS START: > > NOTE: This session is executing on the W32_SRV08 platform. > > NOTE: SAS initialization used: > real time 2.06 seconds > cpu time 0.99 seconds > > 1 > 2 filename ral pipe 'dir /S "O:\SCE\CSI_ImpactEval"'; > 3 > 4 data setup; > 5 infile ral truncover; > 6 input contents $150.; > 7 run; > > NOTE: The infile RAL is: > Unnamed Pipe Access Device, > PROCESS=dir /S "O:\SCE\CSI_ImpactEval",RECFM=V, > LRECL=256 > > NOTE: 16840 records were read from the infile RAL. > The minimum record length was 0. > The maximum record length was 209. > NOTE: The data set WORK.SETUP has 16840 observations and 1 variables. > NOTE: DATA statement used (Total process time): > real time 6:18.16 > cpu time 0.21 seconds > > LOG CONTENTS END. > > I cannot even begin to understand why launching SAS from a different > shortcut would have an effect on how the code would run, but if anyone here > has any insights or, even better, solutions, I will be very appreciative. > And yes, I know I could just use the default icon and then run my code > manually, but I find it very convenient and efficient to do so via an > autoexec,particularly when I've never had issues with this before. > > Thank you very much in advance. >
From: Collin Elliot on 19 Feb 2010 19:12 I get the same host name in both cases (ral-sas-01). There are some differences in some of the system macro variables, but most of them make sense and with others I don't know what they mean. For some reason this will not let me paste them into this message. I will send them in another e-mail. I very much appreciate the help.
From: Michael Raithel on 20 Feb 2010 15:02 Dear SAS-L-ers, Collin Elliot posted this interesting issue: > I'm not sure if this is for someone with expertise in filename pipe or > systems architecture, but I'm hoping that among the geniuses on this > listserv there is someone who can help me. > > One of my practices is to create a SAS shortcut in the folders for my > more > significant projects. I change the properties to have these shortcut > point > to an autoexec file that establishes the libnames, etc. One part of the > autoexec includes a filename pipe that gets me a listing of all my code > files that then feeds into a macro that creates file shortcuts for me. > > I have never had issues with this practice until this week when I began > to > work on a new server with Windows Server 2008 R2 Standard. > > I created the shortcut, which worked fine in terms of starting SAS and > running the autoexec file, but when it got to the filename pipe, I get > the > following in the log: > > LOG CONTENTS START: > > NOTE: AUTOEXEC processing completed. > > 1 > 2 filename ral pipe 'dir /S "O:\SCE\CSI_ImpactEval"'; > 3 > 4 data setup; > 5 infile ral truncover; > 6 input contents $150.; > 7 run; > > NOTE: The infile RAL is: > Unnamed Pipe Access Device, > PROCESS=dir /S "O:\SCE\CSI_ImpactEval",RECFM=V, > LRECL=256 > > Stderr output: > There is not enough space on the disk. > NOTE: 0 records were read from the infile RAL. > NOTE: The data set WORK.SETUP has 0 observations and 1 variables. > NOTE: DATA statement used (Total process time): > real time 1.01 seconds > cpu time 0.03 seconds > > LOG CONTENTS END. > > If I try to run this code from the SAS session that the shortcut > launched, I > get the same result, so it does not seem that it's because the code is > in > the autoexec. > > > However, here is the curious (and frustrating) part. When I start SAS > via > the shortcut in the START menu and then run the same code, it does what > is > supposed to do. > > LOG CONTENTS START: > > NOTE: This session is executing on the W32_SRV08 platform. > > NOTE: SAS initialization used: > real time 2.06 seconds > cpu time 0.99 seconds > > 1 > 2 filename ral pipe 'dir /S "O:\SCE\CSI_ImpactEval"'; > 3 > 4 data setup; > 5 infile ral truncover; > 6 input contents $150.; > 7 run; > > NOTE: The infile RAL is: > Unnamed Pipe Access Device, > PROCESS=dir /S "O:\SCE\CSI_ImpactEval",RECFM=V, > LRECL=256 > > NOTE: 16840 records were read from the infile RAL. > The minimum record length was 0. > The maximum record length was 209. > NOTE: The data set WORK.SETUP has 16840 observations and 1 variables. > NOTE: DATA statement used (Total process time): > real time 6:18.16 > cpu time 0.21 seconds > > LOG CONTENTS END. > > I cannot even begin to understand why launching SAS from a different > shortcut would have an effect on how the code would run, but if anyone > here > has any insights or, even better, solutions, I will be very > appreciative. > And yes, I know I could just use the default icon and then run my code > manually, but I find it very convenient and efficient to do so via an > autoexec,particularly when I've never had issues with this before. > > Thank you very much in advance. > Collin, wow; now that is a head-scratcher for sure! Since the advice that a couple of other "geniuses on this listserv" isn't panning out, here is some from another... of the afore-mentioned personages:-) Considering that this is a new Windows server, maybe there are permission issues at play here. I just did the following on my workstation, and maybe you can do it on your server: 1. Click on your <Start> menu, highlight <SAS 9.2 (English)> with your cursor, then right click on <Properties> to bring up the "SAS 9.2 (English) Properties" box. 2. Single click on your new SAS icon to highlight it, then right click, then click on <Properties> to bring up the "SAS 9.2 (English) Properties" box. 3. Compare the values of the various tabs in the two property boxes; especially the SECURITY Tab (and then the Target field in the Shortcut window. I am thinking that you will find some significant difference in the way security was set up for all SAS users who invoke it via <Start><SAS> and for those who invoke it via setting up an icon on the desktop. It's worth a try... until some other SAS-L "genius" chimes in:-) Collin, best of luck in all your SAS endeavors! I hope that this suggestion proves helpful now, and in the future! Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Michael A. Raithel "The man who wrote the book on performance" E-mail: MichaelRaithel(a)westat.com Author: Tuning SAS Applications in the MVS Environment Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172 Author: The Complete Guide to SAS Indexes http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ If it's sent by ship then it's a cargo, if it's sent by road then it's a shipment. - Dave Allen +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
From: Collin Elliot on 22 Feb 2010 11:41
On Sat, 20 Feb 2010 15:02:28 -0500, Michael Raithel <michaelraithel(a)WESTAT.COM> wrote: >Dear SAS-L-ers, > >Collin Elliot posted this interesting issue: > >> I'm not sure if this is for someone with expertise in filename pipe or >> systems architecture, but I'm hoping that among the geniuses on this >> listserv there is someone who can help me. >> >> One of my practices is to create a SAS shortcut in the folders for my >> more >> significant projects. I change the properties to have these shortcut >> point >> to an autoexec file that establishes the libnames, etc. One part of the >> autoexec includes a filename pipe that gets me a listing of all my code >> files that then feeds into a macro that creates file shortcuts for me. >> >> I have never had issues with this practice until this week when I began >> to >> work on a new server with Windows Server 2008 R2 Standard. >> >> I created the shortcut, which worked fine in terms of starting SAS and >> running the autoexec file, but when it got to the filename pipe, I get >> the >> following in the log: >> >> LOG CONTENTS START: >> >> NOTE: AUTOEXEC processing completed. >> >> 1 >> 2 filename ral pipe 'dir /S "O:\SCE\CSI_ImpactEval"'; >> 3 >> 4 data setup; >> 5 infile ral truncover; >> 6 input contents $150.; >> 7 run; >> >> NOTE: The infile RAL is: >> Unnamed Pipe Access Device, >> PROCESS=dir /S "O:\SCE\CSI_ImpactEval",RECFM=V, >> LRECL=256 >> >> Stderr output: >> There is not enough space on the disk. >> NOTE: 0 records were read from the infile RAL. >> NOTE: The data set WORK.SETUP has 0 observations and 1 variables. >> NOTE: DATA statement used (Total process time): >> real time 1.01 seconds >> cpu time 0.03 seconds >> >> LOG CONTENTS END. >> >> If I try to run this code from the SAS session that the shortcut >> launched, I >> get the same result, so it does not seem that it's because the code is >> in >> the autoexec. >> >> >> However, here is the curious (and frustrating) part. When I start SAS >> via >> the shortcut in the START menu and then run the same code, it does what >> is >> supposed to do. >> >> LOG CONTENTS START: >> >> NOTE: This session is executing on the W32_SRV08 platform. >> >> NOTE: SAS initialization used: >> real time 2.06 seconds >> cpu time 0.99 seconds >> >> 1 >> 2 filename ral pipe 'dir /S "O:\SCE\CSI_ImpactEval"'; >> 3 >> 4 data setup; >> 5 infile ral truncover; >> 6 input contents $150.; >> 7 run; >> >> NOTE: The infile RAL is: >> Unnamed Pipe Access Device, >> PROCESS=dir /S "O:\SCE\CSI_ImpactEval",RECFM=V, >> LRECL=256 >> >> NOTE: 16840 records were read from the infile RAL. >> The minimum record length was 0. >> The maximum record length was 209. >> NOTE: The data set WORK.SETUP has 16840 observations and 1 variables. >> NOTE: DATA statement used (Total process time): >> real time 6:18.16 >> cpu time 0.21 seconds >> >> LOG CONTENTS END. >> >> I cannot even begin to understand why launching SAS from a different >> shortcut would have an effect on how the code would run, but if anyone >> here >> has any insights or, even better, solutions, I will be very >> appreciative. >> And yes, I know I could just use the default icon and then run my code >> manually, but I find it very convenient and efficient to do so via an >> autoexec,particularly when I've never had issues with this before. >> >> Thank you very much in advance. >> >Collin, wow; now that is a head-scratcher for sure! Since the advice that a couple of other "geniuses on this listserv" isn't panning out, here is some from another... of the afore-mentioned personages:-) > >Considering that this is a new Windows server, maybe there are permission issues at play here. I just did the following on my workstation, and maybe you can do it on your server: > >1. Click on your <Start> menu, highlight <SAS 9.2 (English)> with your cursor, then right click on <Properties> to bring up the "SAS 9.2 (English) Properties" box. > >2. Single click on your new SAS icon to highlight it, then right click, then click on <Properties> to bring up the "SAS 9.2 (English) Properties" box. > >3. Compare the values of the various tabs in the two property boxes; especially the SECURITY Tab (and then the Target field in the Shortcut window. > >I am thinking that you will find some significant difference in the way security was set up for all SAS users who invoke it via <Start><SAS> and for those who invoke it via setting up an icon on the desktop. It's worth a try... until some other SAS-L "genius" chimes in:-) > >Collin, best of luck in all your SAS endeavors! > > >I hope that this suggestion proves helpful now, and in the future! > >Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk. > >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >Michael A. Raithel >"The man who wrote the book on performance" >E-mail: MichaelRaithel(a)westat.com > >Author: Tuning SAS Applications in the MVS Environment > >Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition >http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172 > >Author: The Complete Guide to SAS Indexes >http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409 > >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >If it's sent by ship then it's a cargo, if it's sent by road >then it's a shipment. - Dave Allen >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This is that point in a thread where one (in this case, I) considers not continuing because it displays one's ignorance and/or stupidity. It certainly makes sense that it's related to permissions and there are certainly differences in the properties on the security tab, but there's a lot going on and I'm clueless about which matter for this particular problem. For starters, the groups/user names are not equivalent between the two. For example, on the copied icon, I have a user name whereas on the original I icon I do not. In any event, I think that you've got me on the right track and I should leave this forum and take it up with my IT department. If I can first convince them that I'm even worth the oxygen I breathe - no small feat - maybe they can help me figure out what specific permissions need to change to resolve this issue. Thank you very much. Collin |