ADDRESS CASCHD fails with RC(-3)
search cancel

ADDRESS CASCHD fails with RC(-3)

book

Article ID: 261158

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

I am trying the OPS/MVS CASCHD environment for the first time.  I am getting a -3 return code indicating that GSS is not aware of the environment.  I have added the following command to the GSSA startup and cycled the started task.

ADDRESS CASCHD CAJCADDR 15 DETACH TYPE 0 

 

I did find the following statement in the OPS/MVS Using Guide.  I am not sure what is meant by this statement.  Scheduler uses Datacom.

To use ADDRESS CASCHD, you must allocate the Scheduler Master and tracking files to the GSS address space. 

This is the test REXX TRACE("R").

      4 *-* ADDRESS CASCHD                       
      5 *-* "LIST JOB NAME=PEARR*"               
        >>>   "LIST JOB NAME=PEARR*"             
        +++ RC(-3) +++                           
      6 *-* Do While Queued()                    
        >>>   "0"                                
     10 *-* Return                               
 ***                                             

 

Environment

Release : 14.0

Cause

The REXX issuing ADDRESS CASCHD was being run as a TSO REXX and not as an OPS/REXX.

The CASCHD host environment is specific to OPS/MVS.

Resolution

There are three requirements necessary to implement the CASCHD host environment in OPS/MVS.

1. The following Common Services components must be installed and operational:

GSS
FMID: CBYSE00
 
GREXX
FMID: CCF3E00
 

2. Allocate the Scheduler Master and tracking files to the GSS address space. (CA-Scheduler CAAXLOAD and CUSLIB libraries)

3. Add the following line to the GSS parameter member and recycle GSS:

ADDRESS CASCHD CAJCADDR 15 DETACH TYPE 0 

 

Once the above requirements have been met, then CA-Scheduler commands can be issued via an ADDRESS CASCHD statement in an OPS/REXX environment. Again, please note, this will not work when executed as a TSO REXX because TSO does not recognize the CASCHD host environment which results in RC(-3).

 

Additional Information

Software Requirements

OPS/REXX Interfaces

Integrating with CA Scheduler