BookmarkSubscribeRSS Feed
Ronein
Meteorite | Level 14

Hello

I have some questions about user defined formats .

1-When I create a user defined format (not in a permanent library), how can I see the name of the temporary library where the format i saved.

I am using FMTLIB statement and then I see the name of the format and its values but i cannot see the library name where it is saved

2-How can I tell SAS to delete all temporary  formats 

3--How can I tell SAS to delete specific temporary  formats 

 

Thanks

Joe

1 REPLY 1
Criptic
Lapis Lazuli | Level 10

Hey,

 

1. Temporary formats are stored in a SAS catalog named formats in your work-Lib.

2. Full Explanation: https://documentation.sas.com/?docsetId=proc&docsetVersion=9.4&docsetTarget=p1il9pe2plu3bpn0zza8igp6...

proc catalog cat=work.formats kill;
quit;

3. Full Explanation: https://documentation.sas.com/?docsetId=proc&docsetVersion=9.4&docsetTarget=p1kxop460mnyqyn19xcm3diz...

 proc catalog cat=work.formats;
   delete format_name.infmt;
quit;

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 645 views
  • 0 likes
  • 2 in conversation