Using a SAS Macro Catalog

To use any of the macros contained in an Oracle Life Sciences Data Hub SAS Macro Catalog, you create a Source Code instance in the Program from which you need to call them.

Do the following:

  1. In the Oracle LSH SAS Program where you need to use one or more of the macros in the Catalog, create a Source Code as an instance of an existing definition.
  2. In the Search screen, choose the Domain or Domain and Application Area where the Macro Catalog you need is located, and select the SAS Macro Catalog radio button. If you know the exact name of the Macro Catalog you need, enter it in the Name field.
  3. Click Go. The system returns the Macro Catalog(s) that satisfy the search criteria—or, if you entered the exact name of a Macro Catalog, returns only that one.
  4. Select a Macro Catalog: select its box in the Select column and click the Select button. The system adds an instance of the Catalog, including all the macros it contains, and returns you to the Source Code screen.

You can now use any of the macros in your Program. At execution they are added to your work library and you can call them by name from the primary source code.