View previous topic :: View next topic
|
Author |
Message |
sreevani_tummala
New User
Joined: 14 Aug 2006 Posts: 1
|
|
|
|
Could anybody let me know as to what compiler options should I be using to make a COBOL Program Re-entrant... |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
new2cobol
New User
Joined: 04 Jan 2006 Posts: 77 Location: Bangalore
|
|
|
|
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 |
|
|
john vijay
New User
Joined: 09 Mar 2006 Posts: 8 Location: hyderabad
|
|
|
|
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 |
|
|
|