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
 

 

Automate Purging of online Exped Session

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
yogesh suryawanshi

New User


Joined: 04 Mar 2013
Posts: 16
Location: India

PostPosted: Thu Aug 22, 2013 10:14 am    Post subject: Automate Purging of online Exped Session
Reply with quote

We are facing problem of hanging online Xped sessions because of programmers forgetting to release modules or exiting online exped. Testers are not able to start testing early in morning.

Is there a way to automate purging such hanging XPED sessions ?
Back to top
View user's profile Send private message

colin777

New User


Joined: 06 Jun 2013
Posts: 19
Location: Singapore

PostPosted: Thu Aug 22, 2013 12:20 pm    Post subject:
Reply with quote

Hi,

I'm not making any assumptions from your CICS question, because you dont explain, whether these XPED transactions are still there during Shutdown of CICS or that they are there and holding some other process.

So if it is the Shutdown, then investigate the SDTRAN option in the SIT. This allows you take control during the shutdown of CICS and perform your own processing, such as terminating tasks. The default Transaction is CESD. This is referred to as the Shutdown Assist transaction.

The CEKL transaction can also help in this situation. It can only be used from the Master Console, in situations where you cannot use CEMT. Using the Master Console in CICS uses the CQ TCB, so is not subject to normal CICS processing or Hang on the QR TCB.

HTH

Colin777
Back to top
View user's profile Send private message
yogesh suryawanshi

New User


Joined: 04 Mar 2013
Posts: 16
Location: India

PostPosted: Thu Aug 22, 2013 12:33 pm    Post subject: Automate Purging of online Exped Session
Reply with quote

Hi Collin..

Programmers usually expediate modules and they are fogetting to closed XPED sessions. We are working in offshore hours (India) , so when Business UAT testers come at work during USA morning shift hours they can not perform testing because of such hanging XPED session.

We have communicated programmers and asking them to close XPED sessions. But sometimes programmers are forgetting to do it.

So I want to create macro or something which will run automatically during end of offshore shift and will close any XPED sessions which are hanging. This way Business UAT testers will be able to start their work on time wothout any delays.

So I wanted to know if anybody has done such thing already.
Back to top
View user's profile Send private message
colin777

New User


Joined: 06 Jun 2013
Posts: 19
Location: Singapore

PostPosted: Thu Aug 22, 2013 1:01 pm    Post subject:
Reply with quote

HI,

Ok, so look at EXEC CICS INQUIRE TASK and EXEC CICS SET TASK. The first command will return all the current tasks in the System and the second will give you the option of purging those tasks that meet some criteria. If you place these commands into a Program, and define a Transaction (let's call it transaction A) for that program, then you can have another transaction that simply issues an EXEC CICS START TRANS(A) AT(hhmmss).

If CICS comes down, this process can be added to the PLTPI so that it's always available when CICS comes up.

For the program that issues the EXEC CICS SET TASK PURGE, you might want to write a record of each task purged to Transient Data destination CSML. This way you will have a record of which transactions were purged.

This will make for a good Audit/review later. You will have to notify that your transaction contains SP commands. This may need CMDSEC in the transaction definition to be specified, especially for security purposes. Do make sure that all transactions involved in this have the appropriate security specified.
Back to top
View user's profile Send private message
yogesh suryawanshi

New User


Joined: 04 Mar 2013
Posts: 16
Location: India

PostPosted: Thu Aug 22, 2013 2:17 pm    Post subject:
Reply with quote

Thank you
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Thu Aug 22, 2013 6:42 pm    Post subject:
Reply with quote

I would add a step to either disable the user that leaves it hanging, or create a report of same.

A little shame can go a long way!

We used to make the programmer that locked up the region buy donuts the next day. When the screen would lock up, people would start saying "I smell donuts!" After I did that once, I checked my code a LOT closer before running it.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts 24x7 online logs using DSN1LOGP (simi... SRICOBSAS DB2 3 Thu Aug 18, 2016 11:52 am
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm
No new posts Online Assembler Program Starting point Aditya.Srivastava PL/I & Assembler 4 Fri Jul 08, 2016 6:48 pm
No new posts JES Dataset for Input to Online System amitc23 JCL & VSAM 1 Mon Apr 25, 2016 4:02 pm
No new posts GSAM from IMS online Appu IMS DB/DC 4 Tue Dec 29, 2015 6:25 pm


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