IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Query regarding Location Counter and ORG instruction


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Thu Dec 29, 2005 9:31 am
Reply with quote

Can anybody please explain the following to me in detail??

1. Every thing regarding Location Counter. And what is it exactly??
2. About ORG instruction.Is it something like REDEFINES in COBOL??

Thanks for all the help you can provide.

ap_mainframes
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Mon Jan 02, 2006 6:05 am
Reply with quote

The location counter keeps track of the current location in the CSECT or DESCT. The ORG instruction sets the location counter to a new address, usually an adddress relative to the current location. It can act like a redefine.
Back to top
View user's profile Send private message
nijugopalan

New User


Joined: 15 Oct 2005
Posts: 15
Location: pune

PostPosted: Sun Jun 25, 2006 2:05 pm
Reply with quote

I AM EXPLAINING U ORG
BALANCE DS CL100
ORG BALANCE
INCOME DS CL50


IN THIS EXAMPLE INCOME REDEFINES BALANCE
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top