Memory I/O is designed to speed up performance by allowing the user to read or write from memory rather than the physical disk. The user can read from stdin or a specified memory address, or write to stdout or a temporary memory address.
To read from stdin instead of from disk, the user can enter information on the Standard Input pane on the I/O Redirect tab of the Run Outbound Map screen. If the data being read is application data, the user can enter this information using the –mi switch/parameter at runtime. If the data being read is EDI data, the user can enter this information using the –xmi switch/parameter at runtime.
To write to stdout instead of to disk, the user can enter information on the Standard Output pane on the I/O Redirect tab of the Run Inbound Map screen. If the data being written is application data, the user can enter this information using the –mo switch/parameter at runtime. If the data being written is EDI data, the user can enter this information using the –xmo switch/parameter at runtime.
To read from or write to a temporary internal memory address, the user can enter information on the Internal Memory pane on the I/O Redirect tab of the Run Inbound Map or Run Outbound Map screen. The user can also enter this information using the –mm switch/parameter at runtime.
There is an additional memory I/O option, which allows the user to read or write from a specific memory address, but this option is available only when ECRTP is invoked from a DLL.
To read application data from or write application data to a specific memory address, the user must use the –mp parameter at runtime; this information cannot be entered in ECMap. The format of the –mp switch is -mp <full-path file name> <pointer to memory address> <pointer to # of bytes> <pointer to size of buffer>.
To read EDIdata from or write EDI data to a specific memory address, the user must use the –xmp parameter at runtime; this information cannot be entered in ECMap. The format of the –xmp switch is -xmp <pointer to memory address> <pointer to # of bytes> <pointer to size of buffer>.