Skip to main content
Version: 20 R7 BETA

COPY SET

COPY SET ( srcSet ; dstSet )

ParameterTypeDescription
srcSetTextSource set name
dstSetTextDestination set name

Description

The COPY SET command copies the contents of the set srcSet into the set dstSet.

Each of these sets can be of the process, interprocess or local/client type. The two sets do not have to be the same type (as shown in the examples below), so long as they are both visible on the machine. For more information about this point, refer to "Visibility of Sets".

Example 1

The following example, in Client/Server, copies the local set "$SetA", maintained on the client machine, to the process set "SetB", maintained on the server machine:

 COPY SET("$SetA";"SetB")

Example 2

The following example, in Client/Server, copies the process set "SetA", maintained on the server machine, to the local process set "$SetB", maintained on the client machine:

 COPY SET("SetA";"$SetB")

See also

Sets

Properties

Command number600
Thread safe