>>-COPY--FROM(cpsm-token)--TO(cpsm-token)-----------------------> .-ALL-------------------. >--+-----------------------+--+-----------------+---------------> +-CURRENT---------------+ '-COUNT(data-ref)-' +-FILTER(cpsm-token)----+ +-MARKED----------------+ +-NOTFILTER(cpsm-token)-+ '-NOTMARKED-------------' .-REPLACE-. >--+---------+--THREAD(cpsm-token)--RESPONSE(data-ref)----------> +-ADD-----+ '-UPDATE--' >--REASON(data-ref)--------------------------------------------><
This command copies some or all of the resource table records in one result set to another result set on the same processin thread.
DELETE, DISCARD, GET, GETDEF, LOCATE, MARK, ORDER, PERFORM OBJECT, QUERY, SPECIFY FILTER
If no existing result set is specified as the target, the ADD option is ignored.
Any records that have been deleted from the source result set are not copied. In effect, the ALL option compresses a result set by leaving deleted records in the source result set and copying the remaining records to a new result set.
The cpsm-token value that identifies a filter is returned by the SPECIFY FILTER command.
The cpsm-token value that identifies a filter is returned by the SPECIFY FILTER command.
If no existing result set is specified as the target, the REPLACE option is ignored.
If this field is:
CICSPlex® SM creates a new result set and returns its identifying token in the same field.
If no existing result set is specified as the target, the UPDATE option is ignored.
The following is a list of the RESPONSE values that can be returned by the COPY command. The description of each RESPONSE includes a list of associated REASON values, if appropriate.