IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How do you cancel a running CICS Job using Xpediter


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pAcho

New User


Joined: 23 Oct 2006
Posts: 4
Location: Philippines

PostPosted: Thu Mar 01, 2007 8:20 pm
Reply with quote

How do you cancel a job in Xpediter?

I can't Xpedite a particular module because it always display an error of REQUESTED PROGRAM 'XXXXXXXX' IS IN USE..TRY LATER. I tried to compile it in TSO but to no avail.

Thanks,
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Mar 05, 2007 3:01 am
Reply with quote

The question is not clear.
CICS job - I dont understand what u mean by CICS job, CICS program or CICS region?

Give more details it may in resolving your issue.
Back to top
View user's profile Send private message
pAcho

New User


Joined: 23 Oct 2006
Posts: 4
Location: Philippines

PostPosted: Tue Mar 06, 2007 12:45 pm
Reply with quote

I'm running the Xpediter to debug a module in CICS region, and suddenly my connection got cut off. Now I can't run the module anymore, everytime i enter the command NEWC it displays an error
Quote:
REQUESTED PROGRAM 'XXXXXXXX' IS IN USE..TRY LATER
This I think is because the Xpediter is still running for this particular module.

How do I kill the execution in CICS so I can make a new copy?

Thanks,

pAcho
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Mar 06, 2007 12:49 pm
Reply with quote

Go to CICS and check the running tasks and then do purge.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Mar 06, 2007 1:05 pm
Reply with quote

Either it is in use or its use count is larger than zero. If the first, cancel the transaction, if the second, reduce the use count.
Back to top
View user's profile Send private message
pAcho

New User


Joined: 23 Oct 2006
Posts: 4
Location: Philippines

PostPosted: Tue Mar 06, 2007 5:32 pm
Reply with quote

It's not working. I tried to purge the tasks but it displays 'PURGE FAILED', can't view the error. I even attempted to force purge the task but it's useless.

Tas(0000074) Tra(TT01) Fac(Z125) Sus Ter Pri( 000 ) PURGE FAILED
Sta(TP) Use(C001492 ) Uow(C040CE3C6F855649) Hty(ZCIOWAIT)


Any more ideas?

Thanks
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Mar 06, 2007 9:04 pm
Reply with quote

If this is development CICS region then try to shutdown and restart or talk to your System Admin Group to cancel this task.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Mar 06, 2007 11:42 pm
Reply with quote

The ZCIOWAIT should be the clue, things generally won't purge while in a hardware wait..... See if you can get VTAM to issue the terminiation.
Back to top
View user's profile Send private message
pAcho

New User


Joined: 23 Oct 2006
Posts: 4
Location: Philippines

PostPosted: Sat Mar 10, 2007 9:53 pm
Reply with quote

Thanks to those who replied, very much appreciated.
Back to top
View user's profile Send private message
cooldebi

New User


Joined: 19 Apr 2006
Posts: 18
Location: mumbai

PostPosted: Tue Mar 20, 2007 10:07 pm
Reply with quote

Hi,
I am facing the same problem. Can anybody please tell me how to purge the CICS task? I am trying Release Prog('xxxxxx') . But I am getting INVREQ as response. When I tried to do NEWC it is showing ..the program is in use try later.

Thanks
Back to top
View user's profile Send private message
munikumar
Currently Banned

New User


Joined: 18 Apr 2007
Posts: 24
Location: India

PostPosted: Fri Apr 27, 2007 9:52 am
Reply with quote

Hi,

First you issue

CEMT INQ TASK
--this will display the list of tasks that are currently running/active.
--see your task (it will also shows userid, transaction id) and give "PO" at right of the line to force purge the task.

Regards
Munikumar G
Back to top
View user's profile Send private message
munztah

New User


Joined: 25 Jul 2006
Posts: 3

PostPosted: Fri Jul 06, 2007 3:31 pm
Reply with quote

CECI REL PROG(programname) will do the trick.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top