Passing input to the EC Gateway executable [EDI 4.2]

You can pass input parameters to the EC Gateway executable on the command line. The switches for these are -p1 through -p20. The Assign command simplifies passing parameter values from the command line to message variables, parameter variables, or shared memory variables.

When you use the Assign command, you must select Destination and Source parameters for the assignment.

For the wsproces executable, the command line syntax is as follows:

wsproces script file name [-t directory for the wsproces trace file] [-r the run id for this wsproces run] [-td maximum number for the threads] [-p1 command parameter 1] [-p2 command parameter 2] … [-p20 command parameter 20]

In this example, the MQ manager and the MQ queue names are not explicitly defined in testscript.pfs. Instead, the script should assign CMD_Line_Parameter-1 to the parameter with the MQ manager name and CMD_Line_Parameter-2 to the parameter with the MQ queue name.

wsproces c:\ecedigs\testscript.pfs -p1 mq_mgr1 -p2 mq_queue1