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.  Using Resource Registry

    Posted 11/15/04 08:08 AM

    Originally posted by: SystemAdmin


    I would like to use Resource Registry for command parameters for Email. I am wondering if Resource Registry can be used with Command Server or just with Event Server? I defined some resource names, then inserted them in the map and ran the map from Design Studio and the email doesn't work, no error message, it just doesn't execute. HELP!!! Any ideas or assistance is welcomed.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Using Resource Registry

    Posted 11/15/04 02:57 PM

    Originally posted by: SystemAdmin


    Email can be problematic in the best of circumstances. For any external calls of any complexity, I usually single step to a solution. For example, I have a generic text file type tree of the form, File--->RecordGroup(s)-->Record)(s)-->Field(s). I then might start by outputting the Resource Registry values just to determine that they are being read as I expect. Often I will output the command as text rather than executing it to determine if it is being built properly. Only when I'm comfortable that the commands are being expanded as I expect do I plug them into a PUT function or adapter command string. I also might hardcode everything to verify things work and then substitute one variable at a time until I have the complete, working expression I need. Then I move it into the actual map where I need it.

    If you can be more specific on your situation perhaps one of us can help. An example of your command string might help. Also, your environment and mail application, etc.

    Jim Divoky, EC Solutions, Inc., 330-606-6826
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 3.  Re: Using Resource Registry

    Posted 11/16/04 02:05 AM

    Originally posted by: SystemAdmin


    aschreiber --

    To use the resource registry from the map designer, make sure you have the resource entries in the "Global" section of the configuration file. This plus the configuration file must be defined from the Map Designer -> Tools -> Options -> Run Options -> Configuration File.

    Now, to use it from the command server (outside of the map designer), you need to define either "Global" or "Command Server" in the resource registry and define the configuration file path from the INI file in the Execution section -> ResourceCfgFile=.

    The Event Server can have it's definitions in either the "Global" or "Event Server" sections of the configuration file, and the definition of the file is either in the INI file Launcher section, or from the Event Server Admin.

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


  • 4.  Re: Using Resource Registry

    Posted 11/16/04 12:33 PM

    Originally posted by: SystemAdmin


    Thanks Lew...
    I was not aware of the setting for the config file in the Map Designer. I had not found that in the documentation until I looked again after you mentioned it. Anyway, my email maps are working using the Resource Registry now. I just need to figure out now where else this could be beneficial. I also need to decide the best location to store the config and resource files, perhaps directly under the Mercator6.7 or Ascential7.5 directory would be appropriate!

    I appreciate the assistance, thanks again.
    Ann...
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender