How to do an ENDEVOR mass RETRIEVE and ADD of TYPE=JCL
search cancel

How to do an ENDEVOR mass RETRIEVE and ADD of TYPE=JCL

book

Article ID: 202070

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Need to make a change to all the JCL elements and looking for a way to do a mass Retrieve of all the JCL elements to an external PDS library.  And once all the changes have been made, looking for a way to Add them all back.

Environment

Release : All Supported versions

Resolution

The best way to do a Mass action in Endevor like Add or Retrieve is to use the Endevor Batch facility.
 
1) Log into Endevor and go to 3 Batch
 
2) On the Batch Options Menu panel specify:
       1  BUILD SCL       and specify the library and member name where the generated SCL is to be saved.
            <ENTER>
 
3) On the BUILD SCL select 3 RETRIEVE
 
4) Fill in the RETRIEVE ELEMENTS panel information -
           From Location - Environment, Type, ....
           To Library
 
          Go to  the selection list.  Does the list look right?
          If so, PF3 out and change the Display List option from Y to N:                  
                     DISPLAY LIST            ===> N
 
          This will generate the Retrieve SCL for all the elements.
 
5) PF3 and it will tell you how may SCL statements were built in the upper right :
           xx REQUEST(S) BUILT
 
6) PF3 again and do a 2 EDIT to review the SCL built. Modify it if necessary.
 
7) When the SCL is good, do a 3 SUBMIT to run the Retrieve actions.
 
 
Once the updates have been made, use the same procedure to perform a mass Add of the elements back into Endevor.
 
1) Log into Endevor and go to 3 Batch
 
2) On the Batch Options Menu panel specify:
       1  BUILD SCL       and specify the library and member name where the generated SCL is to be saved.
            <ENTER>
 
3) On the BUILD SCL select 2  ADD/UPDATE
 
4) Fill in the ADD/UPDATE ELEMENTS panel information -
           To Location - Environment, Type, ....
           From Library
 
          Go to  the selection list.  Does it look right?
          If so, PF3 out and change the Display List option from Y to N:                  
                     DISPLAY LIST            ===> N
 
          This will generate the Add SCL for all the elements.
 
5) PF3 and it will tell you how may SCL statements were built in the upper right :
           xx REQUEST(S) BUILT
 
6) PF3 again and do a 2 EDIT to review the SCL built. Modify it if necessary.
 
7) When the SCL is good, do a 3 SUBMIT to run the Add actions.