I used the below code to create permanent format using university edition, the log has no problem.
proc format library=orion.MyFmts cntlin=country;
run;
Library are single level so try including only Orion after library, not Orion.myfmt
See examples here
What does not working mean?
Do you get errors? If so, post the log.
@Reeza wrote:
Library are single level so try including only Orion after library, not Orion.myfmt
See examples here
http://www.ats.ucla.edu/stat/sas/library/formats.htm
My bad, catalogs are referenced in the manner used, ie libname.catalog_name
I'm also not sure SAS UE shows catalog, so check for the presence using PROC datasets.
Are you sure your input control dataset is in the proper format for creating formats?
What happens if you just define you formats using a VALUE statement instead?
Actually, it does create the format catalog, when using below code
proc format library=orion.MyFmts fmtlib;
select $country;
run;
proc format library=orion.MyFmts fmtlib;
select $country;
run;
you can see the results. And when you used the format, it works. But just can't show up under the liberary.
Format libraries use a default catalog name. You are overriding that by specifying the two-level name. When creating the format, just specify library=orion, instead of library=orion.MyFmts and that should put the new format into the default library.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: