Date: Thu, 18 Sep 2003 09:38:05 +0200
Reply-To: "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM>
Subject: Re: Generating Headers..
Content-Type: text/plain; charset="iso-8859-1"
Migrating from Unix to Windows puts you 10 years ahead of us, Windows 8.2 ........ gee. Does it still (or already) suffer from virusses and the like? Has it finally become some clone of Unix? That would explain ............ well, they must have learned their lessons ......... [;-)
Well, back from the future again, You migrated to Windowns [whatever] and SAS 8.2. That sounds familiar. And you say, you want to define (standard) headers for any SAS output, but you want to determine the headers' contents from outside SAS. Well that can be done in several ways.
1. create a (ascii) file, e.g. named 'Header.inc', with contents:
TITLE "This is your standard header";
and in each SAS program %INCLUDE "Header.inc"; at appropriate places.
2. all variants of the use of the SYSPARM system option to transfer strings via the command line (or from the shortcut, LNK file)
3. ..... and more .....
Does this answer your Q a little bit?
Regards - Jim.
Y. (Jim) Groeneveld MSc
6825 MJ Arnhem
+31/0 26 376 7365; fax 7305
From: Nagakumar Sridhar [mailto:nsridhar@ATHEROGENICS.COM]
Sent: Thursday, September 18, 2003 04:51
Subject: Generating Headers..
While working on UNIX, generating a header was simple (using
shell scripts, one could write a program which when run would get the
information from the user and create a sas file based on the
information). But we have migrated to Windows 8.2 and need to be able
to do the same thing (in an effort to standardize the headers that
people put at the top of the program). I am not sure if this is
possible by means of a program. If so, could some one tell me how to do
this or if some one has code that can be used, I would really appreciate
Thanks and regards