Re: Cobol convert program Job Request



Rick Smith wrote:
"Louis Krupp" <lkrupp@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:12tro992hdae6b8@xxxxxxxxxxxxxxxxxxxxx
jacodeguy@xxxxxxxxx wrote:
Ok... that looks crappy... try this link instead:

http://camavision.com/dn/bsketchdump.txt
It looks like there's a 128-byte header followed by the records.

Typical of Mirco Focus Indexed Files and Variable
Lengrh Files.

Each
826-byte record is preceded by a 2-byte prefix ("C:").

This a record descriptor which consists of a 4-bit type
followed by the 12-bit record length. (x"433A" means,
type "4" record with length 826 bytes.)

The first 21
bytes of each record do in fact look like an alpha key.

The rest of the record doesn't seem to match the layout. For one thing,
it's too short; 200 repetitions of pairs of S9(4) COMP should take 1200
bytes. And I don't think the all of the data looks like signed packed
decimal.

The record matches the layout perfectly!
Micro Focus S9(4) COMP is two bytes binary
and 9V9(4) COMP is three bytes binary.




How do you fit a sign and four digits into two bytes? (Or am I being unusually dense today?)

Louis
.