If I recall correctly, and it has been a very long time, writing such formatting code was a very earlier exercise in my first Assembler class. I would expect there to ve thousands of instances of similar code out there in the wild.
> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of Farley, Peter x23353 > Sent: Friday, September 21, 2018 11:15 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Is there an API to a "storage dump line" formatting routine? > > 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". > > Peter > -- > > > 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 > lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN