Previous Topic: COPY CommandNext Topic: CREATE DATAVIEW Command


Operand Definitions

Operand

Description

PROGRAM name

One‑ to eight‑character name of the program definition from which data is copied. The component from which data is copied corresponds to the component being edited in the current program.

VER nnn

Version of the program definition from which data is copied. For information on valid versions to specify, see Using Version Clauses in CA Ideal Commands in the “Preliminary Concepts” chapter.

SYS id

Name of the system where the program resides. This is required when copying from a different system.

MEMBER name

One‑ to eight‑character name of the member from which data is copied.

USER clause

User name or the one‑ to three‑character user ID where the member resides. This is required when copying from a different user.

num1
TOP

Specification for the beginning of a range of lines to be copied. If neither a program name nor a member name is specified, data is copied from the specified location in the current program or member to the specified location in the same program or member.

num1 The sequence number of the line to copy or, if specified with num‑2 or BOTTOM, the first line of a range of lines to copy.

TOP

Indicates the first line in the program definition or member.

num2
BOTTOM

Specification for the ending of a range of lines to copy.

num2 The sequence number of the line marking the end of the range to copy.

BOTTOM Indicates the last line in the program or member

num3
TOP
BOTTOM

Specification for the COPY destination.

num3 The sequence number of the line in the component of the current program definition or the current member after which the line or lines being copied are inserted.

TOP Indicates the top of the component of the current program definition or member.

BOTTOM Indicates the bottom of the component of the current program definition or member.