Return Code of sqlldr for failure or success ??

Hi,
I would like to know what will be the return code for the sql loader when there is rejection of single record from the data file.
Can someone please tell me regarding return code of sqlldr so that depending on that i would be able to take some action.
The other methods which are there to do the same :
1) To scan the log file and check for rejected keyword
2) To check weather any bad file is created.
Any help would be highly appreciated.
Thanks!!

Check out this book : Utilities
http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
Joel P�rez

Similar Messages

  • What does the return code 20 stands for in the Transport request log

    Hi,
    When we have retreived the Transport request log by using the Unix command, we have got return code 20.
    Please let us know what does the return code 20 stands for and under what scenerios I will get the return code 20.
    Thanks & Regards,
    Madhuri.

    chk the last return code in this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/57/38e26c4eb711d182bf0000e829fbfe/content.htm

  • Return code (SY-SUBRC) for the EXCEPTION will not be processed

    Hi,
    when I was doing the EPC check i have approached this messgae.
    Return code (SY-SUBRC) for the EXCEPTION will not be processed after CALL FUNCTION
    'CU_READ_RGDIR'
    (You can turn off this check by setting all EXCEPTIONS to 0)
    (The message can be hidden with "#EC *)
    Any pointers on how to handle this.
    Regards
    Rohini.

    Hi Rohini,
    Try doing something like this.
    TYPE-POOLS: hrpay.
    DATA: w_pernr              TYPE          p0000-pernr ,
          w_buffer             TYPE          hrpay_buffer,
          w_no_authority_check TYPE          xfeld       ,
          w_molga              TYPE          t500l-molga ,
          t_in_rgdir           TYPE TABLE OF pc261.
    CALL FUNCTION 'CU_READ_RGDIR'
      EXPORTING
        persnr             = w_pernr
        buffer             = w_buffer
        no_authority_check = w_no_authority_check
      IMPORTING
        molga              = w_molga
      TABLES
        in_rgdir           = t_in_rgdir
      EXCEPTIONS
        OTHERS             = 0.

  • 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 ...

  • Getting return code as 1 for SD_SHIPMENT_PROCESS_HU

    Hi All,
    Could you please tell me what is the use of SD_SHIPMENT_PROCESS_HU function module.
    I am debugging one standard program in that after processing  this FM in  SD_SHIPMENT_PROCESS Function module getting return code is 1.
    Could you please tell me,what might be the reason.
    Thanks in Advance.
    Regards,
    Rama.

    Hi Rama,
    if you will look into the specified function module
    CALL FUNCTION 'SD_SHIPMENT_PROCESS_HU'
      IMPORTING
        e_logfile =                 " v56e_logfile
      CHANGING
        c_activities =              " v56e_shipment_activities
        c_shipment =                " v56e_shipment
      EXCEPTIONS
        ERROR = 1                   "
    so if you are getting returned code as 1, it means there is any error.

  • BPC5.1 - Data manager package to Stored proc with custom return codes

    Hi all,
    Does anyone have experience passing the return codes from a stored procedure back into the eData "view status" package progress or event log details?
    When my stored procedure throws errors, the offending SQL code shows up in the pacakge details, which is helpful. But what I'd really like is to structure my stored proc with return codes
    0 = everything's wonderful
    1 = invalid category / time combination
    2 = unauthorized
    3 = no data to process
    And then handle these codes as either "completed" "warning" or "error" in the package progress.
    And ideally, I'd like to put some meaningful message about the warnings & errors, directly into the log details, so the user can fix the problem themselves rather than ask the IT guy to trouble-shoot.
    Any tips? I've started playing with using the on-complete, on-success, on-failure routing of different tasks within the DTSX package (SQL 2005), but I'm just working on a trial-and-error basis right now. (With # of errors = # of trials.)
    Thanks,
    Tim

    In case anyone's interested, I've solved this by tracking my return codes as a package variable.
    Within the package, I have conditional logic moving from task to task, evaluating the return code to check for various conditions, and selecting which tasks to perform accordingly.
    In the last task, I run a final stored procedure which posts some data (completion time & status) to a custom transaction log table, and then if the return code is not zero, I script and execute some SQL which I know will throw a "fake" error. The SQL statement itself includes the key information I want the end user to see. For example
    Select InvalidEntitySelection [USEast1],TransactionID [12340]  from ThisTableDoesntExist
    Select UnauthorizedUser [Tim], TransactionID [12345] from ThisTableDoesntExist
    Select WorkStatusIsLocked [USEast1 Actual 2008], TransactionID [12345] from ThisTableDoesntExist
    It's not exactly elegant, but it gets the message across, which is all that I need. In this way, the end user sees that the package failed with an error, and when they look at the package details, they can see the problem. They can pass on the transaction ID to an administrator to look into the details, if they can't figure it out on their own.
    Sorin, I never managed to figure out how to use a VB task to send the information back to the user, plus force the package to end in an error. I'm sure there's a way to do so, but this seems to work for my requirement.
    I'm not entirely happy with the "fake error" approach, but I don't know if BPC has any support for "intentional" programming of errors in the DTS scripting toolset.
    Thanks,
    Tim

  • TP return code - Different between SE01 and AIX log file

    Hello all,
    Since 2-3 days our transports (done manually on AIX level) on a test system, give a return code 8 in the log file on the unix server while when we check SE01 the transport log has a return code 0 and everything is imported successfully.
    The script on unix is as follows:
    tp addtobuffer $NAME ST2 pf=TP_DOMAIN_SM2.PFL
    tp import $NAME client=999 ST2 pf=<Profile_name> > $LOG
    I have searched in SAP Net  and nothing found.
    Any idea?
    Rgds,
    Loukas

    This is also the log from the transport request.<SID>  where the difference in the error code is apparent:
    1 ETP199X######################################
    1 ETP156 GENERATION OF REPORTS AND DYNPROS
    1 ETP101 transport order     : "SM2K941036"
    1 ETP102 system              : "ST2"
    1 ETP108 tp path             : "tp"
    1 ETP109 version and release : "340.16.37" "640"
    1 ETP198
    1 EPU141 Generation of programs and screens for transport request "SM2K941036"
    4 EPU142      on application server "sapbrp03"
    1 EPU143 Only generates programs with LOAD versions
    1 EPU145 Start on "26.06.08" at "08:22:46"
    1 EPU144 -
    2 EPU146XGeneration of the transported programs
    2 EPU144 -
    3 EPU165 Program "ZSCO_INTERFACE_MERCUR" successfully generated
    4 EPU153 Database COMMIT executed
    2 EPU144 -
    2 EPU147XGeneration of the users of the transported Includes
    2 EPU144 -
    2 EPU144 -
    1 EPU149 Ended on "26.06.08" at "08:22:47"
    1 EPU150 No. of programs  /Min/Avg/Max (sec): "1"   "1" "1" "1"
    1 EPU144 -
    4 EPU153 Database COMMIT executed
    1 ETP156 GENERATION OF REPORTS AND DYNPROS
    1 ETP110 end date and time   : "20080626082247"
    1 ETP111 exit code           : "0"
    1 ETP199 ######################################

  • Execution of BRARCHIVE finished with return code 3

    Hello Guru's
    I am Facing with one problem wherein in DB13 when i schedule a backup i m able to do the Online Backup as well as Offline backup but it fails at Brarchive
    brbackup runs successfully but at the end gets the error with brarchive failed with return code 3.
    BR0280I BRBACKUP time stamp: 2007-08-24 09.55.57
    BR0340I Switching to next online redo log file for database instance WED ...
    BR0321I Switch to next online redo log file for database instance WED successful
    BR0117I ARCHIVE LOG LIST after backup for database instance WED
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /oracle/WED/oraarch/WEDarch
    Archive format                 %t_%s_%r.dbf
    Oldest online log sequence     3183
    Next log sequence to archive   3186
    Current log sequence           3186             SCN: 25458005
    Database block size            8192             Thread: 1
    Current system change number   25458007         ResetId: 626987176
    BR0018I Waiting for the next offline redo log file...
    BR0056I End of database backup: bdvzobjm.ant 2007-08-24 09.56.02
    BR0280I BRBACKUP time stamp: 2007-08-24 09.56.03
    BR0052I BRBACKUP completed successfully
    BR0280I BRBACKUP time stamp: 2007-08-24 09.56.03
    BR0291I BRARCHIVE (action ID advzobjm) will be started with options '+bdvzobjm.ant,118564503552,WEDB04,41 -jid ALLOG20070824092325 -d tape -c
    BR0280I BRBACKUP time stamp: 2007-08-24 09.56.03
    BR0292I Execution of BRARCHIVE (action ID advzobjm) finished with return code 3
    Hope for a prompt response for this issue
    Thanks in Advance
    Ashish

    Hello Ashish,
    First of all BR0292I  is not an error it is just an information message. BR tool error codes will finish with E. I denotesinformation. As suchyou can ignore this informationmessage. However just check if you find any error logs related to it. If so then you need to take care.
    Regards
    Ruchit.

  • ZTI ERROR - Non-zero return code by LiteTouch, rc = -2147023589 0x8007051B

    Hi,
    Operating system is installed and after that defined applications are not getting installed. Deployment ended with below errors. Please help me to solve the problem.
    MSD 2010 is the tool which is used for deploying Windows 7 Enterprise Edition 32 bit operating system. 
    ResourceRoot = \\Server1\DeploymentShare
    Property ResourceDrive is now = Z:
    ResourceDrive = Z:
    Property _SMSTSPackageName is now = Lite Touch Installation
    SMS Task Sequencer already found on C:\MININT\Tools\X86
    LiteTouch
    RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x86\Microsoft.BDD.Utility.dll"
    LiteTouch
    RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll"
    LiteTouch
    FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object
    LiteTouch
    LTI beginning deployment
    About to run command: "C:\MININT\Tools\X86\TsmBootstrap.exe" /env:SAStart
    Litetouch deployment failed, Return Code = -2147023589  0x8007051B
    For more information, consult the task sequencer log ...\SMSTS.LOG
    Property RetVal is now = -2147023589
    CleanStartItems Complete
    About to run command: MSHTA.exe "\\Server1\DeploymentShare\scripts\Wizard.hta" /definition:Summary_Definition_ENU.xml
    Property definition is now = Summary_Definition_ENU.xml
    Wizard
    Microsoft Deployment Toolkit version: 5.1.1642.01
    Wizard
    Not Wizard = False Wizard
    Property WizardComplete is now = N Wizard

    For more information, consult the task sequencer log ...\SMSTS.LOG
    Check the SMSTS.log file. If you need additional help, please copy the log file to a public share like onedrive and send the link here.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • [Error during Export] R3load exited with return code 11

    Hi guys,
    While performing and Unicode Migration, during Export Phase, Migration Monitor returned the following error while exporting a package
    ERROR: 2014-06-01 10:57:44 com.sap.inst.migmon.LoadTask run
    Unloading of 'REGUC' export package is interrupted with R3load error.
    Process '/usr/sap/ECP/DVEBMGS00/exe/R3load -e REGUC.cmd -datacodepage 4102 -l REGUC.log -stop_on_error' exited with return code 11.
    For mode details see 'REGUC.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    REGUC.log details:
    (As you see, it does not provide reasons of this error, all messages are informative and alike all other Packages logs)
    /usr/sap/ECP/DVEBMGS00/exe/R3load: START OF LOG: 20140601105052
    /usr/sap/ECP/DVEBMGS00/exe/R3load: sccsid @(#) $Id: //bas/740_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    /usr/sap/ECP/DVEBMGS00/exe/R3load: version R7.40/V1.8
    Compiled Jul 23 2013 21:30:53
    /usr/sap/ECP/DVEBMGS00/exe/R3load -e REGUC.cmd -datacodepage 4102 -l REGUC.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): US7ASCII
    (EXP) INFO: check NameTab widths: Ok.
    (DB) INFO: Export without hintfile
    (RSCP) INFO: UMGCOMCHAR read check, OK.
    (RSCP) INFO: environment variable "I18N_POOL_WIDTH" is not set. Checks are active.
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (RSCP) INFO: UMGSETTINGS nametab creation: ok.
    (RSCP) INFO: Global fallback code page = 1160
    (RSCP) INFO: Common character set is  not  7-bit-ASCII
    (RSCP) INFO: Collision resolution method is 'fine'
    (RSCP) INFO: R3trans code pages = Normal
    (RSCP) INFO: EXPORT TO ... code pages = Normal
    (RSCP) INFO: Check for invalid language keys: activated
    (RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
    (RSCP) INFO: I18N_NAMETAB_NORM_LOG   = 1000000002
    (RSCP) INFO: I18N_NAMETAB_ALT_ALLOW  = 10000
    (RSCP) INFO: I18N_NAMETAB_ALT_LOG    = 10003
    (RSCP) INFO: I18N_NAMETAB_OLD_ALLOW  = 0
    (RSCP) INFO: I18N_NAMETAB_OLD_LOG    = 500
    (RSCP) INFO: init SUMG interface (3#$Revision: #1 $); package name: "REGUC".
    (RSCP) INFO: "REGUC001.xml" created.
    (GSI) INFO: dbname   = "ECP20030615080638
    (GSI) INFO: vname    = "ORACLE "
    (GSI) INFO: hostname = "ecp "
    (GSI) INFO: sysname  = "SunOS"
    (GSI) INFO: nodename = "ecp"
    (GSI) INFO: release  = "5.10"
    (GSI) INFO: version  = "Generic_142900-13"
    (GSI) INFO: machine  = "sun4u"
    Tried to find what does R3load Return Code 11 means, but I couldnt find further information on this.
    Any hint of what is causing this error?
    (Please disregard any Filesystem issues since all of them have available space)
    Best!

    After using latest R3load patch, it provides furher information on the log file.
    -------------------- Start of patch information ------------------------
    patchinfo (patches.h): (0.070) R3ldctl: fix CDS views creation in upgrade export mode (note 2
    017805)
    DBSL patchinfo (patches.h): (0.022) Smaller corrections in release 7.40 (th, dp, vmc, dpmon)
    (note 1821404)
    --------------------- End of patch information -------------------------
    process id 27326
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): US7ASCII
    (EXP) INFO: check NameTab widths: Ok.
    (DB) INFO: Export without hintfile
    (RSCP) INFO: UMGCOMCHAR read check, OK.
    (RSCP) INFO: environment variable "I18N_POOL_WIDTH" is not set. Checks are active.
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (RSCP) INFO: UMGSETTINGS nametab creation: ok.
    (RSCP) INFO: Global fallback code page = 1160
    (RSCP) INFO: Common character set is  not  7-bit-ASCII
    (RSCP) INFO: Collision resolution method is 'fine'
    (RSCP) INFO: R3trans code pages = Normal
    (RSCP) INFO: EXPORT TO ... code pages = Normal
    (RSCP) INFO: Check for invalid language keys: activated
    (RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
    (RSCP) INFO: I18N_NAMETAB_NORM_LOG   = 1000000002
    (RSCP) INFO: I18N_NAMETAB_ALT_ALLOW  = 10000
    (RSCP) INFO: I18N_NAMETAB_ALT_LOG    = 10003
    (RSCP) INFO: I18N_NAMETAB_OLD_ALLOW  = 0
    (RSCP) INFO: I18N_NAMETAB_OLD_LOG    = 500
    (RSCP) INFO: init SUMG interface (3#$Revision: #1 $); package name: "REGUC".
    (RSCP) INFO: "REGUC003.xml" created.
    (GSI) INFO: dbname   = "ECP20030615080638
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "ecp                                                             "
    (GSI) INFO: sysname  = "SunOS"
    (GSI) INFO: nodename = "ecp"
    (GSI) INFO: release  = "5.10"
    (GSI) INFO: version  = "Generic_142900-13"
    (GSI) INFO: machine  = "sun4u"
    (GSI) INFO: instno   = "6120023288"
    (RTF) ########## WARNING ###########
            Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    (RDI) WARNING: /respaldo/ECP_Export/ABAP/DATA/REGUC.STR: cannot find version token "ver:" at line 1
    (RDI) WARNING: /respaldo/ECP_Export/ABAP/DATA/REGUC.STR: unknown file format, assuming version 2
    (EXP) INFO: table REGUC will be exported with sorting (task modifier)
    ------------------ C-STACK ----------------------
    [0] t_splay ( 0x1020df850, 0xb3, 0x4386, 0x100a02078, 0x0, 0x1020df870 ), at 0xffffffff7b9629
    94
    [1] t_delete ( 0x1020df850, 0x4348, 0x1d9870, 0x1000d0408, 0xffffffff7bb3c000, 0x0 ), at 0xff
    ffffff7b9627e4
    [2] realfree ( 0x101ee7590, 0x1f82b1, 0x1d9cd0, 0x1f82b0, 0xffffffff7bb3c000, 0x101ee7590 ),
    at 0xffffffff7b9623b0
    [3] _malloc_unlocked ( 0x7d40, 0x200000, 0x101edf840, 0x0, 0x101ee7580, 0x0 ), at 0xffffffff7
    b961eb4
    [4] malloc ( 0x7d39, 0x2388, 0x1da428, 0x10038fe84, 0xffffffff7bb3c000, 0x2000 ), at 0xffffff
    ff7b961c28
    [5] rstg_get ( 0x2, 0x0, 0x2, 0x7d10, 0x0, 0x10077d8c0 ), at 0x10038ff4c
    [6] c3_uc_new_cache ( 0x100a02078, 0x284db0, 0x284c00, 0x10077d8c0, 0x100a02108, 0xb3 ), at 0
    x1000d1ce8
    [7] c3_uc_seek_cache ( 0xb3, 0xff79, 0xffffffff7ffcae3e, 0x100a02078, 0x10189fa48, 0x10077d8c
    0 ), at 0x1000d188c
    [8] c3_uc_new_tabcache ( 0x0, 0xb3, 0x4386, 0x100a02078, 0xb3, 0x10077d8c0 ), at 0x1000d13fc
    [9] c3_uc_insert_record_in_cache ( 0xffffffff7ffcb04e, 0x10189fa48, 0x100a02078, 0x100a024c8,
    0xb3, 0x1058c8f84 ), at 0x1000d0408
    [10] c3_uc_insert ( 0x0, 0x100a02078, 0x0, 0x0, 0x10077d8c0, 0xffffffff7ffcb04e ), at 0x1000c
    f944
    [11] c3_uc_convert_table_entry ( 0x1015c61f8, 0x0, 0x100a02078, 0x0, 0x10189f408, 0x31a000 ),
    at 0x1000ce314
    [12] c3_uc_convert_logic_table ( 0x1015c61f8, 0x100a02078, 0x0, 0x4a, 0x100638dc0, 0x10077d8c
    0 ), at 0x1000cdb18
    [13] c3_uc_convert_cluster_data ( 0x100a02078, 0xffffffff7ffcbc50, 0x1015c6428, 0x1015c61f8,
    0x10077d8c0, 0x0 ), at 0x1000cd10c
    [14] c3_uc_convert_cluster_item ( 0xffffffff7ffcbc78, 0xffffffff7ffcbc50, 0x100954770, 0x1038
    6f6e0, 0xffffffff7ffcbb8c, 0x100a02812 ), at 0x1000be1d4
    [15] process_task ( 0xffffffff7ffcbc78, 0xffffffff7ffcbc50, 0x100954770, 0x100a02810, 0x10063
    32e0, 0x10077d8c0 ), at 0x1000b2f58
    [16] CnvCluster ( 0x1014642d0, 0x100954670, 0x100aa9610, 0x2849b8, 0x284800, 0x6cb978 ), at 0
    x1000b1f8c
    [17] cnv_clust2 ( 0x100aa9580, 0xffffffff7ffcc258, 0x100954770, 0xfc0, 0x107d00, 0x100954670
    ), at 0x100062714
    [18] cnv_cp ( 0x100aa9580, 0xffffffff7ffcc258, 0x100aa95e0, 0x0, 0x10077d8c0, 0x1d6c00 ), at
    0x100064644
    [19] process_buffer ( 0x100aa9580, 0xffffffff7ffcc258, 0xfff00, 0x100a97bd0, 0x10, 0x100aa95b
    0 ), at 0x10007162c
    [20] execute_table_unload ( 0xffffffff7ffed610, 0xffffffff7ffdc4b0, 0x0, 0x100aa9580, 0xfffff
    fff7ffcc258, 0x10077d8c0 ), at 0x10006c488
    [21] export_table_task ( 0xffffffff7ffed610, 0x0, 0xffffffff7ffdc368, 0xffffffff7ffcc330, 0xf
    fffffff7ffeedb8, 0xffffffff7ffeec60 ), at 0x10006c934
    [22] db_unload ( 0x100a97b0d, 0xffffffff7ffed610, 0x0, 0x10077d8c0, 0xffffffff7ffeec60, 0xfff
    fffff7bb47540 ), at 0x10006d148
    [23] main_r3ldmain ( 0x72ec00, 0xffffffff7ffff448, 0xffffffff7ffff228, 0xffffffff7bb47540, 0x
    1005fc290, 0x0 ), at 0x1000514e0

  • Return code 99 in BPM

    Hi,
      I tried to activate manaully (SXI_CACHE) in BPM and also cleared full cache in RWB.  But even thought the return code is 99 for my BPM processs.  I am not using any sychronous communcation my versionis PI 7.0 with sp 9.  Please let me know is there any other way of making return code as 0
    regards,
    Dhil

    Hi Dhil,
    Perform a complete cache refresh using the url
    http://host:port/CPACache/refresh?mode=full
    u hav to use PIDIRUSER for this. After cache refresh, activate ur Integration Process in the SXI_CACHE tcode.
    Anil

  • SCardConnect error . return code: 80100004

    I am developing am application for GxpPro R3 using PC/SC on VB .NET.
    Though SCardEstablishContext, SCardListReaderGroups and SCardListReaders works fine, i get a return code of 80100004 for SCardConnect.
    Dim dwShareMode As Long = 1
    Dim dwPrefProtocol As Long = 3
    ReturnValue = SCardConnect(Me.nContext, cReaders(0), dwShareMode, dwPrefProtocol, phCard, ActiveProtocol)
    I have tried with all the combinations of dwShareMode and dwPrefProtocol with the same return code.
    snippet of my code below
    Me.nContext = 0
    ReturnValue = SCardEstablishContext(0, 0, 0, Me.nContext)
    Dim delimiter(1) As Char
    delimiter(0) = Convert.ToChar(0)
    Dim cGroupList As String = "" + Convert.ToChar(0)
    Dim nStringSize As Integer = -1
    ReturnValue = SCardListReaderGroups(Me.nContext, cGroupList, nStringSize)
    Dim cGroups() As String = cGroupList.Split(delimiter)
    Dim cReaderList = "" + Convert.ToChar(0)
    Dim nReaderCount As Integer = -1
    ReturnValue = SCardListReaders(Me.nContext, cGroups(0), cReaderList, nReaderCount)
    Dim cReaders() As String = cReaderList.Split(delimiter)
    Dim dwShareMode As Long = 1
    Dim dwPrefProtocol As Long = 3
    Dim phCard As Long = 0
    Dim ActiveProtocol As Long = 0
    ReturnValue = SCardConnect(Me.nContext, cReaders(0), dwShareMode, dwPrefProtocol, _
    phCard, ActiveProtocol)
    ~SUDHA

    Hi,
    This error specify that the data you add, already exist in the table.
    In this type of table, the field code and name must be unique for every lines.
    Try to change the value of this line : oUsrTbl.Name = "Name"
    Hope it's help you.
    Regards
    Michael

  • 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

  • Server return code

    Hi,
      Anyone has the list of Servier return code list. For exampler, 0xFFAA0201 is for User not found. Like this lot of server retunr codes are exist in MDM. I need list of these codes with description.
    If any one has this information, Please let me know.
    Thanks and Best Regards,
    Vijay

    Hi,
    Some of the Servier return code which i know:
    1  0xFFAA0201 is for User not found.
    2. 0xFFAA0225 : The Connection is not trusted
    3. NiRaw2ConnectError: Socket coonection Caused an Error mean :Partner not Reached(host:10.23.324.342, Service 2005)
    4. Error: 0X1 SLD NOT Registered
    5.  0X80004005: OLEDB_DBConnection if your Database Server is Stopped
    6.  0XFFAB4118: CCCI_MSG_CannotConnectToDBMS
    7.  Inconsistency in configuration: if Repository is unmounted
    Hope it will Help you,
    Rewards if found Useful.....
    Mandeep Saini

  • Transport error failure with return code 12 for BIA indexed Cube

    Hello,
    I was trying to transport few cubes from the Dev to the QA system. However, the transport failed repeatedly with return code 12. I noticed that the version of Cubes in the target system had BIA indexes loaded on it.   So, I deleted those indexes and re-transported the cubes.To my surprise, the transport went fine without the BIA indexes. This now opens up a new avenue for discussion of dropping and recreating BIA indexes for those cubes that needs to be transported.
    Any thoughts on this new aspect before. Has anyone faced similar problems. I want to know your experiences before we can take this issue to SAP.
    Thanks,
    Rishi

    Rishi/Vitaly/Marc,
    How do you transport cubes with BIA indexes.
    Do you drop/recreate the BIA index before the transport.
    In my case, the transport kicked off adjustment job exactly as described in [Note 1012008|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1012008]
    Indexes looks fine once this jobs completes successfully. The transport does not fail.
    Is this approach fine.
    I see that most of the customers drop/recreate indexes before transporting cubes.
    Can I run into data consistency issues with this approach?
    Input required.
    Thanks,
    Saurabh

Maybe you are looking for

  • CALLER ID NOT WORKING ON LANDLINE

    My caller ID was working great.  Then it quit and the local Tech fixed it.  Power/Phone went out now it wont work again.  I unplugged and tested phones.  Tech says protocols or credentials has to be reset but no one understands this when I call Repai

  • Server Time and Local Time (Dreamweaver) Off By 1 Hour

    How can I get Dreamweaver to show me the correct time stamp on my files on the server and my local machine? When I telnet into my server, the date and time stamp on all files is correct. My server time is set properly to ET (GMT-5). My local machine'

  • Help!! why do my pages suddenly look like this??

    After spending days preparing this document, all of a suddent tonight something crazy happened. Im not sure how it occured. I made a duplicate of the document and when i did i noticed this odd formating The table of contents is suddenly all screwed u

  • Problem in F4 help using RH_OBJID_REQUEST

    Hello, I have implemented a custom F4 search help for an HR object parameter and used fm RH_OBJID_REQUEST to read related objects. The user can select multiple objects. I have debugged th eprogram, the return table have all he selected values but aft

  • UTF-8 Chacters Extracting from XMLDocument

    I'm working on translating a string document that has utf-8 charcters within the text nodes, e.g. &lsquo &rsquo. In the original string these are 100% ok, and when represented through to a web page appear correctly as a left single and righ single qu