[EMAIL PROTECTED] wrote:

> Hello,
>
> Does anyone have experience converting packed decimal data from MVS into
> readable ASCII format for UNIX (AIX)?
>
> If so, drop me a line (Please).

I taught IBM assembly language years ago.
I can tell you what packed decimal represents if you have
a hexadecimal dump of the data, but I have no program
that converts it.  Here goes:

Packed decimal look sort of like decimal numbers in a
hexadecimal dump, except that there is a sign that follows
the digits that only someone who knows old IBM data formats
would understand its background.   A sign of "F" or "C"
represents a positive number, and "D" represents negative.

Examples:

Packed Decimal
(as shown in hex.)          ASCII (as printable characters)

03 45 6F                            3456 (positive)

78 90 1C                           78901 (positive)

12 34 5D                            -12345

I still have my BAL (IBM assembly language)
textbook gathering dust on the shelf if you need
more details.




>
>
> Thanks
>
> Sherneatha G. Youngblood
> UNIX Systems Administrator
> IBM Global Services
> phone: (914) 433-2370      tieline: 293-2370
> pager: 1(800) 759-8888    pin: 1635737         fax: (914) 433-6636
>
> .....Reflect,........Rejuvenate... and Rise......

--

**************************************************************************
 Morris Strongson, RHIC, USAtlas Projects    Telephone:   (631)344-4192
 Information Technology Division (fka CCD)   Facsimile:   (631)344-7688
 Brookhaven National Laboratory              Internet:    [EMAIL PROTECTED]
 Building 515, Upton, NY 11973-5000          WWW:  http://www.ccd.bnl.gov/
**************************************************************************



Reply via email to