Callable SNAP routine. https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.ieav100/snap.htm On Fri, Sep 21, 2018 at 3:36 PM Farley, Peter x23353 <[email protected]> wrote: > > Thanks for the suggestions. I have RTFM the LE manuals and CEEDUMP only sets > options for the LE dump process, and CEE3DMP generates an actual LE dump > output, programs and control blocks and everything set by the dump options, > not just s targeted storage area. > > The question is purely academic, as I have no immediate need for such an API > interface, I am just curious if one actually exists. > > And it may exist but not be GUPI, so IBM won't tell us about it, but the > expertise on this list might know about it anyway (or not, especially if it > doesn't exist). > > Peter > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of David W Noon > Sent: Friday, September 21, 2018 4:25 PM > To: [email protected] > Subject: Re: Is there an API to a "storage dump line" formatting routine? > > On Fri, 21 Sep 2018 15:34:29 -0400, Tom Conley > ([email protected]) wrote about "Re: Is there an API to a > "storage dump line" formatting routine?" (in > <[email protected]>): > > > On 9/21/2018 2:15 PM, Farley, Peter x23353 wrote: > [snip]>> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format > >> storage displays like this in a 121-character line: > >> > >> 36B219C0 00000000 00000000 00000000 00000000 00000000 00000000 > >> 00000000 00000000 *................................* > [snip] > > You could call IPCS to display the storage you want. > Under the covers, IPCS is really just AMDPRDMP. There is likely a > subroutine inside AMDPRDMP that formats the print line. Whether that > subroutine is callable from another program is an open question: it > might have an external symbol in the link map of AMDPRDMP that one can > alias, but then again it might not. > > I am not sure what Peter's original message was about, in terms of > objective. I assume he wants to be able to format a dump of storage from > inside a program. > > If such a program is written in PL/I, one can use the HEXIMAGE() and > TRANSLATE() built-in functions to build the hexadecimal digits and > dots/characters, with the the asterisks and spaces easily inserted. > There is even a PLIDUMP() built-in subroutine that can dump areas > directly, just like a SNAP macro. If for some reason one cannot use > PL/I, that is not of much use. > > Since PL/I uses LE for much of its run-time support, there is likely a > CEEDUMP() subroutine one can use from other languages: RTFM! > -- > > > 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
-- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
