For the GnuCOBOL newbies.
If you have been looking at the GnuCOBOL Sample Programs 3.2 manual, you have seen COBDUMP.
Did you ever want to see a hex and character display of some area of working storage while developing or debugging your code? Well, these two calls are what you want.

They allow a dump of any area and any length of storage you want while running your program. All you have to do is a CALL and give it a name and optionally a length.
For example
CALL "COBDUMP" USING MISC-WORKING-STORAGE.
it will dump everything under that 01 until the next 01.

Another example, CALL "DUMPHEX" USING MISC-WORKING-STORAGE WS-Buffer-Length.
would dump from the address of MISC-WORKING-STORAGE for as many bytes you put into WS-Buffer-Length.
You could dump your entire working storage by calculating its length.

The source for both of these programs may be found by going to SVN and selecting Contributions(Tools/Samples incl. Games)
then select trunk
then select tools
then select dump-tools
you can select and download the source for COBDUMP & DUMPHEX.
Compile them both as .DLL dynamically loadable module.

I have attached a sample program, TESTCOBDUMP.COB to test them both.

Thanks to Vincent (Bryan) Coen for making this happen/possible.