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 (February 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Feb 2000 20:32:48 "GMT"
Reply-To:     "David L. Ward" <dward@SASHELP.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "David L. Ward" <dward@SASHELP.COM>
Subject:      Re: Refreshing formats in memory(SCL)
Comments: To: cwbining@MY-DEJA.COM
Content-Type: text/plain; charset="us-ascii"

I once asked Tech Support about this because I wanted to change a format inside of an FSEdit session. I wanted to load the FSEdit screen with a certain format name, say "race." pointing to a dummy format catalog that had no entries. Once the fsedit screen loaded I placed code to change the fmtlib option so that the real format would now be used. Unfortunately, the format was loaded into memory when the FSEdit session started and tech support informed me that it was impossible to "relocate" it after the session had started.

HTH David Ward

-----Original Message----- From: <cwbining@MY-DEJA.COM> Sent: 2/17/00 4:22:43 PM Subject: Refreshing formats in memory(SCL)

> When a format is used in SCL it is loaded into memory. From this point >on whenever the format is used SAS looks for the format in memory before >going to the fmtsearch path for the format. This causes major problems >because from this point on SAS is using an old version of the format. > >If I don't use the format in SCL the problem does not exist because the >format never gets loaded into memory. This can be tested by removing >the lines of code containing "chuck". > >Does anyone have any ideas on how to update or remove the format from >memory? Is there a way of keeping the format from loading into memory >in the first place? > >I have even tried using the delete() function to remove the format >before creating the new one, but still no luck. > >Thanks in advance, Chuck Bininger > >The following SCl code is a simplified version of my problem. > >INIT: > submit continue; > proc format; > value $weird > 'A' = '1ST TIME' > ; > quit; > endsubmit; > > chuck = put('A',$weird.); > put chuck = ; > > submit continue; > proc format fmtlib; > value $weird > 'A' = '2ND TIME' > ; > quit; > > data _null_; > test = put('A',$weird.); > put test =; > run; > endsubmit; >RETURN; > > > >Sent via >Before you buy. >

_____________________________________________________ Sent by user DWard - On-Line SAS Resources Web interface to SAS-L at

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