You might consider setting
up a common SAS library and appropriate catalogs for an applications
development project. Often, this makes it easier for your development
team to locate, share, and store the SAS catalog entries that your
application requires.
You can store a mixture
of entry types in a SAS catalog. The following table lists the common
entry types that you are likely to use in your
SAS/AF applications.
SAS/AF Entry Types
|
|
|
Stores the properties
that define a class.
|
|
Stores the properties
that define a frame.
|
|
Stores the definition
of an interface, which is a group of abstract methods that are shared
by related classes.
|
|
Stores function key
settings.
|
|
Stores the code that
defines a menu.
|
|
Stores the definition
of a range of values. Range entries can define ranges for both numeric
text-entry fields and critical success factor (CSF) controls.
|
|
Stores the definition
of a resource, which typically includes a group of related classes.
|
|
|
You can also use library
or catalog concatenation so that you can access entries in multiple
libraries or catalogs by specifying a single library reference name
(libref) or a catalog reference name (catref). If you create a catalog
concatenation, you can specify the catref in any context that accepts
a simple, nonconcatenated catref.
For example, you might
need to access entries in several SAS catalogs that might be designated
as the development, test, and production areas. The most efficient
way to access the information is to logically concatenate the catalogs,
which allows access to the information without creating a new catalog.
The following statement assigns the catref
app
to development, test, and production catalogs:
catname app (corp.app mis.testapp projects.newapp);
In this example,
corp.app
is the production
environment,
mis.testapp
is the testing
catalog, and
projects.newapp
is the
development area.
Catalog concatenation
is useful when you need to migrate catalog entries — particularly
those that have hardcoded SCL entry names such as classes —
between different environments. For details on catalog concatenation,
see the
SAS Language Reference: Concepts. For
information about the use of libraries and catalogs when you deploy
applications, see
Step 6: Deploy Your Application.