IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Reentrant, Quasi-reentrant concept


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Thu Sep 09, 2010 3:57 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 09, 2010 4:02 pm
Reply with quote

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
View user's profile Send private message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Thu Sep 09, 2010 4:37 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Sep 09, 2010 5:29 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Sep 09, 2010 7:09 pm
Reply with quote

how about you explaining the concept,
after that we will provide you with an example.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 09, 2010 8:48 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 09, 2010 9:23 pm
Reply with quote

Correction - Assembler H is IEV90 --- HLASM is ASMA90.

Bill
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 09, 2010 11:12 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 09, 2010 11:30 pm
Reply with quote

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.... icon_wink.gif

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts JCL overriding concept JCL & VSAM 14
No new posts Image copy concept DB2 6
No new posts SRRCMIT concept for MQ COBOL Programming 6
No new posts EX instruction in a reentrant program? PL/I & Assembler 19
No new posts Is the concept of Tracker site availa... DB2 1
Search our Forums:

Back to Top