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 

Assembler compilation

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


Joined: 04 Feb 2003
Posts: 113
Topics: 37

PostPosted: Thu Mar 27, 2003 2:44 am    Post subject: Assembler compilation Reply with quote

Hi,
I'm learning Assebmbler . When I try to compile a small 'hello world' program I'm getting a compilation error.

My program :
Code:

HELLO    CSECT
         USING *,15
         SAVE  14,12,12(13)
         LR    12,15
         USING HELLO,12
         DROP  15
         WTO   'Hello world'
         XR    15,15
         RETURN (14,12)
         END


Error Message :

Code:

No Overriding ASMAOPT Parameters   
No Overriding Parameters           
No Process Statements               
                                   
                                   
Options for this Assembly           
                                   
NOADATA                             
  ALIGN                             
NOASA                               
--------
---------..etc


Pl advice.
Thanks
-Somu
Back to top
View user's profile Send private message Yahoo Messenger
Bill Dennis
Advanced


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

PostPosted: Thu Mar 27, 2003 8:57 am    Post subject: Reply with quote

Those are the STD msgs that are just saying you have not overridden any parameters. If it's failing, there are other ASMA___ prefixed msgs.
I would suggest adding ,ROUTCDE=11 to the WTO to keep the msgs off the console but in your JOBLOG.

Bill
Back to top
View user's profile Send private message
somuk
Beginner


Joined: 04 Feb 2003
Posts: 113
Topics: 37

PostPosted: Fri Mar 28, 2003 3:23 am    Post subject: Reply with quote

Thank you for the reply Bill..
I was getting the following message

***ASMA300W USING overridden by a prior active USING on statement number 2
_________________
Regds,
Somu
Back to top
View user's profile Send private message Yahoo Messenger
Bill Dennis
Advanced


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

PostPosted: Fri Mar 28, 2003 8:55 am    Post subject: Reply with quote

Did you look up the msg? The msg explains that you need to DROP 15 before you USE 12 for the same location. Swap those two stmnts.

Bill
Back to top
View user's profile Send private message
somuk
Beginner


Joined: 04 Feb 2003
Posts: 113
Topics: 37

PostPosted: Sat Mar 29, 2003 1:43 am    Post subject: Reply with quote

Thanks Bill.. It did work.. Very Happy
_________________
Regds,
Somu
Back to top
View user's profile Send private message Yahoo Messenger
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