%BRM_LOAD_VOCABULARY

Loads the vocabulary terms in the WORK.TERM data set that was created by the %BRM_CREATE_TEMP_TERM macro.

Syntax

%BRM_LOAD_VOCABULARY (FOLDER_PATH=path,
VOCAB_NM=vocabulary-name,
VOCAB_ENTITY_NM=entity-name<, options>);

Required Arguments

FOLDER_PATH=path-name

specifies the pathname to the business rules folder where you want to import the vocabulary terms. Separate folder names with forward slashes.

Requirement The path must exist. If the path does not exist, the macro terminates and writes an error message to the SAS log.
Example FOLDER_PATH=Loans/Retail/Applications

VOCAB_NM=vocabulary-name

specifies the name of the vocabulary to which the terms in the WORK.TERM file will be added.

Requirement The vocabulary must not exist. If it already exists, the macro terminates and writes an error message to the SAS log.

VOCAB_ENTITY_NM=entity-name

specifies the name of the entity to which the terms in the WORK.TERM file will be added.

Requirement This entity must not exist. If it already exists, the macro terminates and writes an error message to the SAS log.

Optional Arguments

BRM_USER=user_ID

specifies the user ID that you want to be associated with the data that is imported. This user ID is associated with the imported objects in the rules database and is displayed in the SAS Business Rules Manager interface.

Default User ID of the user that is running the macro

BYPASSLOCK=Y|N

enables you to override the lock that another user has on the importing process.

Default N

Details

When you run the %BRM_LOAD_VOCABULARY macro, it creates a lock table in the rules database named lock_import_vocabulary. The SAS log states which user holds the lock and the time at which the lock started. It is possible for this lock to remain in place after the macro has finished. If this happens, you can override the lock by specifying the BYPASSLOCK=Y option when you run the macro.