Previous Topic: OverviewNext Topic: IDMSLBLS Procedure


=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 the Batch Command Facility (IDMSBCF) can be stored as a member in a source statement library.

The =COPY IDMS statement identifies the library member and is coded in the JCL along with other input parameter statements to be submitted to IDMSBCF. 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 IDMSBCF.

member-type

Identifies the type of the member that contains the input parameter statements to be submitted to IDMSBCF. The default is A.

Note: 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.