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
 

 

Reentrant, Quasi-reentrant concept

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Reentrant, Quasi-reentrant concept
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 09, 2010 4:02 pm    Post subject: Reply to: Re-entrant
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    Post subject: Reply to: Re-entrant
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: 6967
Location: porcelain throne

PostPosted: Thu Sep 09, 2010 5:29 pm    Post subject:
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: 6967
Location: porcelain throne

PostPosted: Thu Sep 09, 2010 7:09 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 09, 2010 8:48 pm    Post subject: Reply to: Reentrant, Quasi-reentrant concept
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 09, 2010 9:23 pm    Post subject: Reply to: Reentrant, Quasi-reentrant concept
Reply with quote

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

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Sep 09, 2010 11:12 pm    Post subject: Reply to: Reentrant, Quasi-reentrant concept
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Sep 09, 2010 11:30 pm    Post subject: Reply to: Reentrant, Quasi-reentrant concept
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    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 JCL overriding concept s.saranya srinivasan JCL & VSAM 14 Wed Oct 07, 2015 4:07 pm
No new posts Image copy concept sravz chinnu DB2 6 Thu Apr 19, 2012 5:10 pm
No new posts SRRCMIT concept for MQ kunal jain COBOL Programming 6 Mon Mar 19, 2012 1:20 pm
No new posts EX instruction in a reentrant program? Bill Woodger PL/I & Assembler 19 Tue Jun 07, 2011 11:32 am
No new posts Is the concept of Tracker site availa... dejunzhu DB2 1 Sun Apr 10, 2011 4:27 pm


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