search cancel

How to code a C1BM3000 step in a processor

book

Article ID: 134191

calendar_today

Updated On:

Products

Endevor Software Change Manager (SCM) Endevor Software Change Manager - Natural Integration (SCM) Endevor Software Change Manager - ECLIPSE Plugin (SCM) Endevor Software Change Manager - Enterprise Workbench (SCM)

Issue/Introduction

When coding a C1BM3000 step in my processor,  using NDVRC1 with PARM=C1BM3000, but that fails due to reserved DD statements being used.  

Is there a utility, or method, which can be used within a processor to update an element?

Environment

Release : 18.0

Component : CA Endevor Software Change Manager

Resolution

To properly code a C1BM3000 step in a processor you can do this: 

//************************************************************* 
//ADDIT EXEC PGM=C1BM3000,PARM=(INDD,MSGOUT1)  
//*************************************************************  
 //MSGOUT1 DD SYSOUT=* 
//MSGOUT2 DD SYSOUT=* 
//SYSABEND DD SYSOUT=*  
//INDD DD *  
ADD ELEMENT '&C1ELEMENT'  
  FROM DSNAME 'SYS.ENDEVOR.TEST.SORTWORK'  
  TO ENV '&C1ENVMNT'
        SYSTEM '&C1SYSTEM' 
        SUBSYSTEM '&C1SUBSYS'  
        TYPE '&C1ELTYPE'  
   OPTIONS CCID 'GEN-IT' COMMENTS "TEST SORT" OVERRIDE SIGNOUT  
    UPDATE BYPASS GENERATE PROCESSOR PROC GROUP '&C1PRGRP
 .  
/* 

For more information on writing processor please see the documentation:  https://docops.ca.com/ca-endevor-SCM/18-0/en/administrating/processors