View previous topic :: View next topic |
Author |
Message |
danm Intermediate
Joined: 29 Jun 2004 Posts: 170 Topics: 73
|
Posted: Tue Feb 28, 2006 2:18 pm Post subject: Debug Assembler |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
hariavinash Beginner
Joined: 21 Jan 2005 Posts: 52 Topics: 7
|
Posted: Fri Mar 03, 2006 6:49 am Post subject: |
|
|
Use of GFO <variable name> will also do the trick.
cheers |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Mar 03, 2006 9:52 am Post subject: |
|
|
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 |
|
 |
hariavinash Beginner
Joined: 21 Jan 2005 Posts: 52 Topics: 7
|
Posted: Mon Mar 06, 2006 7:12 am Post subject: |
|
|
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.
Kolusu can you please delete my post. Thank you. |
|
Back to top |
|
 |
|
|