Howard,
To cancel a started task, you need to issue an OS "CANCEL CICSx" command,
not a JES2 "$CS1234" command.
>From the SDSF DA screen, there's a line command you can issue instead of "C"
(which usually generates $CS). I just can't remember which command line
character that is (and don't have a system handy to try), so please do me a
favor ... go into SDSF DA, then press PF1/Help and rummage around in the
Help Panels until you find the description of the available line commands
and what OS or JES2 command they issue. Then use that special line command
character to cancel your CICS region.

What causes a CICS region to hang on shutdown? 
In my experience, most often it was a hung terminal session (a user
"chickened out" of a session by stopping the 3270-emulator instead of
logging off). If it isn't too late yet (or next time it happens), see if you
can get CICS to show you a CEMT I TER and/or a CEMT I TAS. Using appropriate
CICS commands, force any hanging terminal off the system. This should allow
CICS to terminate normally.
In the last shop I worked for some years ago, they got around this problem
by running some automatic process that kicked in during shutdown. Any task
or process that didn't voluntarily go away after CEMT SHUT I was issued
would be nuked ... result: CICS would always shut down cleanly. But please
don't ask me specifics about this shutdown process and where to find it,
etc. I don't know that stuff. Maybe someone else can tell you ...


Regards,
Ulrich Krueger

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Howard Rifkind
Sent: Friday, October 31, 2008 14:38
To: [email protected]
Subject: Can't Cancel a CICS Region

Hello,
 
This might not be the right list for this question but here goes.
 
A CICS region which is part of an MRO group  isn't shutting down after a 'p
shut immed'
 
The other two regions TOR and an AOR did shutdown with the above command but
this one is hung.
 
>From an SDSF console I keyed in 'C' for the regions and saw the following
messages in the console:
 
$CS(7237)                                              
$HASP003 RC=(89),S(7237)  - JOB CANNOT BE CANCELLED    
$HASP003 RC=(52), 398                                  
$HASP003 RC=(52),S(7237)  - NO SELECTABLE ENTRIES FOUND
Any ideas how to get rid of this region...it's driving me crazy.  IPL's are
hard to come by so it's really important to shut this down and get it back
up.
 
Thanks.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to