BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi Friends,

I need to use pre defined format in to my SAS code.

How to bring that format in to the SAS code ?

Thanks in Advance !!!
3 REPLIES 3
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Share your code and it may help clarify what you want to accomplish....some possibilities:

1) you have a SAS variable and you want to apply a SAS output format? Use a FORMAT statement or an FMT= parameter on an ATTRIB statement.

2) you want to decompile a SAS-distributed format processing logic in your program? Not normally possible.

3) some other type of requirement?

Scott Barry
SBBWorks, Inc.
Ksharp
Super User
Is your mean to locate a defined format.

[pre]
libname fmt 'c:\';
options fmtsearch=(fmt);
[/pre]
deleted_user
Not applicable
Hi,

Do you mean like proc procedure, iml, or sql... something like that?
I don't know what do you mean..

Thanks.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1463 views
  • 0 likes
  • 3 in conversation