View previous topic :: View next topic
|
Author |
Message |
atchuta konduri
New User
Joined: 25 Oct 2007 Posts: 16 Location: mumbai
|
|
|
|
Hi,
I am working on a cics dispatcher (A). It gets the input from a queue and at the end of each record processing it needs to call a module (B) with a linkage copybook. Now my question is my program A need not to wait for return from module B, it can continue with its next record processing from the input queue.
Is it possible? If so please explain me how? I don't think that program B name should be present in the program A's plan/dbrmlist. please correct me if I am wrong. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Have you looked at EXEC CICS START TRANSACTION? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
needs to call a module |
WTF are you tasked with a CICS problem when you don't understand basic COBOL?
you have no choice; if you use a CALL to prgm B, then A will wait until B returns/ends. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
So to do what you want to do, you have to look at alternatives to CALL . . . If you even attempt this at all. . .
Let's say there are 10000 queued "input messages" I suspect 10000 spontaneous transactions should not be dispatched as quickly as the queue can be read.
There may be something i am missing, but i suspect this is not a proper assignment/requirement for a trainee. . . |
|
Back to top |
|
|
|