Data Transformation Engine Services Guide

Chapter 21 – Adding the Adapter to Mercator Command Server
121
PARAMETER NAME: PARAMETER PARAMETER DESCRIPTION:
allow the adapter to be used, and give a messageInvalid Command Line.
ResMgr_Manage_Output TRUE/FALSE Resource contention on output is required; that is, should the Resource Manager
manage contention for the output side of the adapter.
Use_ResMgr_ TRUE/FALSE Adapter uses Resource Manager for connection management
Logical_Physical_Fetch TRUE/FALSE Adapter supports physical bursting
Mercadpt.ini as originally defined for sample adapter USERADAPTER:
; mercadpt.ini file - used to add information about an adapter to
; mercator at run-time.
# is a comment
; is a comment
; entries for sample adapter USERADAPTER
[USERADAPTER]
Cmdline_Arg = UA
Cmdline_Mask = -s % -h %
Init_Function = UA_InitializeAdapter
Get_Function = UA_Get
Put_Function = UA_Put
Shutdown_Function = UA_ShutdownAdapter
Validate_Cmd_Function = UA_ValidateCommand
Compare_Connection_Function = UA_CompareConnections
Connect_Function = UA_Connect
DisConnect_Function = UA_DisConnect
Validate_Connection_Function = UA_ValidateConnection
Free_Adapter_Parm = UA_FreeAdapterParms
Case_Sensitive = TRUE
Defunct = FALSE
ResMgr_Manage_Output = TRUE
Use_ResMgr_Get_Put = TRUE
Logical_Physical_Fetch = FALSE
Mercadpt.ini after adding entries for MY_NEW_ADAPTER:
; mercadpt.ini file - used to add information about an adapter to
; mercator at run-time.
# is a comment
; is a comment
; entries for sample adapter USERADPTER
[USERADAPTER]
Cmdline_Arg = UA
Cmdline_Mask = -s % -h %
Init_Function = UA_InitializeAdapter
Get_Function = UA_Get
Put_Function = UA_Put
Shutdown_Function = UA_ShutdownAdapter
Validate_Cmd_Function = UA_ValidateCommand
Compare_Connection_Function = UA_CompareConnections
Connect_Function = UA_Connect
DisConnect_Function = UA_DisConnect
Validate_Connection_Function = UA_ValidateConnection
Free_Adapter_Parm = UA_FreeAdapterParms
Case_Sensitive = TRUE
Defunct = FALSE
ResMgr_Manage_Output = TRUE
Use_ResMgr_Get_Put = TRUE
Logical_Physical_Fetch = FALSE
; entries for new adapter MY_NEW_ADAPTER
[MY_NEW_ADAPTER]
Cmdline_Arg = MNA
Cmdline_Mask = -a % -b % -c % -d %
Init_Function = MNA_InitializeAdapter