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 (December 1998, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 30 Dec 1998 07:53:16 +0100
Reply-To:     "Becker, Eckhard [IAW-04]" <EBecker@VHV.DE>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Becker, Eckhard [IAW-04]" <EBecker@VHV.DE>
Subject:      Re: Macro params > 200 chars long...?
Content-Type: text/plain

Beware of the symput/symget functions. They deal with macro-vars but the parameters are string-data-variables, so they _are_ limited to 200 chars. The memory allocated for _all_ macro-vars is set in an option als well as the maximum length of macro-vars, which are stored in this memory. The max. length of macro-vars is 32kByte (in SAS V6). If there are to many macro-vars or if they are to big, they are not stored in the reserved memory-part, they are swaped out (to WORK?).

Eckhard

BTW: Was soll das? : What part of "gestalt" don't you understand?

> -----Original Message----- > From: Self, Karsten [SMTP:Karsten.Self@SCHWAB.COM] > Sent: Tuesday, December 29, 1998 10:23 PM > To: SAS-L@AKH-WIEN.AC.AT > Subject: Re: Macro params > 200 chars long...? > > You can use macro processing rather than data step processing to parse > your > macro parameters. Refer to the %SYSFUNC macro function, which allows use > of > data step/SCL functions in macro processing. > > SAS distributed a file which defined macro equivalents for most of the > common SAS functions at SUGI 21 or 22 several years ago. I routinely > %INCLUDE this in my autoexec.sas file to have these available to my > programs. > > Macro functions are not restricted to 200 bytes. There is a maximum space > allocated to macrovariables defined in one of the SAS system options. > > -- > Karsten M. Self (Karsten.Self@schwab.com) > Trilogy Consulting > > What part of "gestalt" don't you understand? > > WARNING: All e-mail sent to or from this address will be received by the > Charles Schwab corporate e-mail system and is subject to archival and > review by someone other than the recipient. >


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