ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Change Email addresses in Email Group for CA Scheduler

book

Article ID: 187261

calendar_today

Updated On:

Products

Scheduler Job Management

Issue/Introduction

How to do a mass change of email addresses in the Email Group for CA Scheduler?

Environment

Release : 11.0

Component : CA SCHEDULER MVS

Resolution


Use the batch CAJUTIL0 utility to make changes to the list of email address in an Email Group.

//STEP1    EXEC CAJUTIL0

//SYSIN   DD   *
ALTER   GROUP NAME='ACCTGROUP',ADDR='        
[email protected]                        
[email protected]'            
//                                          

The email address in the ADDR parameter will replace all existing list of email addresses.  


If you are making mass changes to email address such as a change email domain, here is the easiest way to accomplish the changes:

1.  Create a file, PDS or sequential with LRECL=80.

2.  Go to CA Scheduler online for the directory of email group.

3.  Use the copy and paste method to copy all the email group names:

ACCTGROUP

LEVEL1
PAYROLL
 


4.  Then replace each group name with each statement starting in column 1:

ALTER   GROUP NAME='ACCTGROUP',ADDR='  
ALTER   GROUP NAME='LEVEL1',ADDR='  
ALTER   GROUP NAME='PAYROLL',ADDR='  
 
   Use copy and paste method to copy all the email address after the group statement starting in column 1, and add single quote on the last email address:

ALTER   GROUP NAME='ACCTGROUP',ADDR='        
[email protected]                        
[email protected]' 

5. Repeat the process above for all email groups.   When completed, you may want to create another member just as a backup copy before you make any changes.

6. Do the mass changes as needed.

7. Run the CAJUTIL0 job using the PDS or sequential dataset as input in the SYSIN.