[Info-vax] If interested with ! Dumping data the VMS DCL DUMP way

A famous IT technical writer Philippe.vouters at laposte.net
Wed Dec 7 17:51:03 EST 2011


On Dec 7, 10:04 pm, A famous IT technical writer
<Philippe.vout... at laposte.net> wrote:
> Dear reader,
>
> If interested with, a code for dumping data the VMS DCL DUMP way. It
> needs some extra work to dump quadwords. Currently it is limited to
> dumping bytes, words and longwords in bits, octal, decimal and
> hexadecimal formats. The Web document is viewable athttp://vouters.dyndns.org/tima/OpenVMS-FAO-Dumping-Data-like-VMS_DUMP...
>
> Previously the code in this Web document was wrong because of my way
> to turn text to html format using the txt2html utility.. My txt2html
> processing has since been corrected.
>
> The proposed subroutine code ought to equally be applicable on Windows/
> Unix/Linux thanks to the fao.c code I include insidehttp://vouters.dyndns.org/zip/telnet.zipThis fao.c code is the
> Windows/Unix C translation of the VMS Macro-32 sys$fao and sys$faol
> routines.
>
> In the hope this will interest some of you.
> Philippe Vouters

As a Post-Scriptum for those willing to execute the code on either
Windows or Unix/Linux, some C compilers may not naturally accept
dollars in identifiers. You may have to add a special option to your
compile command. For example, GNU/Linux gcc accepts dollars in
identifiers if you pass -fdollars-in-identifiers in your compile
command. GNU/VMS gcc seems to have this option turned on by default.
The subroutine code at this URL has to be compiled on Windows/Unix/
linux along with descrip.h also included inside telnet.zip that I
already mentioned  for fao.c. For Windows/Unix, the descrip.h and
fao.c have been tested under 32(Windows XP)/64(Tru64) bits
environments.



More information about the Info-vax mailing list