Thanks Itschak and John. I will get with my systems programmers to see what paperwork hoops I have to go through to get a SLIP set.
Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of John McKown Sent: Friday, October 21, 2016 1:20 PM To: [email protected] Subject: Re: Tool to detect virtual storage overlay in an address space? On Fri, Oct 21, 2016 at 11:58 AM, Farley, Peter x23353 < [email protected]> wrote: > Is there any tool that can detect when a particular virtual storage > address in a batch address space is stored into? > > I have a COBOL application subroutine that is experiencing a storage > overlay in a pre-initialized (at compile time) working storage table > (300 bytes total length) and there is no obvious table-out-of-bounds > overlay code anywhere I can find so far. The overlay seems to occur at > a repeatable storage address seen over multiple test runs trying to track > down the issue. > > If I can get a dump and a PSW address at which the storage overlay > occurs I can solve the problem easily. I would expect there to be 2 > stores into the area, once by COBOL initialization code the first time > the COBOL subroutine is called and once by the overlay offender. > > If it takes something that requires a system programmer to set up and > run I can probably get that assistance this time, as this is a > scheduled application job that is going down. > > TIA for any advice you can provide. > As Itschak said, the z/OS SLIP command is needed. In particular the SLIP SA (Storage Alteration). Here are some examples of various SLIP commands: https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieag100/slipxmp.htm <quote> ... Example 5: This command defines a trap that will cause an SVC dump when storage location CD3010 is altered. MATCHLIM is 1 and PRCNTLIM is 10 by default. SLIP SET,SA,ENABLE,ACTION=SVCD,RANGE=CD3010,END ... </quote> -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
