LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 28 Mar 2002 18:37:04 -0800
Reply-To:   Bill Anderson <wnilesanderson@COX.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Bill Anderson <wnilesanderson@COX.NET>
Subject:   Re: Creating Unix Environmental Variables
Comments:   To: "Durbin, Michael" <MDurbin@ERAC.COM>
Content-Type:   text/plain; charset="iso-8859-1"

Michael,

Hope you find exactly what you are looking for. But just in case you don't, I have accomplished the same thing by having SAS write tab delimited files. Then I write VB code in the Excel workbook to pick up the delimited files. Not as scary as it sounds, because you can pick up the first file with the macro recorder on, and then modify the code to pick up the rest.

Bill

----- Original Message ----- From: "Durbin, Michael" <MDurbin@ERAC.COM> Sent: Thursday, March 28, 2002 8:58 AM Subject: Creating Unix Environmental Variables

> All, > > I have a situation where I need to write data from SAS to multiple > worksheets in an EXCEL workbook from Unix. I have a PERL program that can > write the binary form of the EXCEL workbook with multiple sheets that was > created from a CSV file that was output from SAS. I now need to automate > this process, however, I need to pass parameters from SAS to PERL. The only > way I think I can achieve this is to create UNIX environmental variables > from SAS. Every time I try this from SAS my variables are always blank on > Unix? When using the X command does SAS spawn another sessionid? This may > account for my problem. Does anyone know how to achieve what I'm trying to > do? > > Thanks, > > Mike Durbin >


Back to: Top of message | Previous page | Main SAS-L page