Oracle BRM: Utilize the BRM's MTA framework to use a file instead of searching the database

The BRM MTA's framework supports three search options: 

  1. Search for objects stored in the BRM database
  2. Search for objects stored in a file
  3. Passing objects directly to the search opcode. You specify the search option in the PIN_FLD_SEARCH_FLIST substruct in the global flist.


To search for objects in a file, you specify the name of the file where the objects are stored.

For example:

0 PIN_FLD_SEARCH_FLIST    SUBSTRUCT [0] 

1    PIN_FLD_FILENAME          STR [0] "file name" 

1    PIN_FLD_COUNT             INT [0] 2 

Important:

The file specified in PIN_FLD_FILENAME must be a text file and must have the same format as the search results flist.

The following is an example of the text file:

0 PIN_FLD_RESULTS          ARRAY [0] 

1    PIN_FLD_ACCOUNT_OBJ       POID [0] "/account" 123 0 

0 PIN_FLD_RESULTS          ARRAY [1] 

1    PIN_FLD_ACCOUNT_OBJ       POID [0] "/account" 345 0    

To pass objects directly in the search flist, you specify the POIDs of the objects.

For example:

0 PIN_FLD_POID              POID [0] 0.0.0.1 /account 1 0 0 PIN_FLD_RESULTS          ARRAY [0] 1    PIN_FLD_ACCOUNT_OBJ       POID [0] "/account" 123 0 0 PIN_FLD_RESULTS          ARRAY [1] 1    PIN_FLD_ACCOUNT_OBJ       POID [0] "/account" 345 0 

Do you need further help? Contact us

Comments

Popular posts from this blog

Oracle BRM: Some Important Utilities

Oracle BRM: Learn step by step by following youtube channel