Issue with DDNAME REXXOPS in CA OPS/MVS Event Management and Automation

Document ID : KB000072492
Last Modified Date : 01/03/2018
Show Technical Document Details
Issue:
When I go to option 6 in OPSMVS to issue a command I get: I thought I had seen OP600000 in library SYS.CAOPSMVS.V12.CCLXEXEC. Any reason it cannot find it?

Error: Cannot find program OP600000 REXXOPS DDNAME is not allocated CLOSE OF REXXOPS FAILED, RC=8

This is the OPMVS JCL we run:
//OPSMVS PROC SSID=OPSS,
// MAINPRM=NONE,
// MEMBER=00,
// LOADLIB='SYS.CAOPSMVS.V12.CCLXLOAD'
//IEFPROC EXEC PGM=OPINMA,REGION=4M,TIME=1440,DYNAMNBR=100,
// PARM='&SSID.&MEMBER,&MAINPRM'
//STEPLIB DD DISP=SHR,DSN=&LOADLIB
//SYSPROC DD DISP=SHR,DSN=SYS.CAOPSMVS.V12.CCLXCLS0
//SYSEXEC DD DISP=SHR,DSN=SYS.CAOPSMVS.V12.CCLXEXEC
//REXXOPS DD DISP=SHR,DSN=SYS.CAOPSMVS.WREXX
//SYSDUMP DD SYSOUT=Z
//SYSPRINT DD SYSOUT=Z
//SYSTSIN DD DUMMY,DCB=(RECFM=FB,LRECL=80,BLKSIZE=80)
//SYSTSPRT DD UNIT=SYSDA,SPACE=(CYL,(1,1)),DSN=&&TEMP,
// DCB=(RECFM=VBA,LRECL=137,BLKSIZE=141)
//CAHBEXCL DD DUMMY No HyperBuf intercepts
//* ALLOCATION DONE IN OPSSPA00 MEMBER IN SYS1.PARMLIB
Environment:
CA OPS/MVS 12.1
OPSVIEW OPTION 6
TSO/ISPF
Cause:
The allocation needs to be done for the TSOUSER can have a access to all of the datasets needed when using OPSVIEW. The missing OPS/MVS program is in the hlq.CCLXEXEC dataset. If you have used the REXXDDNAME parameter to point to the ddname REXXOPS instead of SYSEXEC, then that DDNAME needs to be allocated with the REXX library datasets (system and user) for the TSOUSER using OPSVIEW.
 
 
Resolution:
Add the REXXOPS DD statement to the TSO PROC.

See Make OPSVIEW Facilities Available Under TSO documentation .
This documentation gives you the option to allocate via a change to the TSO logon procedure or using LIBDEFS. Look for the reference to REXXDDNAME.
Additional Information:
REXXDDNAME
This function defines SYSOEXEC as the ddname CA OPS/MVS uses to locate the source REXX program. OPSPRM('SET','REXXDDNAME','SYSOEXEC')