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

Can we purge a running Natural program in infinite loop?


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
silentarya

New User


Joined: 11 Mar 2007
Posts: 35
Location: Chennai

PostPosted: Thu Jun 24, 2010 3:29 pm
Reply with quote

Hi Guyz,

I have one program running in the Natural in CICS region.
I want to stop it.Is there a way we can do it from command prompt or any other way other than calling the OPs or DBA people.
Back to top
View user's profile Send private message
silentarya

New User


Joined: 11 Mar 2007
Posts: 35
Location: Chennai

PostPosted: Thu Jun 24, 2010 3:30 pm
Reply with quote

Just forgot to mention some how it is running in infinite loop because of bad code....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 24, 2010 8:18 pm
Reply with quote

Hello,

Calling ops or the dba is the normal way to terminate something. . .

It is ok to tell people we made a mistake - it is not ok to (try to) hide it. . .
Back to top
View user's profile Send private message
Ralph Zbrog

New User


Joined: 21 Nov 2009
Posts: 58
Location: California

PostPosted: Thu Jun 24, 2010 9:24 pm
Reply with quote

Why ask someone to do something that you can do yourself? This is a simple matter, if you have the proper authorization and access rights.
    1 Logon to Natural in the same CICS region as the runaway user
    2 Execute SYSEXT
    3 Use PF8 to scroll to USR4006P
    4 Line command (Cmd field) X to execute USR4006P
    5 Selection type U, for user ID; N to display (not kill) sessions
    6 Enter the runaway user ID (in upper case)
    7 If Step 6 works (ie sessions were displayed), eXecute USR4006P again, setting the second parameter to Y to kill the sessions
Do not abuse this utility!
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 -> Java & MQSeries

 


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
This topic is locked: you cannot edit posts or make replies. REXX - Do - Not able to LOOP CLIST & REXX 10
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top