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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
This topic is locked: you cannot edit posts or make replies. Natural ADABAS Opening with CTS enikhilk Mainframe Jobs 0 Wed Nov 30, 2016 5:37 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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