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 Reg:Displaying the particular month o... bhavana yalavarthi All Other Mainframe Topics 4 Sat Jul 08, 2017 8:13 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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