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.  Run Map Error "22"

    Posted 06/24/09 10:10 PM

    Originally posted by: SystemAdmin


    Hi all,

    I'm getting error 22 as follows when executing a map that reads from a file.

    <ExecutionSummary MapStatus="Error" mapreturn="22" ElapsedSec="0.0204" BurstRestartCount="0">
    <Message>Page size too small</Message>
    <CommandLine>'C:\projects\DDPTB\maps\fromhost\OrderCreate_T2.mmc' -WM -IE1S15293 %lt;data;%gt; -IE2S1578 %lt;data;%gt; -IE3S55 %lt;data;%gt; -TIO=../../logs/debug/OrderCreate_T2-20090624185556.mtr -AEDUCB=../../logs/debug/AuditLogHostToAdv-OrderCreate_T2-20090624185556.log</CommandLine>
    <ObjectsFound>23</ObjectsFound>
    <ObjectsBuilt>33</ObjectsBuilt>

    <WorkArea type="Memory">
    </WorkArea>

    </ExecutionSummary>



    In the Map Designer Guide, "Map execution error and warning messages" it tells me that

    22
    Page size too small
    Increase the page size or decrease the number of types in the type tree that are used to define the input.

    My question is where and how to increase the page size and what is the default page size.

    Your help is much appreciated.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: Run Map Error "22"

    Posted 06/25/09 12:42 AM

    Originally posted by: Rich_McFate


    If you open your map in Map Designer or Design Studio, go to Map Settings-->Workspace-->PageSize. The default page size is 64 and the default page count is 8. If you change either (or both) and then rebuild the map, the setting is compiled into the map and will be used when the map is executed.

    In your case, it appears you are using the RUN() function to invoke the map, so you have another choice. You could include the -P command line qualifier and set the page size dynamically. For example, -P256:32 would use 32 256k pages.

    If you're not sure what page size to use, there is a command line utility, dtxpage.exe, that will run your map multiple times and look for the optimal page size.

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