To Migrate a native Enterprise Server Resource Definitions File

You can use existing native Enterprise Server resource definitions with Enterprise Server for .NET. Studio Enterprise Edition contains a utility to migrate a resource definitions file for use with Enterprise Server for .NET.
  1. Open a command prompt in Studio Enterprise Edition.
  2. Use the casrdtex utility to export the existing resource definitions file into an intermediate XML format.

    By default the casrdtex utility exports the resource definitions in IBM assembler macro format using the default dfhurdex exit. However, by overriding the default exit with the dfhurdexxml exit (with the /ue command line option), the resource definitions are exported in an XML format. You use this in the second step of the migration process.

    For example, the following command converts the native Enterprise Server resource definition dfhurdexxml to the esdefs.xml file.
    casrdtex /v /ue:dfhurdexxml /ip.\ /oc:\mydir\esdefs.xml 
    /i /g /x /e /l /s /f /d /z /t /y /m
    Cut and paste the following version to an editor, then edit to suit your requirements:
    casrdtex /v /ue:dfhurdexxml /ip.\ /oc:\mydir\esdefs.xml /i /g /x /e /l /s /f /d /z /t /y /m
  3. Open a command prompt in Enterprise Developer.
  4. Use the seerdfconv utility to convert the XML file you created.

    For example, to convert the intermediate XML file from the previous step's example, use the following command.

    seerdfconv.exe -in:c:\mydir\esdefs.xml -out:ResourceDefinitions.config

    The resulting file, ResourceDefinitions.config, can be used as anEnterprise Server for .NET resource definitions file.

You can copy the resource definitions file to a location that is visible from the Enterprise Server for .NET Resource Editor to modify it. You can use it with Enterprise Server for .NET regions that you define. See information on the casrdtex Studio Enterprise Edition utility included in this help set for details.