Quasi re-entrant in CICS.

Customer Information Control System. Middleware and MQ Series.
Post Reply
Chandar Bhan
New Member
Posts: 7
Joined: Wed Jan 20, 2016 9:21 am
India

Quasi re-entrant in CICS.

Post by Chandar Bhan »

Hi,

There is a concept of Quasi re-entrant in CICS. Is there a seeting we need to do to make a program a quasi retentrant? How do we tell CICS that a program is Quasi reentrant?

Thanks,
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1885
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Quasi re-entrant in CICS.

Post by Robert Sample »

Google is your friend. Googling quasi reentrant returns about 61,200 hits and one of them is https://www.ibm.com/support/knowledgece ... irent.html which has (emphasis added by me)
CICS runs user programs under a CICS-managed task control block (TCB). If your programs are defined as quasi-reentrant (on the CONCURRENCY attribute of the program resource definition), CICS always invokes them under the CICS quasi-reentrant (QR TCB). The requirements for a quasi-reentrant program in a multithreading context are less stringent than if the program were to run concurrently on multiple TCBs.

CICS requires that an application program is reentrant so that it guarantees consistent conditions. In practice, an application program might not be truly reentrant; CICS expects "quasi-reentrancy".

For example, application programs could modify their executable code, or the variables defined within the program storage, but these changes must be undone, or the code and variables reinitialized, before there is any possibility of the task losing control and another task running the same program.
Chandar Bhan
New Member
Posts: 7
Joined: Wed Jan 20, 2016 9:21 am
India

Re: Quasi re-entrant in CICS.

Post by Chandar Bhan »

Thanks Robert.

These changes are at system level but as a programmer that means we don't really need to make specific changes or do we?
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “CICS, Middleware and MQ Series.”