Of course you can do that, and I have done so more than once myself, and 
similar code in COBOL.

My question was not how to do it, but rather whether at this point in the 
operating system's life it has a generic routine to perform that 
storage-formatting function that may be accessible to ordinary application 
writers.

Or not, as the case may be.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Mike Schwab
Sent: Friday, September 21, 2018 6:31 PM
To: [email protected]
Subject: Re: Is there an API to a "storage dump line" formatting routine?

In assembler you could handle the address, then UNPK 5 bytes into 9, translate 
the FA-FF in the 8 bytes and blank the 9th.  Increment by 4 and repeat to fill 
line, and repeat to process address range.

On Fri, Sep 21, 2018 at 1:15 PM Farley, Peter x23353 
<[email protected]> wrote:
>
> It's Friday, so how about an off-the-wall question I have always wondered 
> about.
>
> I think the answer to my question is "no", but I thought it worth asking 
> anyway.
>
> 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   *................................*
>
> Obviously there are many ways to produce such a line in your language of 
> choice, but is there any available interface to the system routines that 
> display storage in this format?  Not the I/O to print them or send them to a 
> file, just the "storage dump formatting into a print line" part.
>
> I am of course assuming that the storage formatting routine has been rendered 
> in some common-code subroutine used by all (or some of) the "dumping" 
> routines, which may or may not be a fact.
>
> TIA for your answer even it (as I strongly suspect) the answer is "no".
--


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

Reply via email to