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.  How to create a folder using FILE adapter?

    Posted 09/24/08 03:15 PM

    Originally posted by: muralee


    Hi,

    I need to create a temporary folder through WTX using FILE adapter.
    Do we have any FILE adapter commands to create a folder,if the folder doesn't exist.

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


  • 2.  Re: How to create a folder using FILE adapter?

    Posted 09/24/08 03:19 PM

    Originally posted by: JGibby


    No you won't be able to create, or delete, a directory with the FILE adapter. But you can do the following:

    GET("BAT","-cmd 'mkdir X:\ExistingDir1\ExistingDir2\NewDir'")
    or on UNIX:
    GET("SHL","-cmd 'mkdir /ExistingDir1/ExistingDir2/NewDir'")

    Hope this helps,
    John
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender