Link to home
Start Free TrialLog in
Avatar of perrysf25
perrysf25

asked on

Adding formats to a SAS Catalog

I have what is below in my autoexec.
/**************** SAS Formats ***************/
libname sasfmts   "D:\Projects\A_Pro\formats";
Options FmtSearch=(SASFMTS.afp_f) ;
/**************** SAS Formats ***************/
This sets up the format catalog in D:\Projects\A_Pro\formats". The catalog in there is called afp_f.sas7bcat. This catalog was given to me so I didn't create any of the formats in there. There are about 100 different formats in that catalog. So now I created a simple new format in sas and now want to add it to the afp_f.sas7bcat catalog. How do I do that?

Appreciate any help;
SOLUTION
Avatar of Aloysius Low
Aloysius Low
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of perrysf25
perrysf25

ASKER

I tried to delete the question you made comments on because i put work detail information i dont want in the question.
I revised the question and reposted. Hope you don't mind. I just want to be able to add a new format to an existing cataglog. How do I do that?
Ah ok I read the comment on the other post. I actually have been doing what you said after I create a new format. But the number of catalogs in my folder will become numerous as I create formats all the time for the work I do. Is the no way to just add a format to an existing catalog?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok got it. Thanks!
well anyway if you are going to be creating a lot of formats, it's good if you store the data somewhere so that you can continually add to that dataset and produce a format catalog based on that dataset. then in that case you won't be needing to create new catalogs each time you have a new format. hope this helps.