'uvhd' is a binary file investigation utility. It displays any file in 'vertical hexadecimal' and prompts for commands to browse, search, select, update, scan/replace, print, translate, etc. uvhd is an interactive utility with a command line interface and 18 help screens.
Copyright (C) 2008, Owen Townsend, UV Software, owen@uvsoftware.ca
This program is free software: you may redistribute it and/or modify it under the terms of GPLv3 (GNU General Public License version 3), as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the full description of the GNU General Public License at: http://www.gnu.org/licenses.
| Note |
|
uvhd is an effective tool for investigating problems and verifying test results in files that have packed/binary fields, and that may not have linefeeds. Most Unix/Linux tools require linefeeds (vi, cat, lp, etc).
uvhd is especially valuable in conversion situations such as mainframe to Unix/Linux conversions. Mainframe COBOL is usually converted to Micro Focus COBOL on the Unix/Linux system. As of Feb 2003, uvhd can process all converted file types (sequential, fixed, variable, indexed, text, binary, C-ISAM, D-ISAM, Micro Focus COBOL IDXFORMAT1, IDXFORMAT3, etc)
For Unix/Linux you must download the source program and compile on your Unix/Linux O/S. For Windows or DOS you may download the executable and store it in your program files or setup your PATH to wherever you download.
| Note |
|
#1. cp uvhd.c src/uvhd.c - store program in source subdir
==================== - ensure filename is 'uvhd.c'
#2. cc src/uvhd.c -obin/uvhd - compile the program
========================
#3a. bin/uvhd dat1/custmas1 r256 - test with downloaded ASCII datafile
===========================
#3b. bin/uvhd dat1/custmas1E r256a - test with downloaded EBCDIC datafile
=============================
- option 'a' translates the Character line to ASCII
- but still shows the EBCDIC values of the zones & digits lines
- for each vertical hexadecimal 3 line group (chars/zones/digits)
#3c. bin/uvhd xxxxx r??? - display any of your data files (???=recsize)
===================
#3d. bin/uvhd xxxxx t - use option 't' for text (vs 'r' fixed rcsz)
================
#4. PATH=$PATH:/home/userx/bin; export PATH
=======================================
- Add bin to your PATH so you can execute it from anywhere.
Note that the above procedure is for Unix/Linux. You do not need to compile for Windows/DOS since you can download the executable from the web site. But please see WindowsDOS.doc if you wish to see how uvhd was compiled at UV Software for DOS windows on Windows.
If you find uvhd useful at your site, I would appreciate some feedback. Please let me know which features you find most useful, and if you have any suggestions for future enhancements. Of course let me know in the unlikely event :-) that you find a bug. You will be rewarded with a 1 year subscription (4 issues) to Beautiful BC Magazine.
Owen Townsend ,
UV Software Inc. ,
4667 Hoskins Rd. ,
North Vancouver BC ,
Canada V7K2R3 .
Tel: 604-980-5434 ,
Fax: 604-980-5404 ,
Web: http://www.uvsoftware.ca .
Email: owen@uvsoftware.ca.