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
 

 

difference between reentrant & Qusi reentrant

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Thu Mar 03, 2005 11:48 am    Post subject: difference between reentrant & Qusi reentrant
Reply with quote

Hi all

i have some doubt's in cics,plz respond

1. i know what is reentrant, but what is qusi reentrant

2. difference between reentrant and qusi reentrant

3. what is serial reusability


Thanks
Siva
Back to top
View user's profile Send private message

ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Thu Mar 03, 2005 4:15 pm    Post subject:
Reply with quote

Hi Siva,

"reentrant: The attribute of a program or routine that allows the same
copy of the program or routine to be used concurrently by two or more
tasks."

"quasi-reentrant: The attribute of a CICS application program by which
it is serially reusable between calls on CICS facilities."

Also, CICS COBOL 2 programs must be reentrant whereas CICS OS/VS COBOL must be quasi-reentrant.

In detail...

"Reentrant" that means that the execution of a program may be suspended and the operating system will decide that a different task is to execute the exact same code that was suspended. A reentrant program will allow this activity harmlessly for any number of "simultaneous" uses. In the case of a multiprocessor it may be that a second task executes the code on a second CPU while the first execution continues on the first CPU.

Quasi-reentrancy in CICS is not as strong a condition as reentrancy.
In quasi-reentrancy the possible suspension points are only at EXEC
CICSs. That means that the code segment executed between any two EXEC CICS (calls for CICS services) need only meet the lesser condition
known as serially reusable. Quasi-reentrancy need not worry about
multiprocessor considerations. Only one CICS task executes at a time.

In the case of the COBOL compiler you should use the RENT, RES and
NODYNAM options when compiling for CICS. You will get a load module
that meets all conditions needed for CICS. You may need to consider
the difference between reentrant and quasi-reentrant only if you write
your own code in a language that doesn't automatically accommodate
reentrancy (assembler language for example).

Bye,
Reddy.
Back to top
View user's profile Send private message
meetsrk

New User


Joined: 13 Jun 2004
Posts: 85

PostPosted: Fri Mar 04, 2005 9:17 pm    Post subject:
Reply with quote

hi,

Reentrant and Quasi-reentrant are same.

Reentrant process under cics region is called Quasi-reentrant program.

Thru quasi-reentrant, we achieve puesdo conversation.
Back to top
View user's profile Send private message
appasi

New User


Joined: 12 Dec 2005
Posts: 20
Location: Bangalore

PostPosted: Thu Dec 15, 2005 7:45 pm    Post subject:
Reply with quote

A program which does not alter itself
even if the program is suspended and restarted
any number of times is known as reentrant
program.

Any reentrant program running under CICS
region is called as Quasi-reentrant program.
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Mon Dec 19, 2005 4:40 pm    Post subject:
Reply with quote

1. A reentrant program is coded to allow one copy of itself to be used concurrently by several tasks: it does not modify itself while running.

2. A quasi-reentrant program is serially reusable by different tasks. When it relinquishes control, it must be in the same state as when it received control. Such a program can modify itself while running, and is therefore not fully reentrant
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 Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm
No new posts Difference between -180 and -181 with... deepak_shrivastava DB2 4 Wed Jan 06, 2016 10:00 am


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