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.  Command Server and Resource Registry

    Posted 08/04/04 08:36 PM

    Originally posted by: SystemAdmin


    Have a map with an input path defined in the RR. Map runs fine when running as an event and when executing the command server from within the map editor. When I try executing the map with Command Server via a script it has problems determining the path of the input card.

    ie... map has 2 inputs defined. Input 1 is controled by Command Server Input 2 is defaulted to what is coded in the map ie... %Resource%filename

    Map return code is 12 (Input 2 not found). Is this normal or am I missing something?

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


  • 2.  Re: Command Server and Resource Registry

    Posted 08/05/04 12:13 AM

    Originally posted by: SystemAdmin


    The .MRC will need to be defined in the 2 places in the mercator.ini file (or dstx.ini if you're using 7.5)

    In the .MRC file, you will have to have references to the .MRN file in BOTH CommandServer and Global sections.

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


  • 3.  Re: Command Server and Resource Registry

    Posted 08/05/04 05:40 AM

    Originally posted by: SystemAdmin


    I confirmed - the 'resource.mrc' is defined in both places and the mrn is also defined in 'CommandServer' and 'Global sections'. The only thing I changed today was to add the path to the 'mrc' file name in the ini file.

    Still no change. any other thoughts?

    jvanboga

    PS: The map I'm executing is stampandsortfile.mmc. Here's the related log info. The map has not been modified. Also, this log was created while not overriding input card 2.... ie... the only way I can execute this map successfully is by defining the full path for ie2.

    <SourceReport card="2" adapter="File" bytes="0" adapterreturn="-1">
    <Message>Source not available</Message>
    <Settings>C:\Mercator6.7\cmgr\mmgr\%mmgr_share%mmgr.conf</Settings>
    </SourceReport>

    have tried the following with no success....

    mercnt C:\Mercator6.7\cmgr\mmgr\stampandsortfile.mmc -ie1 path\filename_mi.edi -abde c:\path\logname.log

    mercnt C:\Mercator6.7\cmgr\mmgr\stampandsortfile.mmc -ie1 path\filename_mi.edi -ie2 %mmgr_share%mmgr.conf -abde c:\path\logname.log

    This works but without the resource name the command line will exceed the max length fast.

    mercnt C:\Mercator6.7\cmgr\mmgr\stampandsortfile.mmc -ie1 path\filename_mi.edi -ie2 C:\Mercator6.7\cmgr\mmgr\share\mmgr.conf -abde c:\path\logname.log
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 4.  Re: Command Server and Resource Registry

    Posted 08/05/04 12:41 PM

    Originally posted by: SystemAdmin


    -ie1 path/... looks like where your problem is residing; it should be -if1 path/...
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange