ByteUtil Packed Decimal

Discussions regarding Open Source Java projects under z/OS (other than Tomcat)
Post Reply
bjwhite66212
Posts: 6
Joined: Wed Aug 09, 2006 2:43 pm
Location: United States

ByteUtil Packed Decimal

Post 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?
Last edited by bjwhite66212 on Mon Aug 28, 2006 2:38 pm, edited 1 time in total.
dovetail
Site Admin
Posts: 2006
Joined: Thu Jul 29, 2004 12:12 pm

Post 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.
bjwhite66212
Posts: 6
Joined: Wed Aug 09, 2006 2:43 pm
Location: United States

Post 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?
dovetail
Site Admin
Posts: 2006
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

If in Java and not too big, you can certainly post them here.
bjwhite66212
Posts: 6
Joined: Wed Aug 09, 2006 2:43 pm
Location: United States

CICS Web Services Assist

Post 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.
dovetail
Site Admin
Posts: 2006
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

Can you provide a reference to the IBM program's that you mention?

Thanks
bjwhite66212
Posts: 6
Joined: Wed Aug 09, 2006 2:43 pm
Location: United States

Web Services Assistant

Post by bjwhite66212 »

It is in the CICS TS 3.1 Web Services Guide

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