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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm


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