IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
#Supplychain
 View Only
  • 1.  Archive (Zip),Archive(Tar)

    Posted 08/24/15 07:05 AM

    Originally posted by: Smhapy


    Hello All,

    Can anyone let me know about archive (Zip),archive (Tar) adapters in brief with simple example?


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


  • 2.  Re: Archive (Zip),Archive(Tar)

    Posted 08/24/15 12:47 PM
      |   view attached

    Originally posted by: paul.brett


    Attached is an example of putting data into and getting data from .ZIP archives.

    It is worth mentioning that the ZIP adapter is best suited to smaller archives ( < 100MB ) and with larger data, better memory usage and overall performance can be had using either the Batch or Shell Script adapters and a command line archiving tool.

    Thank-you.

    Paul.

    Follow me on Twitter


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

    Attachment(s)

    zip
    Zip.zip   432 KB 1 version


  • 3.  Re: Archive (Zip),Archive(Tar)

    Posted 08/25/15 04:06 AM

    Originally posted by: paul.brett


    An example has already been given and developerWorks is not a helpdesk, nor is it a replacement for training.

    In my 'Image2Archive' map, you can see that I have ysed a PUT() rule to call the ZIP adapter:

    =PUT("ZIP","MEMORY,Test.zip,Image1.bmp",In1)

    See if you can work out what needs to be copied from this rule into the output card's Command box, to get this working on a card level.  What would the new rule become?

    I look forward to everybody's participation in this.

    Thank-you.

    Paul.

    Follow me on Twitter


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


  • 4.  Re: Archive (Zip),Archive(Tar)

    Posted 04/30/16 05:08 PM

    Originally posted by: mohit121happy


    Hi Paul,

    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