View previous topic :: View next topic
|
Author |
Message |
sangramkesari_das
New User
Joined: 30 Mar 2006 Posts: 5
|
|
|
|
Hi,
I have a Batch job which submit CICS transaction in production env. Please let me know how can I know that the transaction submitted by batch is complete.
Thanks in advance.
Thanks,
Sangram |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Are you wanting the batch job to know when the CICS transaction is done? Or are you just wanting to know when the transaction is complete in CICS? |
|
Back to top |
|
|
sangramkesari_das
New User
Joined: 30 Mar 2006 Posts: 5
|
|
|
|
I want to know whether the transaction completed sucessfully or not? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
OK, how do you tell in CICS that the transaction completed successfully now? The same method would apply. |
|
Back to top |
|
|
sangramkesari_das
New User
Joined: 30 Mar 2006 Posts: 5
|
|
|
|
I don't know how to kno wthat the transaction completed sucessfully. Please let me know. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
When the batch job "submits" the cics transaction, end the batch job.
When the cics transaction ends, submit the remainder of the batch job thru the internal reader. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
As Dick said, unless your transaction does something to signal it is done, there is nothing available to tell you that the task is complete. There may be a series of transactions invoked to complete different parts of the task and CICS won't know if the end of a single transaction means the entire thing is done or not. You have to determine when it is complete and what to do then -- CICS doesn't really provide you much support in that regard. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
What are you going to do when it completes successfully? What if it doesn't? How long is the batch job going to wait to find out? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Craig,
Quote: |
How long is the batch job going to wait to find out? |
[Humor On]
Forever, if necessary.
As this runs every several minutes, it will keep submitting/waiting until all of the batch initiators are in a wait state. . .
[Humor Off]
Such a proposition is rejected on well-managed systems. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
Back to top |
|
|
|