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

How to know the CICS tran triggered by batch job is complete


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

New User


Joined: 30 Mar 2006
Posts: 5

PostPosted: Thu Aug 13, 2009 11:26 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Aug 14, 2009 12:29 am
Reply with quote

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
View user's profile Send private message
sangramkesari_das

New User


Joined: 30 Mar 2006
Posts: 5

PostPosted: Fri Aug 14, 2009 12:38 am
Reply with quote

I want to know whether the transaction completed sucessfully or not?
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: Fri Aug 14, 2009 12:50 am
Reply with quote

OK, how do you tell in CICS that the transaction completed successfully now? The same method would apply.
Back to top
View user's profile Send private message
sangramkesari_das

New User


Joined: 30 Mar 2006
Posts: 5

PostPosted: Fri Aug 14, 2009 12:53 am
Reply with quote

I don't know how to kno wthat the transaction completed sucessfully. Please let me know.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 14, 2009 1:07 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Aug 14, 2009 4:28 am
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Aug 14, 2009 5:27 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 14, 2009 6:32 am
Reply with quote

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
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Mon Aug 17, 2009 5:23 am
Reply with quote

recommend software product BatchCICS-Connect.

Use [URL] BBCode for External Links

You can develop your own customized cobol programs to accomplish what
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 How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
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
Search our Forums:

Back to Top