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
 

 

Reentrancy in Cobol Programs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
sreevani_tummala

New User


Joined: 14 Aug 2006
Posts: 1

PostPosted: Mon Aug 14, 2006 11:39 am    Post subject: Reentrancy in Cobol Programs
Reply with quote

Could anybody let me know as to what compiler options should I be using to make a COBOL Program Re-entrant...
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Aug 14, 2006 2:09 pm    Post subject:
Reply with quote

You can find it in the fine manual.

O.
Back to top
View user's profile Send private message
new2cobol

New User


Joined: 04 Jan 2006
Posts: 77
Location: Bangalore

PostPosted: Tue Aug 15, 2006 7:34 pm    Post subject: Re: Reentrancy in Cobol Programs
Reply with quote

So if I have a cobol program calling other programs, can I keep the working storage of the called program resident in memory, if I make it re-entrant ?

Do I need to use run time options like HEAP, other than the compiler options RENT, RMODE & DATA to make this happen?
Back to top
View user's profile Send private message
john vijay

New User


Joined: 09 Mar 2006
Posts: 8
Location: hyderabad

PostPosted: Wed Aug 30, 2006 5:22 pm    Post subject:
Reply with quote

A reentrant program, while being executed in the common virtual area so that once copy of it amy be shared among all callers. i thnk u can use RENT compiler option.

RENT is required for CICS programs. RENT causes the compiler to produce rentrant code and allow u to place cobol modules in the LPA or ELPA and thus shared among multiple address space under CICS. These modules cannot be overwritten, since LPAand ELPA are read-only storage.
note: LPA indicates link pack area.

i just gave a trail. pls correct me if i am wrong.

Victory goes to those who dare and act and seldom to timid
----john vijay
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am


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