Adapter Metadata

Adapter Metadata

 

The adapter metadata is a string that you set somewhere in the integration process. It is stored in database and is there is one adapter metadata for every transaction. Each processing step have the option to read and write data to this string. When the transaction reaches an out-adapter the adapter metadata string can be used to configure the out-adapter in a way specific to that transaction. In DS the adapter metadata is the argv[9] variable and in the Administartor the variable is <IBZDATA>.

 

Utilizing Adaptermetadata Example

In this example we will use the adapter metadata to control the output files name, lets start with the mapping.

Mapping

A simple Flat File to Flat File mapping, Value is the data mapped both to the target value filed and the EDI-C code AdapterMetaData, this value will be used to modify the file pattern on the output adapter.

EDI-C code: The code adds the string "File" and whatever data is mapped to it into the argv[9]

 

Output adapter

Then in the Adminsistartor program you set up the mapping as normal until you get to the output adapter, in which you utilize the <IBZDATA> variable to get the metadata.

Which will change the file name on the output file decieded by data from a conversion.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk