Can Endevor add multiple type definitions in batch
search cancel

Can Endevor add multiple type definitions in batch

book

Article ID: 40986

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

There is a need to build Endevor Type definitions for multiple types within multiple systems.  

Is there a way to have Endevor create the SCL that is needed to define these types?
 

 

Environment

All supported Releases

Resolution

The Batch Administration (ENBE1000) is a utility that creates define statements for all parts of the Endevor inventory (System / Subsystem / Type / etc.).  The following is an example of using the jcl/scl to create define statements from an existing inventory.  
Now that you have the definition, the scl can be changed to the new definitions.  
Don't forget to change the names for the Environment / System before running this job.
 
/*(INSERT YOUR JOBCARD HERE) 
//*-------------------------------------------------------------------* 
//* NAME: ENBE1000                                                    *
//* PURPOSE: THIS SAMPLE JCL IS USED TO EXECUTE THE BATCH ENVIRONMENT * 
//* ADMINISTRATION JCL. BEFORE EXECUTING THIS JCL, VERIFY THE         * 
//* FOLLOWING:                                                        * 
//* 1) THE CONLIB DD REFERS TO THE CORRECT DATA SET.                  * 
//* 2) THE ENESCLIN DD STATEMENT REFERS TO THE CONTROL STATEMENT      * 
//* DATA SET.                                                         * 
//* 3) ADD A VALID JOB CARD STATEMENT                                 * 
//*-------------------------------------------------------------------* 
//ENBE1000 EXEC PGM=NDVRC1, 
//  PARM='ENBE1000', 
//  REGION=4096K 
//STEPLIB DD DISP=SHR,DSN=IPRFX.IQUAL.CSIQAUTU 
//        DD DISP=SHR,DSN=IPRFX.IQUAL.CSIQAUTH 
//CONLIB  DD DISP=SHR,DSN=IPRFX.IQUAL.CSIQLOAD 
//SYSPRINT DD SYSOUT=* 
//SYSOUT DD SYSOUT=* 
//SYSTERM DD SYSOUT=* 
//*-------------------------------------------------------------------* 
//C1MSGS1 DD SYSOUT=* 
//C1MSGS2 DD SYSOUT=* 
//SYSUDUMP DD SYSOUT=* 
//SYMDUMP DD DUMMY 
//SCLOUT DD DSN=YOUR.OUTPUT,DCB=(RECFM=FB,LRECL=80,BLKSIZE=32760), 
//          DISP=(NEW,KEEP,DELETE),UNIT=SYSDA,SPACE=(CYL,(2,2),RLSE)  
//ENESCLIN DD *    
  BUILD SCL FOR TYPE "*"    
  FROM ENVIRONMENT "ENV1"    
  SYSTEM "SYS1"    
  STAGE NUMBER 1    
  TO DDNAME "SCLOUT" . 
 
 

For more information on  Defining  Endevor Types in Batch