DB Verify Utility process

Hi DBA's,
we are planning to schedule dbveriy process for detecting block corruption on our DB.
i read a article and came to know that if i run dbverify on DB offline mode it can be faster than running in online mode.
i would like to know is there any easy tips to make the dbverify process faster than these option.
Thanks in advance.
Raja...

hi,
i read a article and came to know that if i run dbverify on DB offline mode it can be faster than running in online mode.Oracle documentation itself says the same information. You should not use for online data files - looking into the size of datafiles and type of environment.
Still it documented we can use "DBVERIFY can be used on offline or online databases, as well on backup files". Perhaps it depends on you.
i would like to know is there any easy tips to make the dbverify process faster than these option.Instead of scanning through the file, you check for corruptions @ particular segment specific.
- Pavan Kumar N
Edited by: Pavan Kumar on Dec 8, 2010 3:57 PM

Similar Messages

  • Verify Permissions process hangs up..

    hi,
    When I run verify permissions process in disk utility, it hangs up and does not finish the process. I tried repairing and that also hangs up in the middle. I booted from system cd and ran disk utility but no change..
    Can this be something major ( should I reformat ) or is there other options I should try.
    tks / gokce

    I am delighted that repairing permissions takes such a long time in Leopard. It might finally get many users to realise that they have been bamboozled into believing that RP is a needed maintenance procedure or that it has special powers for dealing with a whole range of problems. That misunderstanding has been encouraged by the vendors of 'gizmos' and by the not-well-informed answering questions in forums.
    RP need only be run when there is an indication that a problem may be due to faulty permissions in a place where RP actually checks +( ! )+, which is pretty rare.
     

  • AS2 Receiver Error: MIC not verified # unexpected-processing-error

    When sending out a test message using Seeburger AS2 receiver channel I get the following error:
    MIC not verified # unexpected-processing-error
    So obviously this problem is related to digital signature I think? However I get the same error even if digital signature is deactivated in the communication channel.
    Do you have any idea on this?

    Hi ,
    I have been facing this error and tried all the refresh and reimporting of certificate.
    "MIC not verified # unexpected-processing-error"
    could you be bit specific how to fix this ?
    thanks in advance
    Praveen

  • 12.1.1 POST-upgrade ---verify concurrent process

    I have upgraded 11.5.10.to 12.1.1 successfully when I was running post upgrade
    Oracle® Applications
    Upgrade Guide
    Release 11i to 12.1.1
    Part No. E14010-01
    chapter 4
    Step 1: Verify completion of concurrent programs (recommended)
    The upgrade process creates numerous concurrent program requests. Once you bring
    up the application tier, these programs run automatically to complete tasks such as data
    cleanup and upgrades to historical data, among others. You can run these programs in
    the background, while your system is up and running and users are active, unless
    otherwise instructed in the product-specific sections of this book.
    Before you continue, be sure all the concurrent programs generated by the upgrade
    have run successfully. In the Required Post Upgrade Jobs section of E-Business Suite
    Release 12 Upgrade Sizing and Best Practices (Doc ID: 399362.1), you will find a list of the
    distinct concurrent programs included in the upgrade process. The Best Practices
    section includes a recommendation on how to isolate these programs (and all their
    executions) into a separate concurrent manager queue, which you can use for
    processing.
    post upgrade concurrent request were around 989 but
    by mistake I stopped the concurrent manager and I ran cmclean.sql --:(
    then after some time I shut abort the database
    please tell me what should I do now
    what impact will cmclean and shut abort will have ?
    how do i know which request are clean by cmclean
    and how can I ran them again??
    Immediate reply is appreciated
    AppsmastI
    SHaring Is CArinG

    post upgrade concurrent request were around 989 but
    by mistake I stopped the concurrent manager and I ran cmclean.sql --:(
    then after some time I shut abort the database
    please tell me what should I do now In the Required Post Upgrade Jobs section of E-Business Suite Release 12 Upgrade Sizing and Best Practices (Doc ID: 399362.1), you will find a list of the distinct concurrent programs included in the upgrade process.
    what impact will cmclean and shut abort will have ?cmclean.sql script should not have any impact on the concurrent programs, however shutdown abort will do the following http://docs.oracle.com/cd/E11882_01/server.112/e10595/start003.htm#i1006611
    how do i know which request are clean by cmclean In the same session you will find the list of table that are updated by cmclean.sql script along with the request ids.
    and how can I ran them again??See the doc referenced above.
    Thanks,
    Hussein

  • Failed Disk Utility Process

    Has anyone ever received a FIRST AID FAILED Error message? If so what do you do to complete Disk Utility-Repair Permissions?
    Here's an image of what the error process:
    http://Y-OHTO-SGUK0Y.notlong.com/
    Thanks in advance.
    Sammy

    Boot with you install disk, select your language, and run Disk Utility from the Utilities mens, repairing permissions and the disk. Report back.

  • OIM Bulk Load utility(Process Form Updates)

    Hi All,
    I am wondering whether OIM bulk laod Utitly is capable of Updating the Accounts(Targer Recon) in OIM(Updates in Process form)?... I was checking the oracle doucment and it doe not say anything about Updating the records in OIM it says of creating the accounts. Please guide me.
    Thanks in advance
    Saravani
    Edited by: 918661 on Mar 4, 2012 7:47 PM

    Don't worry. Utility support both feature
    1. Trusted recon - reconcile from trusted source(csv, databse.etc.) to OIM user profile
    2. Target recon - reconcile target account to OIM Process Form . for this you must have their coressponding user exist in OIM.
    For further details go through below doc.
    http://docs.oracle.com/cd/E14899_01/doc.9102/e14763/bulkload.htm#CHDCGGDA
    Section "15.5 Loading Account Data" will clarify your doubt
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Db verify utility help

    Hi
    how to use dbv utility for all the files in the database at a time.
    Edited by: user10893424 on Jun 29, 2009 2:45 AM

    Dear user!
    If you want to use dbv then you have to execute one dbv command for each datafile you need to check.
    dbv FILE=datafile_1.dbf FEEDBACK=100
    dbv FILE=datafile_2.dbf FEEDBACK=100And so on.
    If it is OK for you to not use dbv and instead of that use RMAN then it is much more easier to check the whole database with only one command.
    BACKUP VALIDATE CHECK LOGICAL database;This command will not create a backup of your database but it will check all the datafiles of your database in one single step. If there are corrupt blocks within your database then they will be reported in V$DATABASE_BLOCK_CORRUPTION.
    If you have Oracle Enterprise Edition you can repair blocks that are listed in V$DATABASE_BLOCK_CORRUPTION with the RMAN command:
    BLOCKRECOVER CORRUPTION LIST;This recommends that your database is in ARCHIVELOG mode and you have all the necessary archivelogs for this operation.
    If you have Oracle Standard Edition only you can also use V$DATABASE_BLOCK_CORRUPTION but you have to recover the whole datafile.
    Yours sincerely
    Florian W.

  • Verifying active processes under windows

    Here is the situation. I have created a java application that will dial to a pager using the 56K modem. The application is for a mission critical process at an assembly line. The application is used to inform that the particular program required to operate the assembly line on the computer has been shut down or crashed.
    Thus, the java application will continuously check for the status of the program (active/not responding etc). If found to be not present amongst the task list, it will dial the pager.
    I am not sure as to whether i must check the registry for some kind of a value indicating the process is active or whether i should use win API.
    I need some input from you all.
    Thanks in advance.

    Don't you think it's kind of a waste of time asking questions like this on a forum about Java Programming? I'll just point out that the Windows registry is used for storing permanent configuration information and suggest you look in MSDN for information about Windows programming.

  • Disk Utility can't verify MBPR Macintosh HD?

    I have a 13" Macbook Pro with Retina Display, 2.9 GHz Intel Core i7, 8GB 1600 MHz DDR3, 500 GB storage (of which about 250 GB is free).
    When I launch Disk Utility, select "Macintosh HD" in the left column and click "Verify Disk," the process begins ... but abruptly ends after a few steps, without ever fully completing.
    Additional info: When the "Verify Disk" process begins, if I place my ear near the keyboard, I can hear a some very quiet, squeal-like noises from inside the computer at various points during the verification process. The noise stops as soon as the verification process craps out.
    Has anyone experienced anything like this?

    FYI
    Turns out this is a known issue in Mavericks:
    https://discussions.apple.com/message/23642923#23642923
    https://discussions.apple.com/message/23536043#23536043
    Just checked my wife's equally new MacBook Air and it's doing the same thing ... so I'm going to continue to assume it's not a hardware issue.

  • Cannot see new hard drive in disk utility

    Hi-
    My original hard drive (less than a year old) when down hard. I bought a new Seagate 160GB SATA drive and I cannot install Tiger (or Panther for that matter) because I have no hard drive recognized in the drive utility. Curiously, I ran Apple basic HW test and mass storage checked out okay...the test just showed passed. Seagate offered no help - I can't see any info regarding jumpers or such... SATA shouldn't need it anyway. My system is completely deviod of 3rd party items - completely stock as shipped.
    I then ran the extended hardware test and received error code 2GMC /2/15: built-in.
    Sounds like I'm hosed. Whatever it is, it probably took out the original hard drive.

    Yes, the same thing happened to me. No, solutions yet.
    Were you using Software Update to upgrade?
    I've tried most of the repair methods listed here and elsewhere. I think my external hard drive (external La Cie 200 gig) was damaged by the update process. As now it can't be read by my laptop either.
    Very angry about this. but i'll turn that anger into another post. Good luck, let me know if you find a way to revive disks while i look for something more powerful than Disk Utility (it bails out of even the Verify Disk process).

  • Oracle 9i installation hanging in "Clone Database Creation in Process"

    Hi all,
    I have been struggling in installing the 9i in my laptop.
    Here is my setup,
    OS: Windows Server 2003 Enterprise Edition SP2 in VMWare
    Database: Oracle 9i 9.2.0.1.0
    When it automatically comes to "Database Configuration Assistant", there are 4 steps.
    Copying Database files
    Initializing Database
    Creating and starting Oracle Instance
    Completing database creation
    The 1st 3 steps has been completed and the installation just hangs at the last step when the completion rate is 88%.
    Anyone got problem like this ?
    Here are the details I have so far for the DBCA during installation process,
    Listener Control complete.
    Listener start failed. Listener may already be running.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Since I am completely new to installing DB, please help me to get rid of this frustration.
    Thanks !
    Regards,
    Chris

    Capacity Planner 9.2.0.1.0
              Enterprise Manager Events 9.2.0.1.0
              Enterprise Manager Base Classes 9.2.0.1.0
              Required Support Files 9.2.0.1.0
              Enterprise Manager Installation Prerequisite Checks 9.2.0.1.0
              Utilities Common Files 9.2.0.1.0
              Enterprise Manager Quick Tours 9.2.0.1.0
              Oracle Display Fonts 9.0.2.0.0
              regexp 2.0.20.0.0
              Oracle OLAP Worksheet 9.2.0.1.0
              Oracle OLAP API 9.2.0.1.0
              Oracle Developer Server Forms Manager 9.2.0.1.0
              Oracle Intelligent Agent Base Component Files 9.2.0.1.0
              Oracle Internet Directory Client Common Files 9.2.0.1.0
              Sun JDK 1.3.1.0.1a
              Oracle Directory Manager 9.2.0.1.0
              Visigenics ORB 3.4.0.0.0
              Assistant Common Files 9.2.0.1.0
              Enterprise Manager Paging and OMS Common Files 9.2.0.1.0
              XML Parser for C 9.2.0.1.0
              Oracle Net Configuration Assistant 9.2.0.1.0
              Character Set Migration Utility 9.2.0.1.0
              Enterprise Manage Website Translated Files 9.2.0.1.0
              Oracle Net Manager 9.2.0.1.0
              Oracle Net 9.2.0.1.0
              Oracle Perl Interpreter 5.00503.0.0.0c
              Apache Web Server files 1.3.22.0.0a
              Oracle JDBC/OCI Driver for JDK 1.4 9.2.0.1.0
              Database Configuration Assistant 9.2.0.1.0
              Oracle JDBC/OCI Driver for JDK 1.2 9.2.0.1.0
              Oracle INTYPE File Assistant 9.2.0.1.0
              SQLJ Runtime 9.2.0.1.0
              Oracle JDBC/OCI Interfaces 9.2.0.1.0
              Advanced Queueing (AQ) API 9.2.0.1.0
              Oracle Caching Service for Java 2.1.0.0.0a
              Recovery Manager 9.2.0.1.0
              JSDK 2.0.0.0.0d
              Apache JServ 1.1.0.0.0g
              Oracle interMedia Java Client 9.2.0.1.0
              Oracle Java Layout Engine 2.0.1.0.0
              Oracle Administration Assistant for Windows NT 9.2.0.1.0
              Oracle XML SQL Utility 9.2.0.1.0
              SQLJ Translator 9.2.0.1.0
              Enterprise Login Assistant 9.2.0.1.0
              Oracle Services For Microsoft Transaction Server 9.2.0.1.0
              Enterprise Manager Paging Server 9.2.0.1.0
              Oracle Java Tools 9.2.0.1.0
              Oracle ODBC Driver 9.2.0.1.0
              Authentication and Encryption 9.2.0.1.0
              Oracle Wallet Manager 9.2.0.1.0
              Oracle Database User Interface 2.2.11.0.0
              Oracle SNMP Agent 9.2.0.1.0
              Oracle Provider for OLE DB 9.2.0.1.0
              Oracle Objects for OLE 9.2.0.4.4
              Oracle C++ Call Interface 9.2.0.1.0
              Oracle OLAP Cube Viewer 9.2.0.1.0
              Oracle OLAP CWM Lite 9.2.0.1.0
              Object Type Translator 9.2.0.1.0
              SQL*Plus 9.2.0.1.0
              Oracle Call Interface (OCI) 9.2.0.1.0
              SQL*Loader 9.2.0.1.0
              Secure Socket Layer 9.2.0.1.0
              Oracle Internet Directory Client 9.2.0.1.0
              Oracle Net Listener 9.2.0.1.0
              Advanced Replication 9.2.0.1.0
              Oracle Complete DSS Starter Database 9.2.0.1.0
              Oracle Complete OLTP Starter Database 9.2.0.1.0
              Oracle Starter Database 9.2.0.1.0
              Oracle Message Gateway Common Files 9.2.0.1.0
              Oracle Common Schema Demos 9.2.0.1.0
              Change Management Common Files 9.2.0.1.0
              Oracle UIX 2.0.20.0.0
              Oracle Help for the Web 1.0.7.0.0
              XML Class Generator for C++ 9.2.0.1.0
              XML Parser for C++ 9.2.0.1.0
              XML Parser for Oracle JVM 9.2.0.1.0
              XML Transx 9.2.0.1.0
              XML Transviewer Beans 9.2.0.1.0
              XML Class Generator for Java 9.2.0.1.0
              XSQL Servlet 9.2.0.1.0
              XML Parser for PL/SQL 9.2.0.1.0
              Oracle SQLJ 9.2.0.1.0
              Enterprise Manager Common Files 9.2.0.1.0
              Common Files For Generic Connectivity Using OLEDB 9.2.0.1.0
              Oracle SOAP Client 2.0.0.0.0a
              Oracle Workflow Manager 9.2.0.1.0
              Oracle Net Integration 9.2.0.1.0
              Oracle XML Runtime Components 9.2.0.1.0
              Enterprise Manager Database Applications 9.2.0.1.0
              Oracle SOAP Server 2.0.0.0.0a
              Oracle Database Demos 9.2.0.1.0
              Oracle Ultra Search Common Files 9.2.0.1.0
              Enterprise Manager Console 9.2.0.1.0
              Enterprise Manager Integrated Applications 9.2.0.1.0
              Enterprise Manager Client 9.2.0.1.0
              Database Workspace Manager 9.2.0.1.0
              Oracle interMedia Java Advanced Imaging 9.2.0.1.0
              Oracle interMedia Client Compatibility Files 9.2.0.1.0
              Oracle interMedia Java Media Framework Client 9.2.0.1.0
              Oracle interMedia Client Demos 9.2.0.1.0
              Oracle interMedia Web Client 9.2.0.1.0
              BC4J Runtime for Database 9.0.2.692.1
              Oracle Change Management Pack 9.2.0.1.0
              Oracle interMedia Annotator 9.2.0.1.0
              Data Management Services Common Files 9.2.0.1.0
              Oracle interMedia Common Files 9.2.0.1.0
              Oracle interMedia Image 9.2.0.1.0
              Oracle interMedia Audio 9.2.0.1.0
              Oracle interMedia Video 9.2.0.1.0
              Database Upgrade Assistant 9.2.0.1.0
              Oracle Intelligent Agent Config Tool 9.2.0.1.0
              Oracle Intelligent Agent 9.2.0.1.0
              PL/SQL Embedded Gateway 9.2.0.1.0
              Oracle HTTP Server Extensions 9.2.0.1.0
              Oracle eBusiness Management Extensions 9.2.0.1.0
              Oracle EMD Agent Extensions 9.2.0.1.0
              Oracle interMedia Client Option 9.2.0.1.0
              Oracle SOAP for JServ 2.0.0.0.0a
              MIcrosoft SQLServer(TM) Extensions 9.2.0.1.0
              Oracle Management Pack for Oracle Applications 9.2.0.1.0
              Oracle Windows Interfaces 9.2.0.1.0
              Export/Import 9.2.0.1.0
              Apache Configuration for Oracle XML Developer's Kit 9.2.0.1.0
              Oracle Tuning Pack 9.2.0.1.0
              Oracle Forms Extensions 9.2.0.1.0
              Oracle XML Developer's Kit 9.2.0.1.0
              Oracle Java Server Pages 1.1.3.1.0
              Oracle Diagnostics Pack 9.2.0.1.0
              Oracle Ultra Search Middle-Tier 9.2.0.1.0
              Oracle Dynamic Services Server 9.2.0.1.0
              Oracle Mod PL/SQL Gateway 3.0.9.8.3b
              Apache Configuration for Oracle Java Server Pages 1.1.2.3.0
              Oracle Text 9.2.0.1.0
              Generic Connectivity Common Files 9.2.0.1.0
              New Database ID 9.2.0.1.0
              Database SQL Scripts 9.2.0.1.0
              Generic Connectivity Using OLEDB - SQL 9.2.0.1.0
              Oracle HTTP Server 9.2.0.1.0
              XML 9.2.0.1.0
              Generic Connectivity Using OLEDB - FS 9.2.0.1.0
              iSQL*Plus 9.2.0.1.0
              Generic Connectivity Using ODBC 9.2.0.1.0
              Enterprise Manager Webserver Integration 9.2.0.1.0
              Reporting Framework 9.2.0.1.0
              Oracle interMedia Locator 9.2.0.1.0
              Oracle Management Server 9.2.0.1.0
              Oracle Ultra Search Server 9.2.0.1.0
              Oracle interMedia 9.2.0.1.0
              Oracle Trace 9.2.0.1.0
              Oracle9i Syndication Server 9.2.0.1.0
              Enterprise Manager Web Site 9.2.0.1.0
              Oracle Applications Extensions 9.2.0.1.0
              Oracle Intelligent Agent Extensions 9.2.0.1.0
              Oracle Programmer 9.2.0.1.0
              Migration Utility 9.2.0.1.0
              Oracle Enterprise Manager Products 9.2.0.1.0
              Oracle9i Development Kit 9.2.0.1.0
              Oracle Advanced Security 9.2.0.1.0
              Oracle JVM 9.2.0.1.0
              Database Verify Utility 9.2.0.1.0
              PL/SQL 9.2.0.1.0
              Oracle Database Utilities 9.2.0.1.0
              Oracle9i 9.2.0.1.0
              Oracle Net Services 9.2.0.1.0
              Oracle COM Automation Feature 9.2.0.1.0
              Oracle Data Mining 9.2.0.1.0
              Oracle OLAP 9.2.0.1.0
              Oracle Spatial 9.2.0.1.0
              Oracle Partitioning 9.2.0.1.0
              Enterprise Edition Options 9.2.0.1.0
              Oracle9i Database 9.2.0.1.0
    Starting to execute optional autolaunch configuration tools
    Launched configuration tool Oracle Net Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -Duser.dir=C:\oracle\ora92\network\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\network\jlib\NetCA.jar;C:\oracle\ora92\network\jlib\netcam.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\network\tools" oracle.net.ca.NetCA /orahome C:\oracle\ora92 /orahnam OraHome92 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp,tcps /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile C:\oracle\ora92\network\install\netca_typ.rsp
    Configuration tool Oracle Net Configuration Assistant succeeded
    Result code for launching of configuration tool is 0
    Launched configuration tool Oracle Database Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -DORACLE_HOME="C:\oracle\ora92" -DJDBC_PROTOCOL="thin" -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\kodiak.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\lib\xmlparserv2.jar;C:\oracle\ora92\jdbc\lib\classes111.zip;C:\oracle\ora92\classes;C:\oracle\ora92\jlib\gss-1-1.zip;C:\oracle\ora92\jlib\oembase-9_2_0.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\assistants\jlib\assistantsCommon.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\oracle\ora92\assistants\dbca\jlib\dbca.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\lib\vbjorb.jar;C:\oracle\ora92\lib\vbjtools.jar;C:\oracle\ora92\lib\vbjapp.jar;" oracle.sysman.assistants.dbca.Dbca -progress_only -createDatabase -templateName General_Purpose.dbc -gdbName orcl -sid orcl -datafileJarLocation C:\oracle\ora92\assistants\dbca\templates -datafileDestination C:\oracle\oradata -responseFile NO_VALUE -characterset WE8MSWIN1252 -passwordDialog true Protected value, not to be logged

  • Custom Expression creation in Process controlled  workflow

    Hi All,
    I am working on SRM 7.0 and utilizing process controlled workflow to model my approval workflow scenario. Below are the steps that i have done but still i have not got the desired result. May be i am missing something which the forum members can let me know.
    step 1: i have copied the standard function module  /SAPSRM/WF_BRF_0EXP001 and made chnages in the code  based on the logic to populate the ev_value.
    basically in the coding it is done this way.
    initialize
    EV_TYPE = 'B'.
      EV_LENGTH = 1.
      CLEAR EV_CURRENCY.
      EV_OUTPUT_LENGTH = 1.
      EV_DECIMALS = 0.
      EV_VALUE = ABAP_FALSE. " no processing
      EV_DATA_MISSING = 'X'.
    get event object
      LO_WF_BRF_EVENT ?= IO_EVENT.
    get Context Container from BRF event
      LO_CONTEXT_PROVIDER = LO_WF_BRF_EVENT->GET_CONTEXT_PROVIDER( ).
      CALL METHOD LO_CONTEXT_PROVIDER->GET_DOCUMENT
        IMPORTING
          EV_DOCUMENT_GUID = LV_DOCUMENT_GUID
          EV_DOCUMENT_TYPE = LV_DOCUMENT_TYPE.
      CASE LV_DOCUMENT_TYPE.
        WHEN 'BUS2121'.
    Get shopping cart instance
          LO_WF_PDO_SC ?= /SAPSRM/CL_WF_PDO_IMPL_FACTORY=>GET_INSTANCE(
            IV_DOCUMENT_GUID = LV_DOCUMENT_GUID
            IV_DOCUMENT_TYPE = LV_DOCUMENT_TYPE
            IV_PDO_EVENT_HANDLING = ABAP_FALSE
    custom logic  with the GUID of the shopping cart then populate  value accordingly
            EV_VALUE = ABAP_TRUE.
            CLEAR EV_DATA_MISSING.
    step 2: create an event ZEV_001 linked to expresion ZEX_001.
    step 3: expression ZEX_001 is of type 0FB001. and the xpression is as below.
      ZEX_002 = OB_WF_TRUE.
    step 4: ZEX_002 is of type 0CF001 and output result type is B. the attached function module is the one created above by copying /SAPSRM/WF_BRF_0EXP001
    no parameters provided .
    step 5: the process step level config completed.
    now when i am creating shopping cart  go for approval preview its gives an exception occured  error . i cant see any dump in the system. however  if  in the custom fucnction module code if i do not clear the  EV_DATA_MISSING. then i d o not get the error but my steps is not executed. Inslg1 log i see the  process level executed  but return as space.
    as per other post in the forum we have to clear EV_DATA_MISSING but that casuing  exception eror for me. in the dlg1 log howere the steps  expressin i can see executed  with return =X.
    hope i am made myself clear . feel free to ask for any more info.
    i have below question.
    1) do we need to copy  /SAPSRM/WF_BRF_0EXP001  or  /SAPSRM/WF_BRF_0EXP000 for creating a custom FM expression.
    2)what does the check box "Calculation of Parameter in Function Module/Badi/method" does
    3) how can i do debugging for such FM expression , probably saving the cart and then debugging the expression.
    Thanks in advance for any help provided.
    Cheers
    Iftekhar Alam

    Hi ,
       Just put the below code in the FM and try..
        DATA: lo_wf_brf_event     TYPE REF TO /sapsrm/cl_wf_brf_event,
            lo_wf_pdo           TYPE REF TO /sapsrm/if_wf_pdo,
            lo_ctxt_provider    TYPE REF TO /sapsrm/cl_wf_context_provider.
      DATA: lv_document_guid    TYPE /sapsrm/wf_document_guid,
                lv_msg              TYPE string,
                lv_document_type    TYPE /sapsrm/wf_document_type.
      DATA: lx_exception        TYPE REF TO /sapsrm/cx_wf_abort.
    *=======================================================================
    Preset return parameters
    *=======================================================================
      ev_type          = /sapsrm/if_wf_rule_c=>type_bool.
      ev_length        = 1.
      CLEAR ev_currency.
      ev_output_length = 1.
      ev_decimals      = 0.
    get event object
      IF NOT io_event IS BOUND.
    BRF event Object not bound. No further execution possible.
        MESSAGE e089(/sapsrm/brf) INTO lv_msg.
        TRY.
            CALL METHOD /sapsrm/cl_wf_brf_ccms=>send_message( ).
          CATCH /sapsrm/cx_wf_abort INTO lx_exception.
            ev_data_missing = /sapsrm/if_wf_rule_c=>brf_data_missing.
            EXIT.
        ENDTRY.
        ev_data_missing = /sapsrm/if_wf_rule_c=>brf_data_missing.
        EXIT.
      ENDIF.
    *=======================================================================
    Get purchasing document
    *=======================================================================
    get event object
      lo_wf_brf_event ?= io_event.
    get context container from BRF event
      lo_ctxt_provider = lo_wf_brf_event->get_context_provider( ).
    get Content Container from BRF event
      IF NOT lo_ctxt_provider IS BOUND.
    BRF Context Container Object not bound. No further execution possible.
        MESSAGE e090(/sapsrm/brf) INTO lv_msg.
        TRY.
            CALL METHOD /sapsrm/cl_wf_brf_ccms=>send_message( ).
          CATCH /sapsrm/cx_wf_abort INTO lx_exception.
            ev_data_missing = /sapsrm/if_wf_rule_c=>brf_data_missing.
            EXIT.
        ENDTRY.
        ev_data_missing = /sapsrm/if_wf_rule_c=>brf_data_missing.
        EXIT.
      ENDIF.
    get document
      CALL METHOD lo_ctxt_provider->get_document
        IMPORTING
          ev_document_guid = lv_document_guid
          ev_document_type = lv_document_type.
    get instance
      lo_wf_pdo ?= /sapsrm/cl_wf_pdo_impl_factory=>get_instance(
      iv_document_guid = lv_document_guid
      iv_document_type = lv_document_type
    Case lv_document_type.
    When u2018BUS2121u2019.
    Pass the lv_document_guid to get SC details.
    IF THE CONDITION TRUE..
              CLEAR: ev_data_missing.
              ev_value        = c_x.
    ELSE.
              ev_data_missing = c_x.
              ev_value        = c_blnk.
    ENDIF.
            WHEN OTHERS.
              ev_data_missing = c_x.
              ev_value        = c_blnk.
          ENDCASE.
    Make sure the check expression will have check as shown below
    ZEX_002= 0C_WF_B_FALSE
    FYI-
    You don't need to have expression ZEX_001 to check the result of ZEX_002, because both expressios resut is type 'B". you can directly attached the ZEX_002 to main Event ZEV_001
    Regards,
    Saravanan
    Edited by: Saravanan Dharmaraj on Jun 23, 2010 12:25 PM

  • Copying a drive with Disk Utility

    I have a USB drive used for Time Machine that is failing. Disk Utility says it can't fix it, but says I can copy files from it.
    I attached a new drive and am using Disk Utility's "Restore" function to clone the new drive from the failing one (both are 1TB drives).
    Disk Utility says on the screen that it is "copying blocks". Does this mean it's doing an image copy rather than a file-by-file copy? It seems to me an image copy in this case might be bad, because it could cause any file or directory corruption on the old drive to be copied to the new drive.
    Are my worries justified? Would I be better off just using the Finder to copy files? Are there third-party programs that might be better? (DiskWarrior says it can't fix the old drive because of insufficient memory.)

    I have SuperDuper! but didn't have it installed on that machine and thought I would give the Disk Utility process a try.
    I'm fairly sure SuperDuper! must use file copying, not image copying, and I suspect Disk Utility does too. But that "copying blocks" message made me wonder.
    BTW, Disk Utility is telling me it's going to take over 24 hours to copy the terabyte. Both drives are connected via USB 2.0.

  • What is needed to run the deployment utility while not logged into Windows?

    I am running a bash script to perform nightly builds of our test s/w. This script calls the deployment utility via command line. The actual command I am using is:
    /cygdrive/c/Program\ Files/National\ Instruments/TestStand\ 4.1.1/Components/Tools/Deployment\ Utility/DeploymentUtility -- build "C:\Sandbox\ATE\Production_Test_Projects\eHLC_RX\Deployment\Unified_eHLC_RX_Test_Deployment_Config.tsd"
    It works flawlessly as long as I am logged into the PC. I have a cron job running to invoke my main script on a daily basis. As soon as I log out of the PC is when I am having the trouble. The script does get started but when looking at the processes on the PC I see my bash sessions open as well as the deployment utility open but it is not doing anything. If I end the deployment utility process the bash script continues and exits normally. Is there something I have to put in the command line to make the deployment utility work if I am not logged in? I have the cron running as a service and it is using my username and pw when required. But the deployment utility just hangs and does nothing. The deployment utility log is blank so it was basically opened but did not perform the build. Any ideas as to what may be causing this? Thanks in advance for any help.
    Troy

    Here is a little more information. I changed the service that is running my script which is calling the Deployment Utility via command line from This Account on the Log On tab which requires my username and password to Local System Account and checked Allow Service to Interact with Desktop. This time when I was logged out of the PC and the script started I logged back on and could see the message that was thrown when the Deployment Utility was initialized. I could not see this with the service set to the other parameter because it is running in the back ground. I am sure this is what is happening because in this state I check the processes on the PC and it is reflecting the same information. The memory usage is the same and the Deployment Utility is doing nothing obviously waiting for acknowledgement of this error. If I click OK the build does start but at the end I get all types of debug messages at the end which do not happen when I am logged in and this process completes. Does anyone have any idea what this error message is referring to and maybe how to fix it?
    Thanks again for any help.
    Attachments:
    Startup_Error.JPG ‏80 KB

  • Multiple processes accessing a replicated database

    Hi
    I am after some help with multiple processes and replicated databases.
    I have a primary and secondary database replicated across a pair of servers and this seems to be working well. I'm trying to run another process on one of the machines that opens the environment and databases to view and/or modify the data.
    The problem is that when I run this process it causes some sort of corruption such that the server process on the same box gets a DB_EVENT_PANIC the next time it accesses the database. I would like to understand what I am doing wrong.
    The servers and standalone process all use the same code to open and close the environment and databases (see below). Just calling
         open_env();
         open_databases();
         close_databases();
         close_env();
    in the utility process causes DB_EVENT_PANIC in the server process.
    Can anybody spot what I am doing wrong? I am using DB Version 4.7
    Thanks
    Ashley
    open_env() {
    db_env_create(&dbenv, 0);
    dbenv->app_private = &my_app_data;
    dbenv->set_event_notify(dbenv, event_callback);
    dbenv->rep_set_limit(dbenv, 0, REPLIMIT);
    dbenv->set_flags(dbenv, DB_AUTO_COMMIT | DB_TXN_NOSYNC, 1);
    dbenv->set_lk_detect(dbenv, DB_LOCK_DEFAULT)
    int flags = DB_CREATE | DB_INIT_LOCK |
              DB_INIT_LOG | DB_INIT_MPOOL |
              DB_INIT_TXN | DB_RECOVER | DB_THREAD;
    flags |= DB_INIT_REP;
    dbenv->repmgr_set_local_site(dbenv, listen_host, port, 0);
    dbenv->rep_set_priority(dbenv, 100);
    dbenv->repmgr_set_ack_policy(dbenv, DB_REPMGR_ACKS_ONE);
    for (x = 0; x < num_peers; x++) {
    dbenv->repmgr_add_remote_site(dbenv, peers[x].name, peers[x].port, &peers[x].eid, 0);
    dbenv->rep_set_nsites(dbenv, num_peers + 1);
    dbenv->open(dbenv, ".", flags, S_IRUSR | S_IWUSR);
    dbenv->repmgr_start(dbenv, 3, DB_REP_ELECTION);
    sleep(SLEEPTIME);
    close_env() {
    dbenv_p->txn_checkpoint(dbenv_p, 0, 0, 0);
    dbenv_p->close(dbenv_p, 0);
    open_databases() {
    db_create(&dbp, dbenv_p, 0)
    flags = 0;
    if (app_data->is_master)
    flags |= DB_CREATE;
    dbp->open(dbp, NULL, "primary", NULL, DB_HASH, flags, 0);
    ... Wait for db if slave and ENOENT ...
    primary = dbp;
    dbp->open(dbp, NULL, "secondary", NULL, DB_BTREE, flags, 0);
    ... Wait for db if slave and ENOENT
    secondary = dbp;
    while (app_data->client_sync) {
    sleep(SLEEPTIME);
    close_databases() {
         secondary->close(secondary, 0);
         primary->close(primary, 0);
         dbenv_p->txn_checkpoint(dbenv_p, 0, 0, 0);
    }

    Running recovery (DB_RECOVER flag to env->open()) must be done only in the first process to open the environment.
    This is a general rule of Berkeley DB, not specific to replication. You can read more about it in the Reference Guide, on the page entitled "Architecting Transactional Data Store applications".

Maybe you are looking for