On 10 Aug 2006 17:30:49 -0700, in bit.listserv.ibm-main you wrote:
In [EMAIL PROTECTED], on 08/09/2006
at 04:24 PM, Clark Morris [EMAIL PROTECTED] said:
As I understood Chuck Stevens who was the Unisys COBOL representative
to ANSI X3J4 and a member of the technical support team for their
In [EMAIL PROTECTED], on 08/09/2006
at 04:24 PM, Clark Morris [EMAIL PROTECTED] said:
As I understood Chuck Stevens who was the Unisys COBOL representative
to ANSI X3J4 and a member of the technical support team for their
compilers, Burroughs large scale B7500 and beyond which I believe
became
: Java Packed Decimal
In [EMAIL PROTECTED],
on 08/01/2006
at 09:16 AM, Thompson, Steve (SCI TW)
[EMAIL PROTECTED] said:
I must assume that UNISYS uses PD.
Unisys has or had a successor to the B6500 family, so they must have
supported PD. The 1108 didn't have PD, and I don't know whether
In [EMAIL PROTECTED],
on 08/01/2006
at 09:16 AM, Thompson, Steve (SCI TW)
[EMAIL PROTECTED] said:
I must assume that UNISYS uses PD.
Unisys has or had a successor to the B6500 family, so they must have
supported PD. The 1108 didn't have PD, and I don't know whether the
Unisys successor added
.)
Sent: Wednesday August 02 2006 06:56
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Java Packed Decimal
In [EMAIL PROTECTED],
on 08/01/2006
at 09:16 AM, Thompson, Steve (SCI TW)
[EMAIL PROTECTED] said:
I must assume that UNISYS uses PD.
Unisys has or had a successor to the B6500 family, so
Java does not have a packed decimal data type. I am looking for classes or
routines that will allow the Java programs to process the paced decimal
data.
Google's first hit on packed decimal java:
http://forum.java.sun.com/thread.jspa?threadID=450146messageID=2043372
Isn't that difficult, is
I had the same problem some time ago with C/370, when DECIMAL was not
supported or was not an option for the installation. So I have some
routines to handle packed decimal in C.
I would suggest that you call a JNI (native) routine, written in C or
another compiler language to handle decimal
Benjamin, all
Yes there are Java J2SE compatible open source routines available as part
of the www.z390.org portable mainframe assembler and emulator project
which provide standard operations plus conversion between all the
mainframe data types including: 31 digit packed decimal; floating
I found half of what I want in com.dovetail.jzos.ByteUtil.unpackLong(). Now
I just need a longPacked() method.
From: Jeffrey D. Smith [EMAIL PROTECTED]
Reply-To: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Java packed decimal
Date: Mon, 31 Jul
Yes, I also saw that page, My interest was data type conversions to perform
calculations, not just display the number.
From: Jan MOEYERSONS [EMAIL PROTECTED]
Reply-To: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Java Packed Decimal
Date: Tue, 1
I thought I might point out something in this Packed Decimal discussion.
IBM mainframes are not the only computer systems to use PD! Wang VS
systems (ASCII based) also used PD. Burroughs, if memory serves me
correctly, also used PD. I must assume that UNISYS uses PD.
And again, if memory serves
To: IBM-MAIN@BAMA.UA.EDU
Subject: Java Packed Decimal
I thought I might point out something in this Packed Decimal discussion.
IBM mainframes are not the only computer systems to use PD! Wang VS systems
(ASCII based) also used PD. Burroughs, if memory serves me correctly, also
used PD. I must assume
On 1 Aug 2006 06:17:04 -0700, in bit.listserv.ibm-main you wrote:
I thought I might point out something in this Packed Decimal discussion.
IBM mainframes are not the only computer systems to use PD! Wang VS
systems (ASCII based) also used PD. Burroughs, if memory serves me
correctly, also used
On Mon, 31 Jul 2006 08:04:35 -0500, Benjamin White
[EMAIL PROTECTED] wrote:
Where is some code to process Z/Series packed decimal? I know it is not a
primative data type. Is there any conversion routines?
You might want to take a look at the JRIO classes as referenced by this
post:
Where is some code to process Z/Series packed decimal? I know it is not a
primative data type. Is there any conversion routines?
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL
=
-Original Message-
From: Benjamin White [EMAIL PROTECTED]
Sent: 7/31/2006 7:04 AM
To: IBM-MAIN@BAMA.UA.EDU IBM-MAIN@BAMA.UA.EDU
Subject: Java Packed Decimal
Where is some code to process Z/Series packed decimal? I know it is not a
primative
Here's what I did.
www.google.com
search criteria:
site:ibm.com java packed decimal
Most interesting hit (based upon 15 seconds of analysis) was a web page
apparently authored by Mike Cowlishaw (IBM) regarding all of the issues
surrounding attempting to use floating point arithmetic
The standard device for giving Java access to packed-decimal data is to
convert these data into double-precision (eight-byte) BFP values. This is
always possible, and to the extent that Java is good at any arithmetic, it
is good at floating-point arithmetic, which it uses very heavily indeed.
Subsituting BFP for decimals may be standard, but it is usually a bad
idea (as are many standard programming practices) :-(
The standard java package java.math contains a BigDecimal class, which
is commonly used with JDBC drivers for Decimal columns.
IBM's JDK has an alternative version.
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Kirk Wolf
Sent: Monday, July 31, 2006 2:12 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Java Packed Decimal
SNIP
Fortunately, there's not too much packed/zoned decimal data on
mainframes any more
On Mon, 31 Jul 2006 14:12:15 -0500, Kirk Wolf [EMAIL PROTECTED] wrote:
Fortunately, there's not too much packed/zoned decimal data on
mainframes any more :-)
I don't agree that it is fortunate. Decimal is the number system
used by the vast majority of humanoid life forms, and IMHO binary
is a
Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Java Packed Decimal
Date: Mon, 31 Jul 2006 14:12:15 -0500
Subsituting BFP for decimals may be standard, but it is usually a bad idea
(as are many standard programming practices) :-(
The standard java package java.math
-Original Message-
From: john gilmore [EMAIL PROTECTED]
Sent: 7/31/2006 3:18 PM
To: IBM-MAIN@BAMA.UA.EDU IBM-MAIN@BAMA.UA.EDU
Subject: Re: Java packed decimal
Benjamin White writes:
| Yes, I have been considering extending
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: IBM-MAIN@BAMA.UA.EDU IBM-MAIN@BAMA.UA.EDU
Subject: Java Packed Decimal
Where is some code
24 matches
Mail list logo