IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Zip and Unzip file in Mainframe via WTX

  • 1.  Zip and Unzip file in Mainframe via WTX

    Posted Sat April 30, 2016 05:11 PM

    Originally posted by: mohit121happy


    I am using the ZIP adaptor command within GET function in Map Rule  to zip or unzip the file.

    Eg : GET("ZIP", "Filename.zip, file.txt") ...This command is extracting the file.txt from Input file -  Filename.zip.

    It is working fine in Windows.

    But when the mapper is deployed via Message Broker, file is not getting  zipped or unzipped in Mainframe.It is not extracting the file from the zipped Input.

     

    Please suggest. Thanks


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 2.  Re: Zip and Unzip file in Mainframe via WTX

    Posted Mon May 02, 2016 02:33 PM

    Originally posted by: paul.brett


    On the mainframe, the adapters.xml file points to:

                    <M4Adapter name="Archive (Zip)" alias="ZIP" id="122" type="app" library="m4zip" class="com/ibm/websphere/dtx/m4jzip"/>

    When attempting to run a map on z/OS USS using the ZIP adapter, I see:

    CEE3501S The module libjvm.so was not found.
             From compile unit WINMVS7:/scm/builds/8.4.1.3/source/64/dstxpi/c/mpi_li
    b.c at entry point mpiLoadLibrary at statement 323 at compile unit offset +00000
    000120B4ED2 at entry offset +0000000000000132 at address 00000000120B4ED2.
    [1] + Done(137) dstx Test1.mvs
      67109074      Killed  /u/pab1/wtx8413/bin/dstx

    ....so I think perhaps the ZIP adapter is not part of a mainframe installation.

    Or perhaps this is a bug.  For further assistance on this, I recommend you open a Service Request with IBM:

    https://www-947.ibm.com/support/servicerequest

    Thank-you.

    Paul.

    Follow me on Twitter


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange