Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
What is the Difference between LTORG and ORG ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
Saira

New User


Joined: 17 Jul 2006
Posts: 2

PostPosted: Wed Sep 13, 2006 12:59 pm    Post subject: What is the Difference between LTORG and ORG ?
Reply with quote

What is the difference between LTORG and ORG and why are they used?
Back to top
View user's profile Send private message
References
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 625
Location: Germany

PostPosted: Wed Sep 13, 2006 1:19 pm    Post subject:
Reply with quote

Hi !

LTORG is the LiteralPool of selfdefining constant's just like =C'123'.
You code it at end of PGM or end of a Section(SubRoutine with own BaseRegisters)

With ORG, you set the Pointer to a Specific Adress within any definitions.

OutRec ds 0CL80
OutFld01 dc 10CL' '
OutFld02 dc 10XL'FF'
ORG OutRec +080

...Sets LinePointer to the Adress OutRec plu 80 Bytes without defining all
the complete Fields of OutRec

Hope that helps you, UmeySan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1