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.  SAP error -2000 ¿?

    Posted 05/19/09 06:25 AM

    Originally posted by: Kepa_Screen


    I have a map trying to put some idocs into a R/3 SAP and getting -2000 error, don't know what this means, could not find any info at docs about this error

    <TargetReport card="1" adapter="R/3 ALE" bytes="49422" adapterreturn="-2000">
    <Message><Unrecognised error code></Message>
    <Settings>-c 002 -u ADMIN_IDOC -p FORUM -h SAX00010360.eroski.es -s 00 -ar3</Settings>
    </TargetReport>

    any help will be apreciated, thanks.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: SAP error -2000 ¿?

    Posted 05/19/09 06:28 AM

    Originally posted by: Kepa_Screen


    -2000
    Initialization failure. (backup/log init)

    This was the unique reference for this error, don't know how to resolve the issue
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 3.  Re: SAP error -2000 ¿?

    Posted 05/19/09 06:30 AM

    Originally posted by: Kepa_Screen


    this was the exact audit log file

    <MapAudit StartTime="12:18:55 May 19, 2009">

    <Platform>Command Server for IBM(TM) RS/6000 AIX(TM) - Version 8.1(37)</Platform>

    <Burst count="1">

    <DataLog></DataLog>

    <ExecutionLog burstreturn="9" ElapsedSec="51.142">

    <inputstatus card="1" bytes="70510" adapterreturn="0" contentreturn="0"/>
    <outputstatus card="1" bytes="49422" adapterreturn="-2000" contentreturn="0"/>

    </ExecutionLog>

    </Burst>

    <ExecutionSummary MapStatus="Error" mapreturn="9" ElapsedSec="51.147" BurstRestartCount="0">
    <Message>Target not available</Message>
    <CommandLine>/home/itforum/exec/mercator/mmc/I01.010206_GISAE_SAP_ERGCPC.mmc -IF1 /home/itforum/datos/in/ERGCPC212920090519105716.DAT -OMALE
    1 '-c 002 -u ADMIN_IDOC -p FORUM -h SAX00010360.eroski.es -s 00 -ar3' -OMALE2 '-c 002 -u ADMIN_IDOC -p FORUM -h SAX00010360.eroski.es -s 00 -ar
    3' -OMALE3 '-c 002 -u ADMIN_IDOC -p FORUM -h SAX00010360.eroski.es -s 00 -ar3' -AEDPCB -TIOS</CommandLine>
    <ObjectsFound>17024</ObjectsFound>
    <ObjectsBuilt>562</ObjectsBuilt>

    <SourceReport card="1" adapter="File" bytes="70510" adapterreturn="0">
    <Message>Data read successfully</Message>
    <Settings>/home/itforum/datos/in/ERGCPC212920090519105716.DAT</Settings>
    <TimeStamp>10:57:21 May 19, 2009</TimeStamp>
    </SourceReport>

    <TargetReport card="1" adapter="R/3 ALE" bytes="49422" adapterreturn="-2000">
    <Message><Unrecognised error code></Message>
    <Settings>-c 002 -u ADMIN_IDOC -p FORUM -h SAX00010360.eroski.es -s 00 -ar3</Settings>
    </TargetReport>
    Could anybody give some light ?
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: SAP error -2000 ¿?

    Posted 05/19/09 09:45 AM

    Originally posted by: Kepa_Screen


    more info....I tried to see the log for the rfc transaction at the gateway and this is what i could see:
    IBM WebSphere Transformation Extender R/3 Adapter, Version SAPTX8.2.0.28
    Copyright M-) 1997-2006, IBM Corporation. All rights reserved
    Built for AIX on Nov 29 2007 at 17:44:46.
    Using (built-in) for RFC services.
    This RFC library belongs to the SAP R/3 Release *** 640,0,165 ***
    Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.
    Fetch Unit is 0. Card Mode is Integral.
    Will process 83438 bytes of data.
    Run Started at 15:39:30.400 on 05/19/09.
    Options used: user,pass,clnt,host,sys,ar3,trace,name
    Lock failure, lock file , errno=2 - ENOENT No such file or directory.
    Tmp backup open failure or lock failure, errno=2 - ENOENT No such file or directory.
    Error: can not open Log file

    Don't know where to specify this TMP or LOG paths....any help please ?
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 5.  Re: SAP error -2000 ¿?

    Posted 05/19/09 10:50 AM

    Originally posted by: Kepa_Screen


    Ok, finally , four hours later the problem has been solved.

    It was a problem with $MERC_TMP_DIR environment variable, it was not correctly defined at our environment.

    export MERC_TMP_DIR=/merc8/tmp

    then we created a folder called tiddata at /merc8/tmp with all permissions ( chmod 777), then we restarted GW and Launcher, and all problems were solved.

    The problem was that we made use of -AR3 at PUT command, so, tiddata folder was need, also MERC_TMP_DIR well defined.

    Hope this may help to others.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange