PGCH gate, COPY_CHANNEL function

The COPY_CHANNEL function of the PGCH gate is used to take a copy of a channel and all its containers. The copy has the same name as the original, but is not on any chain. This function is required by the START command.

Input Parameters

CHANNEL_TOKEN
is a token referencing the channel to be used on the initial link.
Start of changePERSISTENTEnd of change
Optional Parameter
whether or not the copied channel is to persist beyond task termination
Values for the parameter are:
  • NO
  • YES

Output Parameters

REASON
The following values are returned when RESPONSE is INVALID:
  • INVALID_TOKEN
COPIED_CHANNEL_TOKEN
A token referencing a copy of the specified channel (used on START and RETURN commands).
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.


dfhs3_PGCHcopy_channel.html | Timestamp icon Last updated: Monday, 5 June 2017