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
 
Contention for db2table between CICS program and batch prog

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

New User


Joined: 07 Jul 2006
Posts: 4
Location: Texas

PostPosted: Thu Aug 10, 2006 3:20 am    Post subject: Contention for db2table between CICS program and batch prog
Reply with quote

In my application, an unload job runs on a DB2 table, say Table A while the CICS is up. This job is abending since the CICS Listener (which uses Table A for authorization) is holding it. The SQL query within the online program has 'WITH UR' and its also bound with a ISOLATION LEVEL = UR. The problem still exists.
Everytime I am bringing down the production region.
Can anyone help?
Back to top
View user's profile Send private message

raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Thu Aug 10, 2006 11:16 pm    Post subject: Re: Contention for db2table between CICS program and batch p
Reply with quote

first stop
-STOP DATABASE(dbname) SPACE(tspace)
run ur job
issue start
-START DATABASE(dbname) SPACE(tspace) ACCESS(UT)

cics cannot access during this time. no need to down cics i believe. (try!!)
Back to top
View user's profile Send private message
CHALLY

New User


Joined: 07 Jul 2006
Posts: 4
Location: Texas

PostPosted: Mon Aug 14, 2006 8:32 pm    Post subject: I want the CICS region up and running
Reply with quote

I need the CICS region up while this job is running. Bringing down the region is a temporary solution. I want to see to it that I give a premanent solution.
Back to top
View user's profile Send private message
CHALLY

New User


Joined: 07 Jul 2006
Posts: 4
Location: Texas

PostPosted: Tue Aug 15, 2006 11:18 pm    Post subject: Solved the issue
Reply with quote

Guys, I solved the issue. I coded a 'SYNCPOINT' just before the RETURN in the online program. This took care of releasing the resources immediately and the job ran fine.
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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm

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