View previous topic :: View next topic
|
Author |
Message |
karthi_ind
Active User
Joined: 24 Feb 2004 Posts: 131 Location: Chennai
|
|
|
|
Hi all,
Can someone pls explain about Reentrant, Quasi-reentrant concept with examples. I have already gone thru the basics of these things. I want to understand this with example. Can someone help me out.
Thanks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
I just Googled "re-entrant" and got over 1,300,000 hits. I'm sure at least one or more of these hits should suffice and take you in the right direction.
Bill |
|
Back to top |
|
|
karthi_ind
Active User
Joined: 24 Feb 2004 Posts: 131 Location: Chennai
|
|
|
|
Hi,
I have googled and understand the concept, but I didnt find any examples for that, so if there is an explanation with an example, that it would be helpful for me.
Thanks |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
when you pull out of your garage and the door stays open, it is re-entrant.
but, if the door closes, it is not. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
how about you explaining the concept,
after that we will provide you with an example. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Also, if COBOL, what version/release (OS/VS COBOL was not reentrant) and reentrancy began with VS/COBOL II (its successor). If Assembler, tell us whether it's command-level CICS or Batch as well as whether it's Assembler H (IFOX00) or HLASM (IEV90). Should be IEV90....
Bill |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Correction - Assembler H is IEV90 --- HLASM is ASMA90.
Bill |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
If Assembler, tell us whether it's command-level CICS or Batch as well as whether it's Assembler H (IFOX00) or HLASM (IEV90). Should be IEV90.... |
I dare to say that for assembler ... which assembler CICS(*)/batch
are irrelevant to the reentrancy/quasi reentrancy
all depends on how the program is coded
anyway reentrancy for assembler can be checked by assembler itself
quasi-reentrancy not
(*) IIRC the CICS and also the DB2 preprocessors were smart enough to always produce reentrant coding ( irrelevant of the coding style and assumptions )
I' ll check and let You all know in a few days |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
True, Batch reentrancy is not a big deal, but CICS is definitely. Most likely (if he's writing Assembler), he's using ASMA90. Doubtful it's IEV90, but you never know.
Yes, the RENT Assembly option will raise re-entrancy issues, especially trying to overwrite program-storage. For CICS, storage-overwrites should only occur with reentrant-storage defined under DFHEISTG.
Was being overly thorough....
Bill |
|
Back to top |
|
|
|