Example 2

About this task

In a GET map function call enter:

"-T+  myfile.mtr
  -HOST myhost -PORT 3020
 -TIMEOUT 30000 -UID user -PW pass
 -TRAN  DINQ ", PACKAGE( MyPackage ))
This GET map function call will:
  • Enable a trace file called myfile.mtr in append mode.
  • Connect to host myhost using port 3020.
  • Change the socket timeout to 30 seconds.
  • Use the userid user and the password pass.
  • Run transaction DINQ using data supplied in PACKAGE MyPackage.