Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can we purge a running Natural program in infinite loop?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: Can we purge a running Natural program in infinite loop?
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    Post subject: Reply to: Can we purge a running Natural program in infinite
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

Site Director


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

PostPosted: Thu Jun 24, 2010 8:18 pm    Post subject:
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    Post subject: Reply to: Can we purge a running Natural program in infinite
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us