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.  Getting message "source not available" but it's there.

    Posted 12/16/10 11:43 AM

    Originally posted by: charlieO


    Ok, I'm sure there's probably an easy answer to this. I'm new to design studio, just had the class end of November. I'm going through the class exercises again, and am getting an error stating "source not available" when I try to compile my Legacy2NewSys map from the Error Handling map. but it's there, and I can bring up the map and run it. Any ideas??
    Thx,
    Charlie
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: Getting message "source not available" but it's there.

    Posted 12/17/10 03:56 AM

    Originally posted by: SystemAdmin


    >"source not available" when I try to compile my Legacy2NewSys map
    You should see this error when you run the map rather than try to compile it.

    How many input cards does the map have - have you checked the source for each?
    Can you run the map with the audit log switched on and post the contents to the forum?
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 3.  Re: Getting message "source not available" but it's there.

    Posted 12/17/10 09:15 AM

    Originally posted by: charlieO


    Here is the log from the run:

    MapAudit StartTime="07:09:32 December 17, 2010">

    <Platform> Platform API for Windows - Version 8.3(21)</Platform>

    <Burst count="1">

    <DataLog></DataLog>

    <ExecutionLog burstreturn="12" ElapsedSec="0.0075">

    <inputstatus card="1" bytes="0" adapterreturn="-1" contentreturn="12"/>
    <inputstatus card="2" bytes="0" adapterreturn="-1" contentreturn="12"/>

    </ExecutionLog>

    </Burst>

    <ExecutionSummary MapStatus="Error" mapreturn="12" ElapsedSec="0.0090" BurstRestartCount="0">
    <Message>Source not available</Message>
    <CommandLine>'C:\wtx\WTX_Labs\Legacy2NewSys.mmc'</CommandLine>

    <SourceReport card="1" adapter="File" bytes="0" adapterreturn="-1">
    <Message>Source not available</Message>
    <Settings>C:\wtx\WTX_Labs\..\Data\ErrorLegacy.txt</Settings>
    </SourceReport>

    <SourceReport card="2" adapter="File" bytes="0" adapterreturn="-1">
    <Message>Source not available</Message>
    <Settings>C:\wtx\WTX_Labs\..\Data\Xref.txt</Settings>
    </SourceReport>

    </ExecutionSummary>

    <MapSettings>

    <MapAudit switch="ON">
    <Log executionsummary="Always" databurst="Always" databurst_sizevalidation="WrongSize" executionburst="Always" mapsettings="Always" datasettings="Always"/>
    <Location type="File" action="Create">
    <Directory type="Map">C:\wtx\WTX_Labs</Directory>
    <FileName type="Default" prefix="MapName">Legacy2NewSys.log</FileName>
    </Location>
    </MapAudit>

    <MapTrace switch="OFF"></MapTrace>

    <WorkSpace>
    <Location type="File" action="Create">
    <Directory type="Map">C:\wtx\WTX_Labs</Directory>
    <FileName type="Default" prefix="MapName"></FileName>
    </Location>
    <Paging>
    <PageSize>64</PageSize>
    <PageCount>8</PageCount>
    </Paging>
    </WorkSpace>

    <SlidingCentury switch="ON">1950</SlidingCentury>

    <CustomValidation switch="OFF"></CustomValidation>

    <Retry switch="OFF"></Retry>

    <BurstRestart switch="OFF"></BurstRestart>

    <Warnings type="Every" action="Warn"></Warnings>

    </MapSettings>

    <DataSettings>

    <InputData card="1" CardMode="Integral" WorkArea="!Reuse">
    <Backup switch="OFF"></Backup>
    <Source adapter="File" OnSuccess="Keep" OnFailure="Rollback" Scope="Map" Warnings="Ignore">
    <Resource>C:\wtx\WTX_Labs\..\Data\ErrorLegacy.txt</Resource>
    <Retry switch="OFF"></Retry>
    </Source>
    </InputData>

    <InputData card="2" CardMode="Integral" WorkArea="!Reuse">
    <Backup switch="OFF"></Backup>
    <Source adapter="File" OnSuccess="Keep" OnFailure="Rollback" Scope="Map" Warnings="Ignore">
    <Resource>C:\wtx\WTX_Labs\..\Data\Xref.txt</Resource>
    <Retry switch="OFF"></Retry>
    </Source>
    </InputData>

    <OutputData card="1">
    <Backup switch="OFF"></Backup>
    <Target adapter="File" OnSuccess="Create" OnFailure="Rollback" Scope="Map" Warnings="Ignore">
    <Resource>C:\wtx\WTX_Labs\New System.txt</Resource>
    <Retry switch="OFF"></Retry>
    </Target>
    </OutputData>

    <OutputData card="2">
    <Backup switch="OFF"></Backup>
    <Target adapter="File" OnSuccess="Create" OnFailure="Rollback" Scope="Map" Warnings="Ignore">
    <Resource>C:\wtx\WTX_Labs\Error.txt</Resource>
    <Retry switch="OFF"></Retry>
    </Target>
    </OutputData>

    </DataSettings>

    </MapAudit>

    Again, what is wierd is I can run the LegacyToNewSystem map by itself and it runs fine. The Error Handling map brings it up, along with the 2 input cards and 2 output cards. But when I compile and run, I get the same error as I mentioned.
    Thx,
    Charlie
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 4.  Re: Getting message "source not available" but it's there.

    Posted 12/17/10 09:57 AM

    Originally posted by: SystemAdmin


    >Again, what is wierd is I can run the LegacyToNewSystem map by itself and it runs fine. The Error Handling map brings it up, along with the 2 input cards and 2 output cards. But when I compile and run, I

    I'm not sure what you mean by this - does the map sometimes work and sometimes fail?
    Are you running it in different ways?
    How does the error handling map fit into this?

    I would start by trying to moving the inputs into the same directory as the map and changing the names to lowercase.
    Also the version of WTX you're running should be updated.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 5.  Re: Getting message "source not available" but it's there.

    Posted 12/17/10 03:23 PM

    Originally posted by: charlieO


    Thanks, I will give that a try.
    Charlie
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 6.  Re: Getting message "source not available" but it's there.

    Posted 12/17/10 04:37 PM

    Originally posted by: denzer


    Often times it can be a permissions issue, the file is there but the WTX process can't access it. If you haven't already, turn on the input card trace(s); you will likely get a more detailed error there.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender