Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What is re-entrant in PL/I ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Athanga

New User


Joined: 29 Sep 2005
Posts: 9

PostPosted: Thu Sep 29, 2005 10:10 pm    Post subject: What is re-entrant in PL/I ?
Reply with quote

Can any one help me in understanding the reentrant logic inPL/I
Back to top
View user's profile Send private message

sumanthmain

New User


Joined: 22 Aug 2005
Posts: 14

PostPosted: Sat Oct 01, 2005 1:50 am    Post subject: Re: what is reentrant in PL/I ?
Reply with quote

reentrent in pl/1 is Like recursive funition. its like c progarms recursive funtion.

Recursive funtion in PL/1 IS POSSBILE.. but in cobol its not possible.

cheers
sumanth
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Sat Oct 01, 2005 11:34 am    Post subject:
Reply with quote

Hi,
Sumanth,reentrant and recursive are NOT the same.
Recursive:-Procedure calling itself.
Reentrant:-Procedure called by other procedures asynchronously.
Athanga,here is an example/explanation for reentrant.
Say,task2 invokes function1.Another task,task1 which is of higher priority than task2,wants to use function1.In this case,task2 is held and task1 uses function1.Once task1 is done,task2 which was held,starts using function1 from where it left and continues till the end.
Hope this helps...
Regards,
Sridevi.
Back to top
View user's profile Send private message
sumanthmain

New User


Joined: 22 Aug 2005
Posts: 14

PostPosted: Sat Oct 01, 2005 9:04 pm    Post subject: Re: what is reentrant in PL/I ?
Reply with quote

Thanks sridevi for ur correction.

I will appriciate regarding the prompt reply in form.

could u plz Explain where we can use in real time. ( about reentrant).


Cordially
sumanth
Back to top
View user's profile Send private message
Athanga

New User


Joined: 29 Sep 2005
Posts: 9

PostPosted: Mon Oct 03, 2005 11:14 pm    Post subject: Re: what is reentrant in PL/I ?
Reply with quote

Hi devi,

Even I read the same from the book...

I have seen this function only in PL/I online pgms, not on batch.

Is it somthing related to the CICS reentrant?

thks,
Aravind
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Wed Oct 05, 2005 2:52 am    Post subject:
Reply with quote

Obviously only in online programs like CICS,TELON.
Rgds,
Sridevi
Back to top
View user's profile Send private message
jawadshaik
Warnings : 1

New User


Joined: 27 Sep 2005
Posts: 16

PostPosted: Tue Oct 18, 2005 11:17 am    Post subject: MULTITASKING
Reply with quote

HI

can any one give me the programming example where multitasking is used as sridevi mentioned ( task and task2).

I would get the idea clearly if coding is provided

regards,

jawadshaik
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Assembler: A simple re-entrant progra... balimanja PL/I & Assembler 3 Thu Apr 07, 2011 4:42 pm
No new posts What is Re Entrant Program and what i... nijugopalan PL/I & Assembler 1 Thu Jul 20, 2006 10:21 am
No new posts Re-entrant VS Non-reentrant mehts007 CICS 4 Wed Dec 07, 2005 5:44 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us