=COPY Facility

The =COPY IDMS statement is used to copy the library member into the job stream. Under z/VSE, some or all of the utility statements to be submitted to an IDMS utility can be stored as a member in a source statement library. Most IDMS utilities support the =COPY DIMS statement. This functionality is not available in CA IDMS Tools, CA Culprit, CA ADS batch, or CA OLQ batch.
idmscu19
The =COPY IDMS statement is used to copy the library member into the job stream. Under z/VSE, some or all of the utility statements to be submitted to an IDMS utility can be stored as a member in a source statement library. Most IDMS utilities support the =COPY DIMS statement. This functionality is not available in CA IDMS Tools, CA Culprit, CA ADS batch, or CA OLQ batch.
The =COPY IDMS statement identifies the library member and is coded in the JCL along with other input parameter statements to be submitted to IDMS. Multiple =COPY statements can be submitted.
=COPY IDMS statements and input parameter statements can be intermixed in the JCL. The input parameters are submitted to the compiler in the order in which they occur, whether they are coded directly in the JCL or copied in through the =COPY facility.
Syntax
►►─── =COPY IDMS ─┬─┬──────────────────┬── member-name ─────┬──────────►◄                   │ └─ sublibrary-id. ─┘                    │                   │                                         │                   └─ MEM= member-name ──┬────────────────┬──┘                                         └─ .member-type ─┘ 
Parameters
  • sublibrary-id
    Identifies the source statement sublibrary that includes the member identified by
    member-name
    . The default is A.
  • member-name
    Identifies the source statement library member that contains the input parameter statements to be submitted to the IDMS utility.
  • member-type
    Identifies the type of the member that contains the input parameter statements to be submitted to the IDMS utility. The default is A.
If the input parameter statements are stored as a member in a private source statement library, the DLBL file type for the library must be specified as DA.