Do you get what Ed is saying, Steve? Your eyecatcher for some GETMAINed
control block so you can find it easily in a dump is COMSTOCK. You do an F
COMSTOCK in a dump, and you get a hit, but lo and behold, it is the literal
=C'COMSTOCK' in your assembled CSECT, not the GETMAINed control block. Using
MVCIN and making the literal KCOTSMOC instead avoids that (admittedly pretty
tiny) problem. A labeled constant rather than a literal would not change
this problem (although it might be a little clearer to the reader than
=C'KCOTSMOC'+7).

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Edward E. Jaffe
Sent: Monday, October 10, 2005 1:22 PM
To: [email protected]
Subject: Re: MVCIN instruction


Steve Comstock wrote:

> Yes, I saw that. But what does it mean to get a false
> hit on an eyecatcher? Do you mean looking at the code
> in an editor (find command would find an MVC? - of course
> then using labeled constants gets around that) or do
> you mean looking at an eyecatcher in a dump? Still, is
> this a common ocurrence?

You may not always be able to find your control blocks using the 
registers at time of error. In such cases, you may need to issue a FIND 
command under IPCS specifying the control block's eyecatcher. A "false 
hit" would occur when you find the eyecatcher in other than the expected 
locatiion, e.g., the constants area of the program that creates the 
control block.

----------------------------------------------------------------------
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