After you click on Run Map, remove all of the “#” comment symbol in column one for every line except the two sentences below (“# The following is a sample configuration file.” and “# You must modify the settings to work for your instance.”). After you remove the comment symbols, modify the lines that have instructions listed below.
Adapter
clash.avoid=TRUE
continue.format.exists=TRUE
adapter=EDIAdapter
mode=ACQUIRE
data=NDO
# The following is a sample configuration file.
# You must modify the settings to work for your
# instance.
#maximum_num_retries=2
#transport.out.name=OUTQ
#failurequeue.name=FAIL
#output.serializer.factory=XMLSerializer_Factory
#output.serializer.library=adk33xmlsd
#output.serializer.factory=NCFSerializer_Factory
#output.serializer.library=adk33ncfsd
#prefix=<prefix> # Obtain prefix name from the
# configuration file generated
# from Export Schema to MQSI, e-Biz
# Integrator, or e-Biz 2000. #msg.type=<prefix>.IC.<schema name> # Obtain the
# prefix name from the file
# configuration file generated from
# Export Schema to MQSI, e-Biz
# Integrator, or e-Biz 2000.)
#transport.context.name=ADKContext
#OTContext.ADKContext
#NNOT_CTX_DEFAULT_TIL_ID=FAIL
#NNOT_CTX_TMID=MQSeriesTM
#NNOT_CTX_ENFORCE_TX=TRUE
#TransactionManager.MQSeriesTM
#NNOT_SHARED_LIBRARY=oti21mqstm
#NNOT_FACTORY_FUNCTION=NNOTMQSeriesTXManagerFactory
#NN_TM_MQS_QMGR=TEST_QMGR # Obtain the Queue
# Manager name from MQSeries
#Session.ADKSession
#NNOT_SHARED_LIBRARY=dbt21mqs
#NNOT_FACTORY_FUNCTION=NNMQSSessionFactory
#NNMQS_SES_OPEN_QMGR=TEST_QMGR # Enter the Queue
# Manager name from
# MQSeries.
#TRANSPORT.OUTQ
#NNOT_SHARED_LIBRARY=dbt21mqs
#NNOT_FACTORY_FUNCTION=NNMQSQueueFactory
#NNOT_TIL_OPEN_SESSION_ID=ADKSession
#NNOT_TIL_OPEN_TSI=TEST_OUT # Enter the local
# queue to which the message
# is being put in
# MQSeries.
#Transport.FAIL
#NNOT_SHARED_LIBRARY=dbt21mqs
#NNOT_FACTORY_FUNCTION=NNMQSQueueFactory
#NNOT_TIL_OPEN_SESSION_ID=ADKSession
#NNOT_TIL_OPEN_TSI=TEST_FAIL # Enter the local
# queue that serves as
# the failure queue in
# MQSeries.
#Session.FileSession
#NNOT_SHARED_LIBRARY=nnfile
#NNOT_FACTORY_FUNCTION=NNSesFileFactory
#NN_SES_MSG_SIZE=1000
#NN_SES_SERVER=bsmith1
EDIAdapter # The lines below are unique to
# each map generated by the Run
# Map screen.
rtp.mapswitches="C:\Program Files\nnsy\ECMap\maps\NDO2\EDI_TO_NDO\training.x12" -xl -dg "C:\Program Files\nnsy\ECMap\maps\NDO2\EDI_TO_NDO" -dt "C:\Program Files\nnsy\ECMap\maps\NDO2\EDI_TO_NDO" -n -it -o -l -m EDI_TO_NDO -b -du "C:\Program Files\nnsy\ECMap\maps\NDO2\EDI_TO_NDO" -wx 1
rtp.acquire_dir=I
In some cases, an additional line must be added to the AcquireNDO configuration file:
rtp.acquire_dir="1" (or "0")
When the EDIadapter is used to read XML data, a change must be made to the configuration file. ECRTP uses outbound processing to read XML data, and the EDIadapter uses the Deliver Mode for outbound processing. However, when EDI data is being converted to an NDO data tree, the EDIadapter normally uses the Acquire Mode. In order for the EDIadapter to read and process the XML input data, a line (that was added only for the EDIadapter Acquire Mode) must be changed. The line rtp.acquire_dir=”1” must be changed to rtp.acquire_dir=”0”.