hciX12splitinterchange Tcl proc

This procedure is included with system installs and is found in \integrator\tclprocs\edi.tcl. This procedure sends the argument to X12:splitX12. GS is group messages and ST is transaction set messages.

If X12:splitX12 does not get any arguments, then the default value is GS.

Name:               hciX12splitinterchange
# Purpose:        Splits up an X12 interchange into groups or transaction sets.
# UPoC type:    tps
# Args:              tps keyedlist containing these keys:
#                        MODE    run mode ("start", "run" or "time")
#                        MSGID   message handle
#                        ARGS    user-supplied arguments:
#                                       GS: split into groups (default)
#                                       ST: split into transaction sets

To use this procedure, you must correctly set the GS/ST arguments. This is configured from the xlt file or the GUI.

In the xlt file, set GS/ST in this way:

{ ARGS GS } 
{ PROCS hciX12splitinterchange } 
{ THREADED 0 } 

In the GUI, GS/ST can be entered in the TPS Properties dialog box’s Args text box.