The External Interface


Examples of JCL that performs batch Import and generate functions for COPE can be accessed via Option 1.4 ‘Edit External Interface (Batch Input) Sample JCL’. The resultant display is shown as follows:

External Interface Examples

image2021-1-29_15-15-45.png


The External Interface is used as an interface to change management systems. Batch jobs may be initiated to perform the same functions.

All jobs consist of a single step that provide parameters to a JCL procedure.

Generation of External Interface JCL Procedure (Option 1.2)

Option 1.2 generates the JCL procedure used in the external interface and copies it to the dataset specified on the JCLLIB ORDER parameter specified in the JOB card statements on the panel.

Generation of External Interface Procedure Menu

image2021-1-29_15-16-49.png


DLI Call Trace from Batch and BMP Jobs

To get a trace of all DLI and SQL calls in batch or BMP, add this card to the JCL:

//COPETRAC DD SYSOUT=*

XBACKGEN Support

The COPEVARS parameter XBACKGEN has three positional parameters that allow jobs to be generated whenever PSBs, DBDs, and MFS members are imported or compiled. Each position may be set to Y or N to control the respective process.

There are three ISPF skeleton Procs provided named COPEUPSB, COPEUDBD, and COPEUMFS. These skeletons must be modified by the customer, to allow invocation of a user program that will process the records punched out by COPE, and update an external system table or file.

Every time a PSB is imported or compiled, the following information is created:

PSB-NAME,LSYS-NAME,PSB C-NUMBER,PLAN C-NUMBER

Every time a DBD or MFS member is imported or compiled, the following information is created:

DBD/MFS NAME,LSYS-NAME,DBD/MFS C-NUMBER

Column 33 contains the characters PSB, MFS, or DBD to identify the type of information being provided.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*