IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CICS program got TIMEOUT when CONVERSE(APPC) to AIX


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Gumb

New User


Joined: 24 Feb 2010
Posts: 3
Location: ShenZhen,China

PostPosted: Sat Feb 25, 2012 2:12 pm
Reply with quote

hi ,

i got a problem when my program CONVERSE(APPC) to AIX. The code as below:
step 1. EXEC CICS ALLOCATE SYSID(XXXX) END-EXEC (not specify the profile)
step 2. EXEC CICS CONNECT PROCESS PROCNAME(XXXX) PROCLENGTH(4) SYNCLEVEL(0) CONVID(XXXX) END-EXEC
step 3. EXEC CONVERSE CONVID(XXXX) FROM(IN-AREA) FROMLENGTH(IN-LEN) INTO(OUT-AREA) TOLENGTH(OUT-LEN) STATE(XXXX) END-EXEC

according to the AIX's log, AIX receive the data at 13:05:44, send back at 13:11:25, and my transaction come back at 13:08:46, it means the data i got from step3 is not sent by AIX. Then i simulate this case in development environment, AIX hold the transaction for 20 minutes when it start, the CONVERSE got the return after 3 minutes.

the result of step3: 'EOC' response & STATE=85(FREE) & TOLENGTH=zero

My question is who set the 3 minutes limit, VTAM or CICS or other?

i have spent one week on it, plz help, thanks in advance.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Sun Feb 26, 2012 7:16 am
Reply with quote

You should speak with your MVS System Programmer to setup a VTAM Buffer Trace. It should show you where the hangup location is or at least, give you a better idea where the hangup could possibly be happening.

APPC/LU6.2 is inherently half-duplex and the conversations must adhere to this discipline. This is why the correct conversational state is mandatory. If the states are equal, then they are banging their heads together.

Off the top of my head, I would first ensure that the Mode Table Entry is correct and both conversations bind.

Your VTAM System Programmer will be helpful as well, ensuring the definitions are correct. Your AIX administrator should be involved from the RISC/6000 side of the house.

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

New User


Joined: 24 Feb 2010
Posts: 3
Location: ShenZhen,China

PostPosted: Sun Feb 26, 2012 8:26 am
Reply with quote

Dear Bill,

thanks very much for your reply.

Bill O'Boyle wrote:
Off the top of my head, I would first ensure that the Mode Table Entry is correct and both conversations bind.

Your VTAM System Programmer will be helpful as well, ensuring the definitions are correct. Your AIX administrator should be involved from the RISC/6000 side of the house.

Mr. Bill


if AIX send back in 3 mins, CICS got the right data and length sent by AIX, once the interval exceed 3 mins, CICS also got the same response and state, but the data are all space and length is zero.

The definition and connection are ok, i have check the RTIMOUT=NO in default profile of the ALLOCATE. Are there any other places for CICS to set the time limit ?

btw, this forum is good. you could learn and tell here. thank you all.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Feb 26, 2012 9:04 am
Reply with quote

Quote:
if AIX send back in 3 mins, CICS got the right data and length sent by AIX, once the interval exceed 3 mins, CICS also got the same response and state, but the data are all space and length is zero.

The definition and connection are ok, i have check the RTIMOUT=NO in default profile of the ALLOCATE. Are there any other places for CICS to set the time limit ?
This sounds very much like you have decided what the problem is and want an answer that conforms to your problem. If this is the case, why bother anyone on this forum -- just assume whatever answer you want and go from there?

If this were MY problem, I would START by looking into:
- VTAM time out setting on the mainframe
- TCP/IP time out setting on the mainframe
- router time out setting in the network
- switch time out setting in the network
- verifying the APPC connection existed in CICS
BEFORE I ever considered anything with the CICS time out settings. I used to work for a software vendor that sold APPC solutions, and I was involved in installing plenty of them, and while they are slick when they work -- getting them to work can be a royal pain, especially since there are a number of places within most networks where timeout values can have an impact -- and finding the right one (either in the network or on the mainframe) can require some very good tools, or a lot of trial-and-error.
Back to top
View user's profile Send private message
Gumb

New User


Joined: 24 Feb 2010
Posts: 3
Location: ShenZhen,China

PostPosted: Sun Feb 26, 2012 10:05 am
Reply with quote

Dear Robert, Bill,

thanks for your kind suggestion. i apologize if my post bring you any trouble.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sun Feb 26, 2012 4:11 pm
Reply with quote

Quote:
post bring you any trouble.


Gamb,

it is not trouble, it is frustration.

you ask a question,
get an answer,
ignore the advice,
and ask the question again,
apparently hoping for the answer that you want.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top