BookmarkSubscribeRSS Feed
Cullima
Calcite | Level 5
Can anyone tell me where EG 4.2 looks for user-defined formats by default. I need to be able to create a permanent format which other users can use within EG. As far as I can see there is no way of setting this location from within the application.

Thanks
3 REPLIES 3
Patrick
Opal | Level 21
It's not SAS EG "looking" for the format library but the SAS session on the server where you run SAS.
You CAN add additional format catalogues in additional libraries which SAS uses then to look for formats.
You can do this during SAS invocation (i.e. in the autoexec on the server) or as part of the SAS code in SAS EG.

Here the doku (same for SAS 9.1.3 and SAS 9.2):
http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a000279102.htm

HTH
Patrick
Doc_Duke
Rhodochrosite | Level 12
If you just want to use one format library for the session or for EG invocation, you could create either a temporary or permanent format library using the LIBNAME task (see tools) in EG.
ChrisHemedinger
Community Manager
The default value of FMTSEARCH (libraries searched for format definitions) in EG is:

FMTSEARCH=(WORK LIBRARY EGTASK SASUSER)

EGTASK is a reference for EG that probably does not exist but EG adds for legacy purposes. But if you can assign a library named LIBRARY and map it to where your FORMATS catalog resides, SAS (via EG) should find your formats with no extra settings required.

Chris
Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 1736 views
  • 0 likes
  • 4 in conversation