Hi,
This is really not the right forum to post questions about formats, especially since your question involves configuration issues for use with SAS Information Maps and EG and this implies that your formats are used in the SAS Enterprise Intelligence Platform and also involves BI Platform Administration configuration and possibly start up scripts or start up commands.
I do not understand what you mean, exactly, when you say "I want this format to be generic so that i can use it anywhere." That could mean a lot of setup if "anywhere" involves INSIDE and OUTSIDE the BI Platform. You seem to understand the general syntax of using the LIBRARY= option with PROC FORMAT -- but there may be more needed in the BI platform. This SUGI paper on using formats (in general) has some good examples on format nesting -- which is what you seem to be trying to accomplish:
http://www2.sas.com/proceedings/sugi25/25/aa/25p002.pdf
Your best bet for help with this question, in my opinion, is to contact SAS Tech Support:
http://support.sas.com/techsup/contact/index.html
cynthia