On Wed, 9 Jul 2014 14:26:59 -0400, Micheal Butz <[email protected]> wrote:

>I tried L AR(0) 
>
>It gives me a error message invalid address
>
>L 0. AR(0) on the right side will show contents of Alet in r0

If you read the manual, starting with the perhaps most obvious one, TSO/E 
Command Reference, which describes TEST and its subcommands, you will find many 
references suggesting you also read TSO/E Programming Guide. I probably 
wouldn't have started with the Programming Guide, but the pointers to it are 
obvious in the other book, and presumably one who is testing programs is 
writing them, so it might be argured that it's not a totally unexpected place 
to find information.

If you read the TSO/E Programming Guide, you'll find it has sections about 
using TEST, and in one of them you find the syntax for all those TEST 
subcommands that let you specify addresses. And if you understand the TEST 
subcommands such as LIST, you know that it is of the form "LIST address" and 
even if you're listing a register, such as register 0, when you use "LIST 0R" 
the "0R" is an address as far as the LIST command is concerned.

Given that you know how to list a general register (0R), if you look in the 
Programming Guide you can find how to list a floating-point register (0E or 
0D), or even how to list an access register.

So that's the book I'd suggest you read, and here's a link to the section on 
specifying addresses:
  
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4b640/3.5.5?SHELF=all13be9&DT=20100709161215

There's no need to "try" things such as "L 0. AR(0)" when you can just look up 
the right way to do it. You might even be able to simply guess the right syntax 
for listing an access register, from what I've said above, but the key point is 
that you're trying to list a register, and there is a common syntax for listing 
any kind of register. So when you want to list an access register you should be 
looking for something similar to how you'd list any other kind of register, and 
it will be a decimal register number followed by a character suffix, as the 
first operand of LIST.

-- 
Walt

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to