Copying target context definition members
The COPY command copies the contents of one target context definition member into another member.
You must be in edit mode with the member that you want to copy into before you can enter the COPY command; see Editing-target-context-definitions.
The COPY command is entered on the COMMAND line on both the TGTDEF and TGTDEFD views in the following format:
COPY nn
In the TGTDEF view, nn is the suffix of the member that you want to copy from. In the TGTDEFD view, nn is the suffix for the member that you want to copy.
Suffix values for each target context definition member are shown on the TGTDEFL view; see the figure in Displaying-a-list-of-BBPARM-target-context-definition-members.
After you enter the COPY command on the TGTDEF view, the view is updated with the target context definitions that were contained in the member from which you copied.
After you enter the COPY command on the TGTDEFD view, the view does not appear to be updated, but when you return to the TGTDEF view, the target context definitions in the member that you copied from are listed.
Related topic