How to shutdown IDMS without replying to outstanding WTO
search cancel

How to shutdown IDMS without replying to outstanding WTO

book

Article ID: 241448

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

We are looking for ways to shutdown IDMS without replying to outstanding WTOR.

It would be tricky to determine in automation scripts which reply number to respond to.

We are hoping there is something similar to what they do for CICS which is the following z/OS modify operator command:

F &SUBSJOB,CEMT P SHUT

Environment

Release : 19.0

Component : IDMS/DB

Resolution

IDMS does not support the use of the z/OS MODIFY operator command. 

The only way to issue commands from the console is to reply to the outstanding WTOR from IDMS. See article 10030 How to execute CA-IDMS/DC commands at the operator console on how to do this.

The other way to shutdown the CV without signing on to a terminal is to submit a UCF Batch job which allows the execution of IDMS task codes from batch.
The UCF batch job can issue the DCMT SHUTDOWN command.
         
For information on UCF batch see documentation section Batch Front-end.
UCF batch requires the creation of a batch front-end module. The IDMS install delivers a UCF Batch front-end module called RHDCUCFB.
The UCF batch job uses an LTERM/PTERM from the UCFLINE and does an automatic signon to the CV.
Here is sample JCL to execute a UCF Batch job: 

//UCFBATCH EXEC PGM=RHDCUCFB 
//STEPLIB DD DISP=SHR,DSN=idms.custom.loadlib
//        DD DISP=SHR,DSN=idms.cagjload
//SYSDUMP DD SYSOUT=* 
//SYSLST  DD SYSOUT=* 
//SYSCTL  DD DISP=SHR,DSN=idms.sysctl
//SYSIDMS DD * 
DMCL=glbldmcl
//SYSIPT DD * 
DCMT SHUTDOWN
Y
/* 
//