Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts DB2 utilities, contention or failure? sheersh DB2 2 Fri Apr 21, 2017 6:18 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us