Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to know the CICS tran triggered by batch job is complete

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to know the CICS tran triggered by batch job is complete
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: 8200
Location: East Dubuque, Illinois, USA

PostPosted: Fri Aug 14, 2009 12:29 am    Post subject:
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    Post subject: Reply to: How to know the CICS tran triggered by batch job i
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: 8200
Location: East Dubuque, Illinois, USA

PostPosted: Fri Aug 14, 2009 12:50 am    Post subject:
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    Post subject: Reply to: How to know the CICS tran triggered by batch job i
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

Site Director


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

PostPosted: Fri Aug 14, 2009 1:07 am    Post subject:
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: 8200
Location: East Dubuque, Illinois, USA

PostPosted: Fri Aug 14, 2009 4:28 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Aug 14, 2009 6:32 am    Post subject:
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    Post subject:
Reply with quote

recommend software product BatchCICS-Connect.

www.batchcics.com

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    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 Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts CA Intertest Batch 555shanth CA Products 0 Tue Nov 28, 2017 11:10 am
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts How to get complete URL from CICS Con... mbattu CICS 1 Tue Nov 14, 2017 11:59 pm
No new posts Integrating CICS applications craig2020 CICS 1 Sun Oct 29, 2017 6:49 pm

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