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
 

 

RTIMOUT parm in CICS

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

New User


Joined: 31 Aug 2008
Posts: 4
Location: Singapore

PostPosted: Mon Oct 19, 2009 9:16 am    Post subject: RTIMOUT parm in CICS
Reply with quote

Hi, we updated RTIMOUT parm of our CICS transaction profile to force AZCT abend when transaction is idle for 10 minutes. In the program's abend handler, we issue an abend when AZCT is issued. How can we go about forcing the transaction to sign out of cics and return to session manager after the abend?

Thanks.
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Oct 20, 2009 5:32 am    Post subject: Reply to: RTIMOUT parm in CICS
Reply with quote

Is a user-written DFHPEP being invoked?

The DFHPEP commarea will contain the current and original abend-code, along with other information, such as the complete snapshot of the user's DFHEIBLK.

However, you can't sign-off a transaction. You can only sign-off a user.

With that, I'm unsure what you're referring to with the following -

Quote:

How can we go about forcing the transaction to sign out of cics and return to session manager after the abend?


Bill
Back to top
View user's profile Send private message
Norman Real

New User


Joined: 31 Aug 2008
Posts: 4
Location: Singapore

PostPosted: Tue Oct 20, 2009 7:50 am    Post subject:
Reply with quote

Hi Bill, no it's not a user-written DFHPEP. Sorry, what I meant was sign off the user and terminate the transaction (as if issuing a CESF LOGOFF).
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 21, 2009 5:42 am    Post subject: Reply to: RTIMOUT parm in CICS
Reply with quote

You can code EXEC CICS ASSIGN ABCODE in your program/transaction and if the user is still signed-on, then after obtaining the ABCODE and it's the one you're looking for, issue an EXEC CICS SIGNOFF.

Or, instead of the signoff, you could try an EXEC CICS ISSUE DISCONNECT.

If you're using CA-Top Secret, I believe they offer a programmable interface which you LINK-TO and issue a SIGNOFF.

Not sure about RACF or ACF2.

Bill
Back to top
View user's profile Send private message
Norman Real

New User


Joined: 31 Aug 2008
Posts: 4
Location: Singapore

PostPosted: Wed Oct 21, 2009 6:55 pm    Post subject: Reply to: RTIMOUT parm in CICS
Reply with quote

Thanks Bill, will try out your suggestion then feedback how it goes icon_smile.gif
Back to top
View user's profile Send private message
Norman Real

New User


Joined: 31 Aug 2008
Posts: 4
Location: Singapore

PostPosted: Thu Oct 22, 2009 9:37 pm    Post subject:
Reply with quote

Hi Bill, the solution we implemented is issuing the following commands in this order :

EXEC CICS SET TERM RELEASED
EXEC CICS ABEND
EXEC CICS RETURN

Immediately after idle timeout is hit, transaction ends and exits from CICS.

In the IBM manual, it mentioned that AZCT should be handled by issuing an ABEND to clear the TCTTE entries (?).

Initially the code was implemented without issuing the ABEND, after a few AZCT abends in the system, CICS would automatically restar and ATNB abends were issued as well. Any idea why repeated AZCT/ATNB abends caused the CICS to go down? TIA.
Back to top
View user's profile Send private message
harish5002

New User


Joined: 21 Jul 2010
Posts: 23
Location: chennai

PostPosted: Wed Feb 22, 2012 5:38 pm    Post subject: Reply to: RTIMOUT parm in CICS
Reply with quote

Hi,

I am very new for CICS. We are facing AZCT in CICS. I need to provide reason for the abend. Finally i got the information from this forum. I like this forum very much.

We are using the following command at the begging of CICS program.

EXEC CICS ABEND
CANCEL
ABCODE('TWAL')
END-EXEC.

Still we are facing the abend AZCT. Can u please suggest how to find the reason for this abend and how to avoid this problem. It will very very helpful. Please help me how to proceed.

Thanks in advance.....
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Feb 22, 2012 6:37 pm    Post subject: Reply to: RTIMOUT parm in CICS
Reply with quote

Before issuing this user-abend, save the current DFHEIBLK in WS (length=85), along with an eyecatcher, so you can find it easily in the transaction-dump.

This will preserve the last API results and could give you information which may lead you to the reason for issuing this user-abend.

I'm not a big fan nor an advocate of user-abends.

Speak with your CICS Sysprog and/or Tech Services personnel about printing the transaction-dump as well as setting up a Trace using IBM transaction CETR.

You can also walk the transaction through CEDF, although this may be considered "Old School", you'll find that it works as advertised.

Mr. Bill
Back to top
View user's profile Send private message
harish5002

New User


Joined: 21 Jul 2010
Posts: 23
Location: chennai

PostPosted: Fri Feb 24, 2012 11:02 am    Post subject: Reply to: RTIMOUT parm in CICS
Reply with quote

Thanks Bill.....

I think we are doing the same as below:

EXEC CICS ASSIGN
TWALENG(CICS-TWA-LENGTH)
END-EXEC.

is it fine or we need to code any other than this.
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 CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


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