I have a CICS program accessing IMS DB (DBCTL) . When two transactions accessing the same PSB (Schedules the same PSB) is invoked, one of them goes thru and the other gives me a staus code of 'TE' . (both transaction corresponds to the same CICS Program)
Why am I not able to schedule the same PSB in two different transactions concurrenlty? If it is not possible, then is there a solution?
I want high concurrency since its an online program. Can you please tell me a work around for this?
Enrico! I have gone thru theses manuals. They have been of no help for me. I know why we get a 'TE' . The problem here is when one transaction schedules a PSB another transaction is not able to schedule the PSB at the same time.
could this be a problem with the PGM or with the DRA setup?
If multiple CICS transactions or BMPs are to schedule a PSB concurrently, the APPLCTN macro for that PSB must specify SCHDTYP=PARALLEL. If you do not specify SCHDTYP=PARALLEL, only one transaction at a time will be able to schedule a PSB. You can change the SCHDTYP of a PSB using the online change process and the /MODIFY command, which you enter at the DBCTL console.
and IIRC You are going to get a DHTE CICS abend which corresponds to a TE return code
but everything as usual, depends on Your customization
so as I said before have Your support investigate better!