Page 1 of 1

ByteUtil Packed Decimal

Posted: Wed Aug 09, 2006 2:54 pm
by bjwhite66212
The com.dovetail.zjos.ByteUtil has a unpackLong method to convert the Z/Series packed decimal to a Java long. Is there another method to convert a java long to packed decimal? Are there any plans for this?

Posted: Wed Aug 09, 2006 4:56 pm
by dovetail
There isn't currently a method for doing this, and I am not aware of any plans to support it. What is really needed is a comprehensive library for handling cobol datatypes (and copybooks) in Java..... I would really encourage everyone to open requirements with IBM for this.

Posted: Thu Aug 10, 2006 6:02 pm
by bjwhite66212
I have written a few routines for this in C language. Would anyone be interested for me to convert them to Jave. I would be happy to contribute them both to open source. Would Dovetail be interested in distributing them or shall I use sourceforge?

Posted: Thu Aug 10, 2006 10:42 pm
by dovetail
If in Java and not too big, you can certainly post them here.

CICS Web Services Assist

Posted: Mon Aug 28, 2006 2:59 pm
by bjwhite66212
IBM has a batch program to convert COBOL, Pl/I and C/C++ structures to WSDL. Their webservices pipline program then processes them to some extent. But I don't see COMPUTATIONAL-3 in the list of supported datatypes. COMP-3 is widely used.

Posted: Thu Aug 31, 2006 5:56 pm
by dovetail
Can you provide a reference to the IBM program's that you mention?

Thanks

Web Services Assistant

Posted: Fri Sep 01, 2006 3:42 pm
by bjwhite66212
It is in the CICS TS 3.1 Web Services Guide

http://publibfp.boulder.ibm.com/cgi-bin ... T#FIRSTHIT