Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Started transaction enters "first dispatch wait" state

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

REXX Moderator


Joined: 13 Mar 2006
Posts: 1349
Location: Israel

PostPosted: Sun May 31, 2020 2:14 pm    Post subject: Started transaction enters "first dispatch wait" state
Reply with quote

Hello
The transactions I am developing are behaving unexpectedly.

Here is what happens:
Transaction LONG is supposed to be a long-running transaction. It listens to an IP socket and starts transaction DOIT whenever a message arrives.
But, instead of running and finishing in a split second, transaction DOIT enters "first dispatch wait" state, and becomes active only if I take LONG down.

Because I am still in an early stage of testing, I start LONG from my terminal, I also have tried CECI START locally and remotely, but the behavior doesn't change.

I checked definitions, nothing stands out and I am out of ideas. What do I miss ?
Back to top
View user's profile Send private message

Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1076
Location: Dublin, Ireland

PostPosted: Tue Jun 02, 2020 12:53 pm    Post subject:
Reply with quote

Since "DOIT" is in a wait until you terminate "LONG", it would suggest that "DOIT" may be waiting for the terminal which is hekl by "LONG". Does the "LONG" task issue the EXEC CICS START specifying the termid? (Or perhaps there is another resource which both require?)

Garry
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1349
Location: Israel

PostPosted: Tue Jun 02, 2020 2:27 pm    Post subject:
Reply with quote

After many changes and tests, I thought that I found my mistake here: cics system wait and not getting dispatched

I recompiled the LONG program with the INCLUDE EZACICAL, I bounced the CICS and retried.
Unfortunately, I still have an excessively long "QR TCB elapsed time" in the LONG transaction, and the started DOIT transactions are still delayed.

Now I really start to be out of ideas icon_sad.gif
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1349
Location: Israel

PostPosted: Tue Jun 02, 2020 6:11 pm    Post subject:
Reply with quote

Never really out of ideas, I realized I was still using the batch version of EZASOKET.

Because, somehow, sometime, I changed all
Code:
CALL 'EZASOKET' USING...
to
Code:
CALL WS-SOCKET-ROUTINE USING...

That made the call a dynamic one, and that is why I always ended running the wrong EZASOKET program.

Conclusion:
When working with sockets under CICS,
1. you must use static calls in the programs
2. you must include EZACICAL in the binder.

Lesson learned (the hard way).
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 special characters pipes "|"... VINAY PALLELA COBOL Programming 1 Mon Jun 08, 2020 9:19 am
No new posts Need help in locating program and tra... Smita.t2 IMS DB/DC 1 Wed Apr 29, 2020 6:33 pm
No new posts Transaction xxxx abend D106 Andi1982 CICS 1 Fri Apr 03, 2020 1:38 pm
No new posts Call a transaction simulator froma st... John F Dutcher IMS DB/DC 0 Wed Jan 22, 2020 10:54 pm
No new posts Invoking a CICS transaction from a no... danik56 CICS 7 Thu Dec 19, 2019 7:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us