IBM Sterling Transformation Extender

Sterling Transformation Extender

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

 View Only
  • 1.  MRC and MRN files

    Posted Thu January 13, 2011 05:31 AM

    Originally posted by: DKS240883


    What is the use of .mrc and .mrn files and how are they created?
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: MRC and MRN files

    Posted Thu January 13, 2011 05:33 AM

    Originally posted by: DKS240883


    I am asking about WTX, formerly mercator.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 3.  Re: MRC and MRN files

    Posted Thu January 13, 2011 06:40 AM

    Originally posted by: vijji_WTX


    Hi DKS,

    .mrc and .mrn files are known as Resourse registry of WTX project. They are like configuration files.

    .MRN file consists of below xml tags. You can have inbound/outbound nodes defined in this file

    <Resource>
    <Name>im_ap_mq</Name>
    <Value Server="test" encrypt="OFF"> -QN MQ_IN -EQN MSG_IN.ERROR</Value>
    <Value Server="qa" encrypt="OFF"> -QN MQ_IN -EQN MSG_IN.ERROR</Value>
    <Value Server="prod" encrypt="OFF"> -QN MQ_IN -EQN MSG_IN.ERROR</Value>
    </Resource>

    .MRC file consists of below xml tags.You can have all systems(IFD) defined here

    <System Name="/var/applications/systems/handle_MQobjects.msl">
    <ResourceFile ActiveVirtualServer="prod">/var/applications/config/ftp_resource.mrn</ResourceFile>
    </System>
    this works like Web.xml file in Java servelt.

    regards,
    Vijji
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 4.  Re: MRC and MRN files

    Posted Fri January 14, 2011 06:56 PM

    Originally posted by: MJamalNasir


    Just to add a little more to Vijji's explanation here...the main advantage/ use of .MRN is that you do not have to change the main source code (.MSD) as a result of small change and any non technical person can do this by opening it in any good text editor or with resource registry. For example if a Q-Manager name (-QMN) or Q-Name (-QN) changes for any reason, you can simply open the .MRN file and change the actual value between the XML tag assigned to this parameter in the .MSD. The second choice would be to hard code the actual value in the .MSD but each time the value changes you have to take out the main source i.e .MSD make the changes and redeploy the .msl . This is a tedious task because in order to bring in the effect of the new changes you have to stop/ start WTX (Mercator). When you stop, you have to make sure all the processes are down properly and shared memory is cleared before you start again. The reason I mentioned all of this is because it cannot be done by a non technical person as in the case where it is NOT hard coded in .MSD, where you just have to make a simple change in .MRN file.
    Also .MRN and .MRC files are created with the tool “resource registry” provided in the package.
    Kind Regards, Jamal
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender