Author Topic: 31 bit and 64 bit Webshere and ODWEK on z  (Read 2006 times)

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
31 bit and 64 bit Webshere and ODWEK on z
« on: February 28, 2016, 01:19:32 PM »
We're talking Java API here:

Recently had a situation where a customer thought their WAS on z/OS had to be 31-bit (due to AFP2PDF being restricted to 31 bit).                                                                 
                                                                       
This used to be true, but is no longer.                                 
                                                                       
The ODWEK Java API does a spawn() of afp2pdf.  For spawn(), it doesn't matter what AMODE afp2pdf is.                                           
                                                                       
It >>>used to be<<< that ODWEK could invoke afp2pdf via spawn() or via function calls to the afp2pdf_shr DLL.  For DLLs, AMODE does matter.   
                                                                       
In that case, 64-bit code can't call functions in a 31-bit DLL.  But CMOD doesn't do function calls anymore, so that's not an issue.         
_________________________                                               
                                                                       
For ODWEK java API, CMOD ships both 31- and 64-bit DLLs.               
                                                                       
Either should spawn afp2pdf no problem using the java APIs.             
                                                                       
Note: CGI/Servelt remains 31-bit only.

Ed
#zOS #ODF