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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 475 views
  • 0 likes
  • 2 in conversation