B2B Integration

Sterling B2B Integration

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

 View Only
  • 1.  ITX--Processing TGZ file

    Posted 06/15/20 10:48 AM
    Hi,

    I am getting TGZ file from one of our partner and then B2BI is passing this file to ITX.

    Since two way extraction required to get the actual file so i use GZIP adapter to unzip it and get the TAR file.

    But i am facing challenges when i am trying to extract file from a TAR file using TAR adapter.

    I have used the below syntax for TAR adapter with a static TAR file in my local directory.

    GET("TAR","-ARCHIVE test.tar -MEMBER test.txt -X -T+")

    In windows,I am getting Adapter No found and then i came to know from Knowledge center that we need to run the map in linux for this adapter.

    I have placed test.tar in the ITXA installation directory but still not getting any trace or extract output.

    Thanks
    Santanu

    ------------------------------
    Santanu Baral
    ------------------------------

    #B2BIntegration
    #SupplyChain


  • 2.  RE: ITX--Processing TGZ file

    Posted 06/16/20 11:18 AM
    I have used the below syntax for TAR adapter with a static TAR file in my local directory and able to successfully extract the TAR file and its content to a output txt file

    GET("TAR","-X -ARCHIVE /abc/itxa/test.tar -MEMBER *.txt -T+ "+GETDIRECTORY()+"M4tar.mtr")

    Since B2BI has to collect the file and transfer it to ITX so need to have dynamic file extraction process which is not working.

    GET("TAR","-X -ARCHIVE "+PACKAGE(Tar_input)+" -MEMBER *.txt -T+ "+GETDIRECTORY()+"M4tar.mtr")

    Is it possible to extract a TAR file received from B2BI during runtime?

    ------------------------------
    Santanu Baral
    ------------------------------