MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Address constant - Assembly

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
rnanavaty
Beginner


Joined: 12 Apr 2006
Posts: 29
Topics: 20

PostPosted: Thu Mar 01, 2007 12:44 am    Post subject: Address constant - Assembly Reply with quote

In one of my program I am getting steps like :

GHPD&TYPE.03 DC C'T'
DC AL3(1)
DC A(2)

I am well aware about addresses like

DC A(SCITY-SDATES)

Where SCITY and SDATES are variables in a copybook but what is the sense when constant is inside the ACON and length of ACON is also altered.
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Mar 01, 2007 9:42 am    Post subject: Reply with quote

It is an easier method of creating a 3 byte literal. Compare these two examples to get the same thing:
Code:
ONE   DC    AL3(3)   
TWO   DC    X'000003' 

_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group