Receiving return code of zero from tperrordetail()

Hello,
We have tuxedo services calling webservices via SALT - which have run successfully for years. We are looking into our logs recently and we are seeing intermitant errors which we are trying to analyze. The error text we receive is:
"TPESYSTEM - internal system error"
Upon examining the returned buffer, it is empty.
Trying to get more info, we have used tperrordetail() but this is giving a return code of zero.
What would be the next step we should take to narrow this down?  Our OPS people are not seeing anything unusual on the network.
Thank you.
Faith Rolfsen

Unintended posting made on the Japanese site. moving my question to the English Site.

Similar Messages

  • AFPPRN received a return code of failure from the OSD routine FDUPRN

    Hi all,
    Operting system : Solaris 9
    Oracle application: 11.5.10
    i would like to ask query related to buffer area of pinter on solaris server.
    we are trying to print cheques using oracle application on network printer.
    some times it is printing the cheques with out any problem but sometimes it throws and error message in concurrent request log file.
    ****************** L O G F I L E C O N T E N T S ***************
    Printing output file.
    Request ID : 849798
    Number of copies : 1
    Printer : radch1
    Pasta: Error: Error reading input file for type checking.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. An error occurred while AOL tried to spawn the print process
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. An error occurred while AOL tried to spawn the print process.
    Action: Review your concurrent request log file for more detailed information.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 20-AUG-2009 11:49:18
    ****************** L O G F I L E C O N T E N T S ***************
    my question is
    1) Do we need to delete any temporary files from server related to printer.
    Regards

    Hi,
    What is the status of those concurrent requests (Completed with Warning or with Error)?
    1) Do we need to delete any temporary files from server related to printer.Usually, you do not need to delete any files manually, temp files will be created by the application, and there should no issues with the files permissions (unless you have some other instance running on the same node with different applmgr user). However, you can safely clean (.t and .tmp) files as per the following documents.
    Note: 435437.1 - Most Common Solutions to FRM-41839 and .tmp Files Not Being Deleted
    Note: 145487.1 - Files Types .t and .temp and .tmp, are Saving Under /var/tmp
    Note: 162232.1 - Why Does Oracle Forms Create .TMP Files Which Fill Up The Filesystem e.g. /tmp ?
    I would also suggest you search Metalink for APP-FND-00500 and you will get many hits, go through the documents and see if it helps.
    Regards,
    Hussein

  • APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN

    Hi All,
    i have configured a printer in R12.1.3, when i am trying to print its giving below error...
    please help..
    lp: The printer or class was not found.
    Pasta: Error: Print failed. Command=lp -c -dHP_P4014N /apps/local/inst/apps/UAT_server/appltmp/pasta9331_0.tmp
    Pasta: Error: Check printCommand/ntPrintCommand in pasta.cfg
    Pasta: Error: Preprocess or Print command failed!!!
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.
    Action: Review your concurrent request log file for more detailed information.
    Thanks
    RB

    And found this Exception also... in the diagnostic output.
    EXCEPTION - One or more versions were missing. caught in 'FNDPastaDiag.retrieveSupportFiles'
    java.lang.IllegalArgumentException: One or more versions were missing.
    at oracle.apps.jtf.regress.qatool.base.TextUtility.compareVersions(TextUtility.java:650)
    at oracle.apps.fnd.diagnose.FNDPastaDiag.retrieveSupportFiles(FNDPastaDiag.java:1486)
    at oracle.apps.fnd.diagnose.FNDPastaDiag.runSupportTest(FNDPastaDiag.java:556)
    at oracle.apps.jtf.regress.qatool.base.DiagBase.runTest(DiagBase.java:373)
    at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.runTest(LegacyJavaTestExecution.java:147)
    at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.execute(LegacyJavaTestExecution.java:83)
    at oracle.apps.fnd.oam.diagnostics.exec.WorkerThread.run(WorkerThread.java:49)
    at java.lang.Thread.run(Thread.java:619)
    ACTION - Please log an iTAR (Service Request) for product "Support Diagnostics Project" (ID=1332) to notify support about this issue
    Thx
    RB

  • Received return code 500 ( Error during conversion of XI message )

    Hello Experts,
    I am configuring the WSRM for SD in SAP. I have only configured services CreditWorthinessQuery_Out and CreditWorthinessQuery_In on soamanager to carry out credit checks.
    while i am creating sales order i am getting below error.
    Received return code 500 ( Error during conversion of XI message )
    In debug i checked the string of error it showed me below string :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">#<SOAP:Hea
    der>#</SOAP:Header>#<SOAP:Body>#<SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.o
    rg/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Error during c
    onversion of XI message</faultstring><faultactor>http://sap.com/xi/XI/Message/30
    </faultactor><detail><SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.co
    m/xi/XI/Message/30"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="PARSE
    R">UNEXPECTED_VALUE</SAP:Code><SAP:P1>Main/@versionMajor</SAP:P1><SAP:P2>000</SA
    P:P2><SAP:P3>003</SAP:P3><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMess
    age namespace=""/><SAP:Stack>XML tag Main/@versionMajor has incorrect value 000;
    expected value is 003##</SAP:Stack></SAP:Error></detail></SOAP:Fault>#</SOAP:Bo
    dy>#</SOAP:Envelope>#
    Does anyone have any idea about this? I am not integrating with PI/XI system.

    Hi
    Can you check this out?
    Transaction SXMB_ADM  Integration Engine Configuration
    For an application system you have to maintain the role of the business system as an application system. Set the corresponding Integration Server as an HTTP destination (for example, dest://INTEGRATION_SERVER). Create the destination in transaction SM59 and set the type to HTTP Connections to R/3 System. Test the connection by using the Connection Test button; you should get HTTP 500 u2013 Empty HTTP Request received, because no u201Ereal‟ XML document is sent during this test.
    A HTTP return code 500 (Internal Server Error) is OK.
    Regards
    Pothana

  • Why do I get a return code of 4 from DS_GetDataValue( ) in CVI?

    Using polling DSTP string variable to receive data transferred from localhost DSTP server, the server returns error code 4 not 0.  Using DS_GetLibraryErrorString( ) to query the server on error number 4, the error message returned is "The operation completed successfully."
    Since no error is usually returned as 0, I am a little surprised to see errorcode 4 being used to tell me that no error occurred.

    Hi mpencke,
    The DSTP uses the HRESULT information to determine its error codes, and you can find all of the documentation on those error codes in cvi\toolslib\datasock\dataskt.h and cvi\sdk\include\winerror.h. An actual Success code appears to be 0, while an error code of 4 appears to be the code for too many files being open. It could be other numbers are coming into place, or maybe a question of timing. Maybe we could take a look at the snippet of code in question and where it is located within your project, and what is going on we could look further into the issue.
    Regards,
    James W.
    Applications Engineer
    National Instruments

  • Return Code to UNIX from Procedure Package

    I've found examples where a 1-byte RC can be picked up by a UNIX shell script (in $?) but they involve a PL/SQL block and bind variable in the script itself. It appears I cannot use a bind variable in a Package because the compile fails (PLS-00049: bad bind variable). UNIX does find a RC value when I use RAISE_APPLICATION_ERROR( (-20000-744) - v_rc_255, 'Abnormal Termination.' ); where v_rc_255 is a PLS_INTEGER with value 255, but the value is not 255! Sometimes it is zero, other times 7.
    Is there a practical way I can signal "Abnormal Termination" from any PL/SQL Package's Procedures/Functions to UNIX so I can send my shell script down the appropriate path?

    I believe that the only way to do what you propose is to use bind variables in your script. This is not necessarily a problem, however. Note that in UNIX, you must insure that the return value is between 0 and 255 (since there is only 1 byte of storage for return variables).
    Consider the following simple example:
    create a simple test procedure (or package, or function) which can raise a user-defined error:
    SQL> create or replace procedure test(inval IN number) is
    2 begin
    3 if inval = 0 then return;
    4 else raise_application_error(-20102,'My error');
    5 end if;
    6 end test;
    7 /
    Note that RAISE_APPLICATION_ERROR must return a value between -20000 and -20999
    In your shell script, create a bind variable and wrap your call to the procedure in a PL/SQL block with an exception handler. For example, I have created a shell script called mytest.sh:
    #!/bin/ksh
    sqlplus -s <<-EOF
    scott/tiger
    var retvar number;
    begin
    test($1);
    :retvar := 0;
    exception
    when others then
    :retvar := ABS(sqlcode) - 20000;
    end;
    exit :retvar
    EOF
    retval=$?
    echo retval=$retval
    From a UNIX shell prompt, execute the script with an argument of 0; a value of 0 is returned (normal completion)
    Execute the script with any other value and a value of 102 is returned (note that we had to perform a calculation on sqlcode to insure that the value was between 0 and 255).
    Hopefully this makes sense.

  • How to get return code or parameters from PL/SQL in my shell script ?

    My shell script must check the result of PL/SQL's running, and decide what to do in the next step.

    I think you put the problem the wrong way.
    You should try to do as much as possible through your SQL scripts, and, if you need to make OS calls, you may do that using host(command_string).
    If you need to transfer parameters from other programs to your FORMS (PL/SQL), then you have to see user_exit.
    Some other means would be to have your PL/SQL write to certain OS files that the shell script may read, but that doesn't seem like good practice to me.

  • Printer not-accepting APP-FND-00500: AFPPRN received a return code of failu

    Hi Gurus,
    skgtag: not-accepting APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1.
    This is my error. My same request output is printing to other printers. But it is not printing in particular printer.
    My printer is shared is windows 2000 system and we have installed Unix files & printer sharing windows feature.
    while executing below command from soloris command line
    lp -d skctag -n 1 sona
    skgtag: timed out error is coming please give advice in this.

    Hi Hussein,
    Now concurrent is completed normally without any warnings.
    Server OS Level
    Now it is not showing any error but printout not coming in printer.
    lp -d skctag -n 1 /rman_backup/PROD_rmanfullbkp.sh
    request id is skctag-60 (1 file(s))
    But printout not coming ....
    Concurrent Log file for your reference.
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 50089046      
    Number of copies : 1      
    Printer : skctag
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 07-JAN-2013 11:14:08
    ---------------------------------------------------------------------------

  • Operating System request Import return code has different return code from SAP SE01 log screen.

         Hi experts.
         I sent request from DEV system to PRD system at OS level but I am facing interesting problem. I sent request at OS level and return code 8, that means with error but if we look same request transporter log  at SAP side vi tranzaction SE01, Transporter log show me no error. I did not test with return code 0(zero), 4 or 12 at OS level.
    Our OS  is SOLARIS 11.2 and Database Oracle 11G and SAP Netweaver 7.40.
    Thank for help.

    Read what you have posted:
    Alternatively, you can find these logs in the following files in the
    log directory of your transport directory (usually:
    /usr/sap/trans/log):
    - tp Step 6: P<YY><MM><DD>.<SID>
    - tp Step N: N<YY><MM><DD>.<SID>
    - tp Step S: DS<YY><MM><DD>.<SID>
    Sort the files by date and check the latest one.
    Markus

  • Return code 1073807364 (0x40010004) on Windows when using COM to script Illustrator and Photoshop

    Hi,
    I'm using python via COM to run Illustrator and Photoshop on a Windows machine and I occasionally get this return code in python from the subprocess: 1073807364 (0x40010004). I've done some googling and it seems to indicate that that's a Windows return code for "the process is still running". Is it safe for me to let the process continue when I see that return code? Or does that indicate something else?
    Thanks.

    I have similar setup to yours.
    From my point of view you need more RAM. I have 16GB. Than you will need to change in preferences to adjust memory used by PS and Illustrator. Maybe take a look at virtual memory in Windows and disable aero effects.
    Disk. It is better to have one disk for system (eg.SSD) and one for documents. But don't buy something like WD Green series that is intended for backup.
    Graphics. It is not a major player I think for your tasks, but OpenGl can speed up rendering in Photoshop and Illustrator.
    When exporting AI with layers to PSD it will always show "out of memory" unless you turn off anti aliasing.
    and the most important thing reinstall Windows after some time... It will work faster.

  • TREX config Return Code: 7264

    Hi !
    When editing the queue parameters for TREX index in the TREX monitor and clicking on save i get the follwoing error message:
    Return Code: 7264: Url 'http:/trexhttpserver/trexhttpserver.dll' in configuration is invalid
    This also happens when i reindex the index. It seems that the host ans PORT is missing in the URL.
    Did anyone receive return code 7264 anytime ???
    regards
    Alex

    Hi Alexander,
    What is ur Trex and Portal Version? Are they on the same machine?
    7264 =    "Url '&1' found in &2 is invalid" (BAD_URL)
    Check SAP notes 499372,450811, 692057, 577525,655265, 817145.
    Modify your configuration for the correct URL.
    Thanks,
    Praveen
    PS.Dont forget to reward points

  • HTTP Return Code Checking on ACE

    Hey there.
    I have a question regarding return code checking for a serverfarm on ACE. I am looking to have the ability to monitor a client's session real-time and monitor return codes passing back from the origin servers to the client.
    For example, if during a client's session there is a single HTTP 500 error code sent from server to client, the intercept that response and first retry the request on a different server in the farm. Or perhaps only if I see three 500 error codes in 30 seconds. Something like that.
    From what I can tell from the docs the retcode check command for a serverfarm is maybe only for statistical purposes?
    Thanks for any help.
    /ahuffer/

    In ACE return codes checking is only used to count number of return codes from Rservers. Unlike CSMs (where return codes were used for inband health monitoring) ACE is not using them for load balancing or inband health
    monitoring. Once you enable return code checking and counting you can then display the return code statistics per serverfarm
    for example
    serverfarm host serverfarm1
    retcode 200 499 check count
    rserver real1
    inservice
    rserver real2
    inservice
    show serverfarm serverfarm1 retcode
    serverfarm : serverfarm1
    rserver : real1
    np : 1
    return code action total count
    +------------+--------+------------+
    200 count 100
    201 count 0
    202 count 0
    203 count 0
    204 count 0
    205 count 0
    206 count 0
    498 count 0
    499 count 0
    Syed

  • Return codes from sqlldr command from unix shell script

    I am trying to capture error code from sql loader from unix shell script and display proper messages.
    sqlldr parfile=sdb.par control=$cntlfile data=$infile bad=$badFile log=$logFile rows=10000
    rows=10000
    retcode=`echo $?`
    case "$retcode" in
    0) echo "SQL*Loader execution successful" ;;
    1) echo "SQL*Loader execution exited with EX_FAIL, see logfile" ;;
    2) echo "SQL*Loader execution exited with EX_WARN, see logfile" ;;
    3) echo "SQL*Loader execution encountered a fatal error" ;;
    *) echo "unknown return code";;
    esac
    Eventhough, there are errors while executing sqlldr, it is always returing recode zero. What could be the possible reason
    Please advice

    Is there a typo in your code ?
    sqlldr parfile=sdb.par control=$cntlfile data=$infile bad=$badFile log=$logFile rows=10000
    rows=10000
    retcode=`echo $?` In this code, you get the return code of the statement in bold which is not the sqlldr statement ...

  • Return codes from sqlplus_exec_template

    OWB'ers
    Environment:
    OWB 10g (10.1.0.2.0)
    Repository and target schema - Oracle9i (9.2.0.4) on AIX 5.2
    I am executing the 'sqlplus_exec_template.sql' script to execute a Process Flow. It executes the Process Flow just fine.
    When I put the SQL*Plus command line in a UNIX script as so:
    sqlplus -s owb_rtu/owb_rtu @sqlplus_exec_template OWB_RTR GWW_FLOW_LOCATION_1 PROCESS LOAD_BUSINESS_UNITS "," ","
    ... and then test the return code using $?, it returns a '1' for a successful execution.
    I understand that the package that is executed by the SQL script (wb_rt_api_exec) will return 1=success, 2=warning and 3=error. No problem.
    However, when I test the return status of the actual SQL*Plus command I also get a '1' when the PL/SQL script executes successfully!!??!!??
    The log file produced from the SQL script shows the following:
    Session altered.
    Role set.
    Stage 1: Decoding Parameters
    | location_name=GWW_FLOW_LOCATION_1
    | task_type=ProcessFlow
    | task_name=LOAD_BUSINESS_UNITS
    Stage 2: Opening Task
    | l_audit_execution_id=12300
    Stage 3: Overriding Parameters
    Stage 4: Executing Task
    | l_audit_result=1 (SUCCESS)
    Stage 5: Closing Task
    Stage 6: Processing Result
    | exit=1
    PL/SQL procedure successfully completed.
    So, if the PL/SQL procedure completes successfully, why do I get a '1' return code to my UNIX script?
    UNIX thinks that is an error condition.
    When I purposely made an error in my SQL*Plus command line the UNIX script returned a '1', as expected, when encountering a script error.
    How then do I tell the difference between a SQL command error that returns a '1' and a successful completion of the PL/SQL package that also returns a '1'?
    I have tried the Process Flow with the 'Use Return as Status' set to both True and False with the same results.
    I am trying to set up scripts that will run in Autosys and I need to check the return codes of the jobs and notify the appropriate people if there is a problem. Like UNIX, Autosys thinks a '1' return code is an error condition.
    So it appears that the SQL*Plus command invoked in a UNIX script is returning the exit status of the 'wb_rt_api_exec' package invoked in the SQL script and not the actual result of the PL/SQL procedure that calls the package.
    How do I get the SQL*Plus command executed from the UNIX script to return a zero (0) upon a successful completion and a non-zero upon an error?
    Is the package somehow overpowering the return code from SQL*Plus?
    Any help is greatly appreciated.
    Gary

    Jean-Pierre
    Thanks very much for the response. I will find that SQL script you mention and see if I can use it or modify it to meet our needs.
    We have standardized on using Autosys as our job scheduling product and are using it for all the ERP jobs in addition to the ETL jobs.
    In that light I would be very interested in having a closer tie between OWB and Autosys. We aren't in a position to be a very good beta customer at this point due to a very tight implementation schedule for the next few months. After that it might be possible for us to help test that new functionality.
    Thanks again, we really appreciate your efforts in this discussion group.
    Gary

  • ZTIERROR: Non-zero return code by ZTIPowershell, rc = 10904

    My Scenario:
    i have a Windows 2008 R2 server with MDT 6.2.5019.0. 
    i have 2 deployment shares on this server: Windows 7 x64 Enterprise & Windows 8.1 Enterprise x64
    in both my base images (win 7 & win 8.1) i updated to Powershell 4.0
    Using task sequence in MDT i try to Run Powershell scripts that i created in "STATE RESTORE">"CUSTOM TASKS" folder using "ADD>GENERAL>RUN POWERSHELL SCRIPT".  On the Windows 7 x64 deployment share all my Powershell
    scripts- task sequences run fine but for my Windows 8.1 i get the following error:
    ZTIERROR: Non-zero return code by ZTIPowershell, rc = 10904
    i have no clue whats going on.
    here are some steps troubleshooting steps I've taken:
    1. updated the deployment share>Completely regenerate the boot images
    2. Added computer to workgroup instead of Domain (Prevent any GPO's from affecting)
    any help would be appreciated

    Also you can add this in CustomSettings.ini (is located in \\<SERVER>\DeploymentShare$\Control):
    ;Logging
    SLShare=\\<SERVER>\DeploymentShare$\Logs
    SLShareDynamicLogging =\\<SERVER>\DeploymentShare$\Logs\%ComputerName%
    and in appropriate %ComputerName% folder on <SERVER> during OSD will be generated dinamically updated BDD.log. After OSD is finished rest logs will appear in that folder. 
    You can inspect this with trace32 from System
    Center Configuration Manager 2007 Toolkit V2.

Maybe you are looking for