I say again this is solved.  Thanks for all the sugestions.  The solution I
used was to dd the tapes raw to files then run the perl script from here
http://www.digiampietro.com/as400/as400.html against the raw files.  The
perl script has a list of variables to handle the layout file.  Each line of
the layout file should have all the information for one (1) field in the
record.  You need to account for every byte in the record in the layout
file.  If you need to do this you will find the -d lev (debug) switch handy
for testing.  Also I recommend you dd just a few blocks off a tape for
testing.

Thanks again.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:psyche@;computerdatasafe.com.au]
Sent: Sat, November 09, 2002 6:49 AM
To: [EMAIL PROTECTED]
Subject: Re: IBM packed decimal format conversion utilities


On Wed, 6 Nov 2002, jdow wrote:

> Hm, a simple (A)REXX program could solve this. Of course, I suppose that
> means someone somewhere could also use perl, python, dylan, or one of
> the other absurdities abounding in this world.
> 
> (The real challenge would be to write the conversion in BASH's scripting
> language. There's a slim chance it could be done.)
> {^_-}

using xxd to convert to hex, a better-than-even chance I'd say.


> ----- Original Message -----
> From: "Joe Klemmer" <[EMAIL PROTECTED]>
> 
> On Wed, 2002-11-06 at 16:32, Paul Hamm wrote:
> 
> > I am familiar with EBCDIC and ASCII conversion with dd.  Currently I
need
> to
> > convert a mainframe tape in EBCDIC with packed decimal format into
ASCII.
> > dd does not handle packed decimal format.  Does anyone know of a utility
> > that does?
> 
>  You could write a nice little COBOL program to do the conversion with a
> few well placed MOVE statements.  I would offer to do it for you, if you
> need it.
> 
>  And for all those who just can't resist the jokes, save 'em.  I've
> heard it all before.  Just go on about your business.  Nothing to see
> here.  Move along.

;-)




-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to