I wasn't sure what bad comparison it would make, so I assembled this:

D500 0000 C018 00000 00018     9          CLC   0(R1),=C'ABC'

Didn't occur to me that using R1 (equating to 1) would govern the length.
Touche.

.
.
.
JO.Skip Robinson
Southern California Edison Company
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
[EMAIL PROTECTED]

IBM Mainframe Discussion List <[email protected]> wrote on 10/05/2005
07:20:28 PM:

> Skip,
> Just a nit (albeit one that could cause huge problems in the program)
>     CLE 3(R6),=C'IOLQ' will actually compare 6 bytes of data, starting at
> location 0, with the value C'IOLQ'.  The format for an SS instruction is
> instruction  offset(length,base),offset(base).  To compare 1 byte, you
would
> need to code CLC   3(,R6),=C'IOLQ'
>
> Wayne Driscoll
> Product Developer
> Western Metal Supply

<snip>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to