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 

Debug Assembler

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


Joined: 29 Jun 2004
Posts: 170
Topics: 73

PostPosted: Tue Feb 28, 2006 2:18 pm    Post subject: Debug Assembler Reply with quote

I am new to assembler program. How can I display the value of a variable? I am looking for somthing similiar to "say var1" in REXX.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Feb 28, 2006 2:22 pm    Post subject: Reply with quote

danm,

Please search before posting. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=3253&highlight=display+assembler

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hariavinash
Beginner


Joined: 21 Jan 2005
Posts: 52
Topics: 7

PostPosted: Fri Mar 03, 2006 6:49 am    Post subject: Reply with quote

Use of GFO <variable name> will also do the trick.
cheers
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Mar 03, 2006 9:52 am    Post subject: Reply with quote

What is GFO? A local macro? A command in some debug environment? A console command? By runtime, variable names are lost in assembler unless you use compile options and environments that retain that information elsewhere. Please supply a more detailed answer because there is no way know what you are referring to here.

Having said that, some shops have macros specifically for this. They may do a WTO (write to operator) macro, they may write to a log, use TPUT to a TSO screen, set a specific abend condition for a debugger, or do other things. WTO is common because it is easy to write, but other solutions are more flexible.
Back to top
View user's profile Send private message Visit poster's website
hariavinash
Beginner


Joined: 21 Jan 2005
Posts: 52
Topics: 7

PostPosted: Mon Mar 06, 2006 7:12 am    Post subject: Reply with quote

oops.. GFO is indeed a macro - danm extremely sorry abt posting and misleading one. I checked it up and that one is a macro used in my shop. Razz

Kolusu can you please delete my post. Thank you.
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