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
 
Where do we use LTORG

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

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Thu Aug 24, 2006 10:24 am    Post subject: Where do we use LTORG
Reply with quote

All,

Where do we use LTORG, I can understand that it is useful in case of arrays.Anyother place it is used ???

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

Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Fri Aug 25, 2006 5:48 pm    Post subject: Re: Where do we use LTORG
Reply with quote

Here are the situations where it may be needed:
1. You may want to address a variable with huge length (say 20000 bytes); instead of increasing your addressing capability, you may simply move this monster as the last piece; in this case, you may need to pool your literals before this variable, since they would be pooled at the end.
2. Though not conventional, more than one control section may be present within a single source. This situation would require dumping of all literal pools before the beginning of the next CSECT. You would not get any compile errors, but if there is any addressability issue due to the size of any single control section, you may be in a position to compromise the handling of individual CSECT; instead, assigning the literal pool of each CSECT for that CSECT itself helps in localization of addressability issues and hence would enhance immunization.
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 A CSECT without an LTORG but uses lit... nigelosberry PL/I & Assembler 13 Tue Mar 29, 2011 3:05 pm
No new posts What is the need to use LTORG prakashg PL/I & Assembler 5 Thu Jun 17, 2010 1:01 pm
No new posts What is the Difference between LTORG ... Saira PL/I & Assembler 1 Wed Sep 13, 2006 12:59 pm

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