Jim, thank you so much!

I will plug this one in while I look at the other proposed solutions.


Cheers,,,Steve

Steven F. Conway, CISSP
Hosting Services Division, Cloud Technology and Hosting Office, 
AO-DTS-CTHO-HSD
z/OS Systems Support
Phone: 703-295-1926
Mobile: 703-402-2650
[email protected]



From:   Jim Ladouceur <[email protected]>
To:     [email protected]
Date:   03/07/2014 08:35 AM
Subject:        Re: OPS/MVS Command to Stop IDMS?
Sent by:        IBM Mainframe Discussion List <[email protected]>



Here's the REXX exec we use. We have multiple CVs so we loop thru the 
WTORs

/* REXX */ 
REPLY_NUM   = 0 
IDMS_CNT = 0 
VERSION_CNT = 0 
"OPSCMD C(D R,R) OUTPUT" 
DO WHILE QUEUED() > 0 
  PULL RESPONSE 
  PARSE VAR RESPONSE RID V1 V2 V3 V4 V5 V6 VIDMS VVERS. 
  IF VIDMS ¬= 'IDMS' THEN NOP 
  ELSE 
        DO 
          IDMS_CNT =  IDMS_CNT + 1 
          REPLY_NUM =  RID 
 
"OPSCMD C("REPLY_NUM",SHUTDOWN) OUTPUT" 
        END 
             END 
RETURN

Jim LaDouceur | Principal Systems Engineer || office: 508-598-4066 | 
[email protected]

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On 
Behalf Of Steve Conway
Sent: Friday, March 07, 2014 7:46 AM
To: [email protected]
Subject: OPS/MVS Command to Stop IDMS?

Morning, All.

Does anybody have a command to shut down IDMS regions by responding to 
their WTORs they are willing to share? 

I'm kinda pressed for time, and don't have a test region to test rules on, 
giving me one shot per night; it's not going quickly enough to keep 
everyone happy.


Cheers,,,Steve

Steven F. Conway, CISSP
Hosting Services Division, Cloud Technology and Hosting Office, 
AO-DTS-CTHO-HSD z/OS Systems Support
Phone: 703-295-1926
Mobile: 703-402-2650
[email protected]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email 
to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to