On 31 Jul 2006 08:31:48 -0700, in bit.listserv.ibm-main you wrote: >============================================= >-----Original Message----- >From: "Benjamin White" <[EMAIL PROTECTED]> >Sent: 7/31/2006 7:04 AM >To: "[email protected]" <[email protected]> >Subject: Java Packed Decimal > >Where is some code to process Z/Series packed decimal? I know it is not a >primative data type. Is there any conversion routines? >============================================= > >I don't know what is your definition of "primitive data type". >It seems to me that when a data type is supported directly >by machine instructions, like Add Packed (AP), Zero and Add >Packed (ZAP), Compare Packed (CP), etc., then it is a primitive >(or "native") data type. > >I also don't understand why you are mixing "Java" with >z/Series packed decimal primitive data type. What does >one have to do with the other?
While I don't know the answer to the original poster's question, bit is a native data type (more or less) to the z series but until the yet to be implemented 2002 COBOL standard, COBOL refused to recognize it. IEEE floating point is another hardware primitive data type that IBM COBOL short-sightedly refuses to recognize. I would guess that Java has no means of describing packed decimal thus not having that data type as a primitive. Clark Morris > > >Jeffrey D. Smith >Farsight Systems Corporation >24 BURLINGTON DR >LONGMONT, CO 80501 >303-774-9381 direct >303-709-8153 cell >303-484-6170 fax ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

