Some question on Forall Delete

Hi all,
I am using the following coding on my procedure
  CURSOR c14 IS
      SELECT *
        FROM ibs_m_route
       WHERE created_date <= period;The cursor select the active set from IBS_M_ROUTE and ....
FORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
            Delete from ibs_m_route where created_date = vtsch(i).created_date;the forall delete on the same table.
My questions
1. 'selecting from' and 'deleting from' on same table , is it correct to do this kind of operation?
2. on forall delete , should i want to use the indexed column on predicates?
Thanks in advance
kanish

Kanish wrote:
1. 'selecting from' and 'deleting from' on same table , is it correct to do this kind of operation?What does "correct" mean here? Is it syntactically valid? Sure. Is it the most appropriate option? No, you'd be much better off with a simple SQL statement
DELETE FROM ibs_m_route
  WHERE created_date <= period;possibly with an additional LOG ERRORS INTO clause if you actually expect the DELETE to fail for some rows.
2. on forall delete , should i want to use the indexed column on predicates?Yes. Normally, you would `BULK COLLECT` the primary key value into the collection and use that primary key in the FORALL. Of course, a PL/SQL process is never going to be as fast or as simple as a SQL statement.
Justin

Similar Messages

  • Some questions..

    Hello all,
    I am new to ABAP. I am learning now.I have some questions.
    1. What is the typical structure of an ABAP program?
    2. What are field symbols and field groups? Have you used "component idx of structure" clause with field groups?
    3. What should be the approach for writing a BDC program?
    4. What is a batch input session?
    5. What is the alternative to batch input session?
    6. What are the techniques involved in using SAP supplied programs? Do you prefer to write your own programs to load master data? Why?
    Best Regards,
    Purna

    Hi Purna,
    phew! these are lots of questions. Now let's see:
    4. A batch-input session is a way (but not THE ONLY WAY) to massively process SAP transactions. That means, you store in such a session:
    - what transaction(s) you want to run
    - what screens you visit
    - what fields you fill in each screen
    - what pushbuttons/function codes/ok-codes (that is, what ACTION) you want to perform into each screen
    So all this information is stored in a so-called "batch-input session". A typical example is the batch input session generated by the depreciation transaction (AFAB)
    3. Maybe the easiest way to do so is to record a batch-input session (via SM35 > Record), and then write your ABAP code. You will find very useful a form like this:
    *&      Form  dynpro
    *       Inserta datos de CALL TRANSACTION (o BATCH-INPUT) en
    *       tabla interna
    *      -->_DYNBEGIN  'X' empieza dynpro nuevo; ' ' mismo dynpro
    *      -->_NAME      Si DYNBEGIN 'X' programa; si no, nombre campo
    *      -->_VALUE     Si DYNBEGIN ' ' nº dynpro; si no, valor campo
    FORM dynpro USING _dynbegin
                      _name
                      _value.
      IF _dynbegin = c_yes.
        CLEAR bdc_data.
        bdc_data-dynbegin = c_yes.
        bdc_data-program  = _name.
        bdc_data-dynpro   = _value.
        APPEND bdc_data.
      ELSE.
        CLEAR bdc_data.
        bdc_data-fnam     = _name.
        bdc_data-fval     = _value.
        SHIFT bdc_data-fval LEFT
          DELETING LEADING space.
        APPEND bdc_data.
      ENDIF.
    ENDFORM.                    " dynpro
    ...and then you should call this form once per line generated by the recording of the batch-input session... We all can give you some more details on this if necessary (won't we guys?? :-D)
    5. Well, there are many other tecniques. You mean: for massive upload? For massive execution of transactions? Maybe CATT (Computer-Aided Testing Tool, transaction SCAT) could be used for this purpose as well. Or direct-input, for example if you want to upload material master records. Or just the straightforward INSERTs, but I seriously recommend you NOT to use it O:-)
    6. I personally try to use standard SAP ways to upload master data. Thus you can take advantage of all SAP validations. But of course your legacy system needn't be SAP, so you'll have to develop your own ABAP code in order to perform some sort of "conversion" between the legacy format (mostly a plain text file) and the format expected by SAP.
    Wow! I hope you reached this point. Pls write back if you need some more help. Or if this is enough, pls let us know anyway. BR,
    Alvaro

  • Potential new T61 user with some questions about product/su​pport/etc.

    Hi all!
    I've been using Dell Latitude's for last 7+ years and been happy with them thus far, as I was able to stay within the C-series thru 3 systems and reuse some components such as batteries, CD-ROM, etc. but now that I'd have to go to D-series, that gives me the choice of going to new vendor...and IBM/Lenovo was the only other choice due to my OS requirement: XP Pro!
    So now I'm here asking some questions that I'm still having issues with:
    (I'm comparing the T61 to Dell D530 and/or my C610)
    1) Features that I've used on existing Dell that I don't see on T61 :
        a) Infared port --- I've used to transfer stuff from one sys to another
        b) S-Video out --- I've used to display on TV for some situations  
        c) Serial port --- can't recall using it but with my luck, I'd need it sometime. 
        d) Parallel port (C610) --- for my really old printer used on rare occasions
        e) Floppy drive --- yes, I still use it for some unusual situations
    2) On Dell, I can put a 2nd battery or floppy drive in the media bay instead of CD/DVD...what about T61?
    3) Support:
        a) Dell forums have 7+ yrs of history and are well used...this forum seems brand new...was there another one before it?
        b) My Dell's have lifetime tech support (ok, so sometimes understanding the folks from India can be an issue) but IBM seems to limit this to life of warranty.
    4) Pricing: T61 would be seem to be, at minimum, about $150 more than similar Dell even with current "sales"...I'm having trouble justifying this...
    5) Things that I see that T61 has that new Dell D530 doesn't:
       a)  built-in mike --- my current Dell has it and I use it now and then so this is a plus!
       b) keyboard light --- nice feature, but couldn't I use a USB one instead if I really needed it?
       c) fingerprint reader --- never used one...how often do people use it?
       d) 2nd card slot for Express cards --- current Dell has two standard slots and I'm using both, though one is wi-fi which C610 didn't have built-in...and other is modem to replace failed built-in...D530 has only one slot, so having 2nd of any type is good.
       e) middle mouse button --- is that what I'm seeing? Or is it something else?
       f) recovery partition --- ok, nice but how much room does it take?
    6) Things that D530 has that T61 doesn't:
       a) 4th USB --- I'm used to only 1 now so even 3 would be big step up...
       b) 15" standard screen --- T61 is only a 14.1" screen and that extra bit of size would likely help, but I'm limited on physical dimensions to 13.5" total width (unusual situation) so a 15.4" wide screen isn't possible...I'm looking at SXGA+ in either case to maximize usage.
       c) recovery CD is standard --- so I'm presuming I'd have to create my own here?
    That, I think, about does it...so...any users willing to help me decide if a switch is good for me?
    Thanks!!!
    Update: It seems that phone tech support is only available for warranty period with IBM, whereas with Dell, I can still call for hardware tech help (to diagnose problem at least) for "lifetime" or well past paid period, as I've already done in past...comments?
    Update #2: Changed the incorrect "R"s to "T"! Duh!
    Message Edited by J_Hallgren on 12-28-2007 07:50 PM
    A current Dell Latitute user who was looking to maybe switch...But didn't.

    I finally made the switch to Lenovo and the Thinkpad line of notebooks and think this was the best move I have ever made in years! I've spent far too much money maintaining a separate notebook (Dell Latitude L400) several custom built desktops.  This December, I sold my desktops, my laptops (I had 2 L400's), and my 20" Aquous LCD TV to finance my Thinkpad T61.  It was well worth it!  I will try to answer your questions in this checklist, which I found to be quite similar to my own .... frighteningly exactly like my own....:
    Hardware Requirements
    IR: This is pretty outdated but functional.  I used to use a Palm with IR as well as an IR laser printer.  I ditched both for a PDA phone with bluetooth.  The laser printer is networked now
    S-Video: You might be able to get away with a TV tuner cardbus or a expres card.  There might also be external converters that convert from your VGA/DVI (DVI via port replicator) into any variety of video outputs.
    Serial: My older Palm had a serial port for the docking station - bluetooth is a good replacement
    Parallel port: I currently have a USB to parallel adapter in my bag just in case.  These are cheap cables and work well.
    Floppy: I keep a USB one of these just in case.  I find that having fewer input devices on my laptop and leaving them external help keep the machine lighter for my mostly mobile usage (e.g., my L400 with no inputs at all except 1 USB port).
    T61 Spare Battery: Uses ultrabay battery - I rarely use the DVDRW drive and leave the ultrabay battery in there while on the go.  DVDRW drive stays in the bag until needed.  I recommend you upgrade to the 9 cell battery with the advanced ultra bay battery, which will give u something like 9 to 12 hours of operating life.  If you are not a fan of the battery pack sticking out like crazy, stick to the letter box format laptop (not widescreen), which will provide the minimum amount of battery pack stick-out with the 9 cell battery.  The 6 cell will not stick out with the letterbox laptop but will stick out with the widescreen version.
    Support Options:  I rarely call support so I have no opinion here.
    Pricing: Price was not really a concern for me.  I purchased mine for the business look mainly, which Lenovo maintained well.  I don't like the shiny/plastic/toy look of Dell and Apple computers these days.  If anything, consider the premium an investment in the build quality of these machines (or a premium just for the good looks).  I particularly like the roll cage as well as active protection system that stops the hard drive as soon as the system detects excessive motion. 
    Included Hardware Comparison:
    I like the mic, use it often for Skype and the built in 1.3MP webcam as well. 
    Keyboard light.... kinda cute but not as functional because it simply is too small.  It was a cute idea that could have been made better had Lenovo opted for a backlit keyboard instead.  That would have been more functional and added to the "cool" factor. 
    With regards to the Express Card and PCMCIA card slot, I rarely use either because everything is built in.  However, if you want that TV tuner, an express card or PCMCIA card slot is good.  If you opt for the built in media reader, you will be unable to use the express card as the media reader takes up that slot (I might be wrong, but I think the card reader is large enough that it takes up both slots, so u can't add anything anyway - but you should call pre-sales to answer that question). 
    Middle mouse button: The three buttons in the middle are used for the trackpoint/joystick mouse controller.  I think the middle button is configurable to do various things.  I personally hate the joystick and can only use the touchpad.  The lack of a touchpad was the only reason I did not stick to the smaller 12.1" X line of laptops, which was really more in tune with my size requirements (too used to using the L400 sized machine).
    Recovery Partition: This is a cheap way for manufacturers to make it easy for people to recover their systems in case of crash - without the need for any documentation or disc media.  However, it makes it hard for people like me who only use machines after a clean format and customized install of Windows.  This partition is about 10GB and can be erased with special disk format or partition tools.  Windows itself cannot read or delete this partition.  With the minimum size of the hard drives available, this should not be an excessive space killer for most people.  I personally need only 7GB total for OS and apps.  The remaining data I work with is actually streamed from a 500GB gigabit NAS.  I might switch to a 32GB solid state disk one of these days when their performance comes more in par or exceeds traditional drives.
    Recovery CD: You can create your own from the recovery partition since Lenovo does not provide any.
    4th USB: I only use 1 or 2 as well.  1 for an external micro mouse (I love my touchpad, but it's just hard to use with Photoshop or CAD apps) and a second for a USB memory key.  My other devices i.e., scanner, external mouse, keyboard, are plugged in on my desktop through a USB hub that goes to a single port on my docking station.  So yes, your docking station will probably remove the need for more than 2 ports.  Although, I do find it odd there are only 3 ports... such an odd number.
    Screen Size: I personally wish I could have gotten the X series of laptops but the 14.1 was the only other mobile solution.  For the larger screen size, docking station to my 24" Dell 2405FP.  The compact nature of the T series makes it pretty thin and compact though... it was not too much bigger than my L400 - at least, not uncomfortably bigger.
    But yeah, I think if you make the switch, you'll be getting yourself a solid machine that will keep u going for years.  The Latitude line of Dell's were really good, but overall, I feel that the nature of Dell's manufacturing process is making it too "cookie cutter" and reducing its overall quality level.  Their earlier lines were awesome, like the D lines you mentioned.  But unless you get the ATG line, you just won't get the same level of quality they used to offer (in addition, the ATG line is wickedly too expensive - I'd rather get a Durabook for military grade spec at a fraction of the price). 
    Anyway, have fun shopping! :-)
    And moderators or employees of Lenovo, don't you guys get referral bonuses for giving your employee discount code to friends and family?  *wink*
    T61_Wide | Model No. 7662 - CTO
    Core 2 Duo T7250 | 2GB OCZ DDR2-800
    82566MM Gigabit | 4965AGN Centrino Pro

  • Recipe Management: Some Questions

    Hi,
    Currently I'm working on the recipe management and have some questions, hope you can help.
    I could solve most of my previous questions, but now there's a new one.
    If I click in the formula view, register (i. e.) composition on the button "Transfer to Spec. of Pr. Output" or "Calculate Template Values" I'm getting a dump:
    "When calling the function module "FRML565_WRITE_PO_TO_EHS", one of the parameters needed according to the interface description was not specified. This parameter was "IO_OBJECT"."
    Any idea what's going wrong?
    Thanks,
    Tan
    Edited by: Tan Yildiz on Mar 22, 2010 4:50 PM

    Hi All,
    Please give me some examples to explain FILLPV. so that it can help me to understand easily.
    and how many ore there origin statuses are there in SAP.
    What is the INTKY operation why we are using that?
    How we can delete the Time Evaluation Results?.
    Thanks.

  • Thinking about purchasing a Macbook, but I need some questions answered

    Hey everybody,
    I got a response to my Craigslist ad, so it's looking like selling my iMac G5 and buying a new Macbook might actually happen. My only problem is that I have some questions about what to do with my money. I'm not a power user, or someone who really plays games (other than my Nintendo emulators) so I already know that a Macbook is the right computer for me.
    (1) I don't have external storage, so how should I go about transferring my stuff? Buying the Macbook before selling my iMac is not an option because I just don't have that much money. I've read that some people buy the Macbook and then upgrade the HD, using the 60 Gig that comes with it as their external storage by buying a $20 case for it. I have about 50 GB taken up on my iMac, so I'm going to probably need around 100 GB at least. I know upgrading the memory doesn't, but does upgrading the HD void the warranty? Any brand recommendations for HD's? Heat and noise are very important to me. (7200 RPM is out)
    (2) I never really used the Superdrive on my iMac, but it was nice to know it was there. Is the performance difference from 1.83 to 2Ghz noticeable? I hear it's not, but I also read that under Rosetta it matters. Since Office isn't universal yet, I'd like to know. Can anyone verify this?
    (3) I read on MacOSRumors that Leopard is probably going to do some nice little graphic effects when it's released, and that the next revision of the Macbook Core Duo will probably still have integrated graphics. Since I don't plan on doing this again for at least another year, do you think the Intel graphics will be enough to keep up for a little while?
    (4) Anybody have some experience with selling a computer on Craigslist? I'm smart enough to request cash, local buyers only, and have them meet me at my house to try the computer out. Any advice on how to make sure this runs smoothly? I might end up leaving some things on the computer for the buyer. Anything that I should make sure to delete (i.e. preferences, passwords, etc.?) A checklist of what I should remember to do would really help.
    I think that about covers all of it...Thanks in advance.

    I sold my computer on Craigslist. No problems. I think it's only really dodgy if you are buying one from there - then you should be very careful!
    I'm not sure exactly the best way to go about deleting your stuff, but you have the right idea: get rid of your preferences and passwords, and your internet history as well.
    I'm not sure how to look at 'Keychain', but you might want to make sure that this is empty.
    In terms of processor speed, I can't help you: I have just got the 2Ghz, but partly because not having a DVD burner isn't an option for me. As file sizes and your storage needs increase, your need for a DVD burner will probably increase as well.
    Leopard is not far away now, and I would guess that Apple would make sure that their new OS will work adequately on their new computers. I would be surprised if there is much of a noticeable difference in anything but the most graphics heavy applications. Could be wrong about this, but I think that the basic GUI will perform well on any MacBook.
    In terms of moving info from your iMac... the cheapest thing apart from buying the MacBook before you sell is borrowing a HD or iPod from a friend. 50G isn't THAT much info, you could always burn it to DVD-Rs in a pinch.

  • Some questions regarding the iPhone app

    Hi, I have an iPhone 6 Plus using the app version as I don't own a computer, and am currently on my second day of the 7-day Premium Free Trial period. I just have some questions I'd like to ask about it:
    1) I have an extremely large music library, and I'm pleased to see that Spotify has most of what I own. However, for the past several hours it refuses to let me add any new artists/albums/songs to my lists, and when a new album is added, it will vanish from the artist list the next time I turn on my phone. At the same time, I actually tried deleting one of my artists from my Artist list, only to have to reappear the same way. Is this an error, or is there a limit of how much content you can add to your lists?
    2) What happens when the 7-day trial period is over? Does it just start automatically billing me, or does it give the option of opting out?
    Thanks for your help in advance. :)

    Hello , Welcome to the community! :)
    I am unaware of a bug like that, is their any chance that it could be fixed by now
    If you gave payment info/subscribed via itunes then yes it will start billing you, you stop this by folowing these steps:
    Canceling your subscription reverts your account to the Free level.
    Go to the subscription page. (Note: If you don’t know your password, go here to reset it.)
    Under Subscription and payment, click cancel your subscription.
    Select a reason (select Other reasons if you're canceling for a promotion). Click CONTINUE.
    Click CANCEL MY SUBSCRIPTION.
    Enter your password in the password field. Click CANCEL SPOTIFY PREMIUM SUBSCRIPTION.
    Your subscription page now shows the date you will revert to our Free ad-based service. We hope you decide to upgrade again!
    Note: If you subscribed through any other company than Spotify, you need to contact that company to cancel. If your subscription is through iTunes, please see Apple's instructions for canceling.
    I hope this helped :)

  • Hi team , I have some questions/Problem for my product apple (iPad,iPhone) , I want to employee speak and type thai language

    Hi team , I have some questions/Problem for my product apple (iPad,) , I want to employee that can  speak  or response me in thai language
    1. ผม อาคเนย์  พำนักอยู่ประเทศไทย กรุงเทพฯ  มีปัญหาสอบถาม ดังต่อไปนี้
       - กระผมได้ทำการตัดบัตร เครดิต เพื่อซื้อเกมส์ผ่าน itune store ผ่าน apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ในวันที่18 ก.ค. 56 เวลา 17.07น. ซึ่งทางบัตรเครดิตได้แจ้งเรียกเก็บเงินมายอดเงิน 39.99$ ซึ่งในระบบจริงๆ ทางกระผมต้องการตัดในยอด 99.99$ แต่พอได้ประสานงานไปยังธนาคาร ได้รับการแจ้งกลับมาว่า ได้ทำการตัดบัตรในยอดเงิน 39.99$ ซึ่งในความเป็นจริงนั้น กระผมไม่ได้สั่งซื้อเกมส์ในยอด 39.99$ ซึ่งในยอด 99.99$ นั้นพยายามตัดในระบบบัตรเครดิตอยู่ แต่ทางกระผมได้ยืนยันกลับไปว่าไม่ให้ระบบตัดนะครับ เพราะว่าเนื่องจากมีปัญหาในการชำระเงินระหว่าง Apple itune store อยู่
       - ทั้งนี้ขอให้ทางเจ้าหน้าที่ประสานงานตรวจสอบ apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ตามที่ได้ให้รายละเอียดโดยด่วนว่าเป็นเพราะว่าระบบมีปัญหาหรือว่ามีอะไรเกิดขึ้นในข ั้นตอนการชำระเงินครับ
    รบกวนประสานงานกลับมายังกระผม อาคเนย์ ที่หมายเลขโทรศัพท์มือถือ +**** / reply feedback  email : lekod1@*** โดยด่วน ในวันศุกร์ที่ 19 ก.ค. 2556 ครับ
    ขอบคุณครับ
    อาคเนย์  อุดปิน
    กด
    <Edited By Host>

    Google translation:
    พนักงานของ iTunes Store จะไม่ได้อ่านข้อความในเว็บบอร์ดนี้ ถ้าคุณต้องการความช่วยเหลือสำหรับปัญหาที่มีใน iTunes Store, คุณจะต้องติดต่อกับพวกเขาผ่านทางแบบฟอร์มเว็บนี้:
    http://www.apple.com/emea/support/itunes/contact.html

  • HT2674 I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive. Now, the trash can will not empty some of the files deleted.  File folder: "Core Services" contains a locked file: "boot.efi".  It will not

    I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive which operates from Time Machine.
    Now, the trash can will not empty some of the files deleted from the backup harddrive.
    The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi". 
    It will not delete.
    How do I get the trash can empty of these files?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • I have some questions regarding setting up a software RAID 0 on a Mac Pro

    I have some questions regarding setting up a software RAID 0 on a Mac pro (early 2009).
    These questions might seem stupid to many of you, but, as my last, in fact my one and only, computer before the Mac Pro was a IICX/4/80 running System 7.5, I am a complete novice regarding this particular matter.
    A few days ago I installed a WD3000HLFS VelociRaptor 300GB in bay 1, and moved the original 640GB HD to bay 2. I now have 2 bootable internal drives, and currently I am using the VR300 as my startup disk. Instead of cloning from the original drive, I have reinstalled the Mac OS, and all my applications & software onto the VR300. Everything is backed up onto a WD SE II 2TB external drive, using Time Machine. The original 640GB has an eDrive partition, which was created some time ago using TechTool Pro 5.
    The system will be used primarily for photo editing, digital imaging, and to produce colour prints up to A2 size. Some of the image files, from scanned imports of film negatives & transparencies, will be 40MB or larger. Next year I hope to buy a high resolution full frame digital SLR, which will also generate large files.
    Currently I am using Apple's bundled iPhoto, Aperture 2, Photoshop Elements 8, Silverfast Ai, ColorMunki Photo, EZcolor and other applications/software. I will also be using Photoshop CS5, when it becomes available, and I will probably change over to Lightroom 3, which is currently in Beta, because I have had problems with Aperture, which, until recent upgrades (HD, RAM & graphics card) to my system, would not even load images for print. All I had was a blank preview page, and a constant, frozen "loading" message - the symbol underneath remained static, instead of revolving!
    It is now possible to print images from within Aperture 2, but I am not happy with the colour fidelity, whereas it is possible to produce excellent, natural colour prints using its "minnow" sibling, iPhoto!
    My intention is to buy another 3 VR300s to form a 4 drive Raid 0 array for optimum performance, and to store the original 640GB drive as an emergency bootable back-up. I would have ordered the additional VR300s already, but for the fact that there appears to have been a run on them, and currently they are out of stock at all, but the more expensive, UK resellers.
    I should be most grateful to receive advice regarding the following questions:
    QUESTION 1:
    I have had a look at the RAID setting up facility in Disk Utility and it states: "To create a RAID set, drag disks or partitions into the list below".
    If I install another 3 VR300s, can I drag all 4 of them into the "list below" box, without any risk of losing everything I have already installed on the existing VR300?
    Or would I have to reinstall the OS, applications and software again?
    I mention this, because one of the applications, Personal accountz, has a label on its CD wallet stating that the Licence Key can only be used once, and I have already used it when I installed it on the existing VR300.
    QUESTION 2:
    I understand that the failure of just one drive will result in all the data in a Raid 0 array being lost.
    Does this mean that I would not be able to boot up from the 4 drive array in that scenario?
    Even so, it would be worth the risk to gain the optimum performance provide by Raid 0 over the other RAID setup options, and, in addition to the SE II, I will probably back up all my image files onto a portable drive as an additional precaution.
    QUESTION 3:
    Is it possible to create an eDrive partition, using TechTool Pro 5, on the VR300 in bay !?
    Or would this not be of any use anyway, in the event of a single drive failure?
    QUESTION 4:
    Would there be a significant increase in performance using a 4 x VR300 drive RAID 0 array, compared to only 2 or 3 drives?
    QUESTION 5:
    If I used a 3 x VR300 RAID 0 array, and installed either a cloned VR300 or the original 640GB HD in bay 4, and I left the Startup Disk in System Preferences unlocked, would the system boot up automatically from the 4th. drive in the event of a single drive failure in the 3 drive RAID 0 array which had been selected for startup?
    Apologies if these seem stupid questions, but I am trying to determine the best option without foregoing optimum performance.

    Well said.
    Steps to set up RAID
    Setting up a RAID array in Mac OS X is part of the installation process. This procedure assumes that you have already installed Mac OS 10.1 and the hard drive subsystem (two hard drives and a PCI controller card, for example) that RAID will be implemented on. Follow these steps:
    1. Open Disk Utility (/Applications/Utilities).
    2. When the disks appear in the pane on the left, select the disks you wish to be in the array and drag them to the disk panel.
    3. Choose Stripe or Mirror from the RAID Scheme pop-up menu.
    4. Name the RAID set.
    5. Choose a volume format. The size of the array will be automatically determined based on what you selected.
    6. Click Create.
    Recovering from a hard drive failure on a mirrored array
    1. Open Disk Utility in (/Applications/Utilities).
    2. Click the RAID tab. If an issue has occurred, a dialog box will appear that describes it.
    3. If an issue with the disk is indicated, click Rebuild.
    4. If Rebuild does not work, shut down the computer and replace the damaged hard disk.
    5. Repeat steps 1 and 2.
    6. Drag the icon of the new disk on top of that of the removed disk.
    7. Click Rebuild.
    http://support.apple.com/kb/HT2559
    Drive A + B = VOLUME ONE
    Drive C + D = VOLUME TWO
    What you put on those volumes is of course up to you and easy to do.
    A system really only needs to be backed up "as needed" like before you add or update or install anything.
    /Users can be backed up hourly, daily, weekly schedule
    Media files as needed.
    Things that hurt performance:
    Page outs
    Spotlight - disable this for boot drive and 'scratch'
    SCRATCH: Temporary space; erased between projects and steps.
    http://en.wikipedia.org/wiki/StandardRAIDlevels
    (normally I'd link to Wikipedia but I can't load right now)
    Disk drives are the slowest component, so tackling that has always made sense. Easy way to make a difference. More RAM only if it will be of value and used. Same with more/faster processors, or graphic card.
    To help understand and configure your 2009 Nehalem Mac Pro:
    http://arstechnica.com/apple/reviews/2009/04/266ghz-8-core-mac-pro-review.ars/1
    http://macperformanceguide.com/
    http://www.macgurus.com/guides/storageaccelguide.php
    http://www.macintouch.com/readerreports/harddrives/index.html
    http://macperformanceguide.com/OptimizingPhotoshop-Configuration.html
    http://kb2.adobe.com/cps/404/kb404440.html

  • Some questions about configuration in MAX.

    Hello,everyone!
    I have some questions about configuration in MAX(I am a jackaroo for motion control development),I hope I can get your help.
    I use PCI-7344+UMI-7764+Servo amplifier+Servo motor,my MAX version is 4.2 and I use NI-Motion7.5
    My question as following:
    1,In Axis Configuration,for motor type,why I must select stepper but not servo?my motor is servo motor!If I select Servo,my motor can't run,I don't know why.
     If I select stepper,though motor can work but I can't test encoder in MAX.
    2,In Stepper settings,for stepper loop mode,why I must select open-loop but not close-loop?If I select close-loop,the servo motor doesn't work too.
    3,If I want my two servo motors run at different velocity,How shoud I do?It seems I just can set the same velocity in MAX for my two servo motors.
     My English is poor,Pls pardon me!I come from China.
    Thank you for your help!
    EnquanLi
    Striving is without limit!

    Hi,Jochen,
    Thank you for your kindly help!
    The manufacturer of the drive and motor that I am using now is Japan SANYO DENKI,drive type is RS1A01AA,motor type is R2AA06020FXP00.
    And I use position control mode,thehe encoder's counts per revolution is 131072.I set the electronic gear ratio to 1:1 for drive.
    Now,I can use Close-Loop to control the motor but still has some problems.When I configure it to run in closed loop mode, the motors behave strangely and never move to the target position.When I configure it to run in closed loop mode, the motors behave strangely and never move to the target position.The detail situation is as following
    1,Motor can't run.
    2, Or motor moves to a position, then moves in the same direction agian and eventually stops.
    Except for the  two points mentioned above,"Following Error" is  occured frequently,I don't know why.
    I am still not clear why I must set the motor type be stepper in MAX .
    And I have another question:what the relationship between the steps and the counts?They have the proportion relations?I notice that there are a section said like this in help document: For proper closed-loop and p-command operation, steps per revolution/counts per revolution must be in the range of 1/32,767 < steps/counts < 32,767. An incorrect counts to steps ratio can result in failure to reach the target position and erroneous closed-loop stepper operation.
    I am verry sorry I have too many questions!
    I am very appreciate for your kingly help!Thanks again!
    EnquanLi
    China
    Striving is without limit!

  • Some Questions on Adobe PDF Forms

    Hi,
    I have some questions on Adobe Forms development (especially Adobe Forms in ABAP)
    1)     In a form interface, in the Code Initialization can we use Object Oriented Syntaxes such as class method calls, etc?
    2)     Can we declare Global Data variables with reference to Class References / Interfaces
    3)     Can we use the latest ECC 6.0 enhancement framework to add code in the standard form interface to enhance / enrich some logic within the form? This is to avoid copying the form interface into a Z in order to enrich the form via coding?
    Please let me know if this is possible at all and how
    Will award points
    Thanking You in advance
    Regards,
    Aditya

    That is possible of course. You should use the PDFObject API for that requirements.
    1. define a xml schema with all data given by SAP system.
    2. create a form template which uses this schema as data connection
    3. implement a java application (i.e. J2EE application) which:
    - gets the data from SAP system and generates some pdf files (using PDFObject API)
    - reads pdf files back to xml and submits the data to a BAPI
    Regards
    Sebastian

  • Some questions on SAP DMS

    Hello
    some questions on SAP DMS:-
    - can versions of same document be shown graphically. ?
    - can links be created for documents. can we make sure that links are not broken when document is moved ?(links to document on 1st location shall not be broken)
    - is there a notification mechanism(user can recieve e-mail when document gets changed)
    - is there a review mechanism, before doc. is archived.(sort life cycle)
    Thanks

    Hi Shovon,
    1. can versions of same document be shown graphically?
    You can display all existing versions of a document info record by using the menu 'Extras' >> 'Versions'. Then you will see all existing document version for this specific document number. Further you will see which is the current version at the moment.
    2. can links be created for documents. can we make sure that links are not broken when document is moved ?(links to document on 1st location shall not be broken)
    I'm not quite sure what you mean by links to documents. If you mean linking document info records together, I can confirm that this works also in DMS. You can maintain the object DRAW for object links in the customizing and then you will be able to link one document info record to another. The data for all document info records is stored in table DRAW.
    If you are talking about originals which are linked to document info records, please note that if you check in an original the system creates a unique LOIO- and PHIO-ID which is stored in the Content Server and in the database tables DMS_DOC2LOIO and DMS_PHIO2FILE. But there are also different reports to migrate original data from one content Server to another (e.g. DMS_RELOCATE_CONTENT).
    3. Is there a notification mechanism(user can recieve e-mail when document gets changed)
    Yes you can activate an event type linkage for object
    DRAW     CHANGED     DOKST
    DRAW     CHANGED     DWNAM
    in transaction SWE2. Here you just have to set the flag for 'Type linkage' (linkage activated). Then everytime the document is changed a notification is sent to the entered USER of this document info records.
    4. Is there a review mechanism, before doc. is archived.(sort life cycle)
    Normally there is no special lifecycle. You can control this by maintaining a released status and if there are more versions always version with the release status is the current one. But there is no specific date when the document info record expires or something like that.
    Best regards,
    Christoph
    P.S.: Please reward points for useful information.

  • Some questions on versioning and synchronizing metadata

    Hy all!
    I am quite new to warehousing and Oracle Warehouse Builder, and so i would have some questions regarding on some common issues. I would appriciate if you guys would who have experience in this domain to share some good practice knowledge :)
    I am using OWB 10.2
    So first of all i would like to know if you have some proposal of the way of versioning control and synchronizing projects between team memebers when working on a bigger project, team memebers that don't work on the same repository (cause i saw that OWB has an integrated multiuser support for handeling object locks and user sessions).
    I saw that a way of migrating data from one place to a nother is using the import/export options integrated in OWB. This creates mdl files wich are some kind of "dumps" of the metadata informations, but the thing with these mdl files wich i don't think is a good way to synchronize is that first of all the .mdx and .xml files contained in the .mdl (wich is kind of a zip) contains many informations in it (like creation date, some timestamps, etc) wich are always updated when exporting, and if synchronizing these files maybee using CVS, we always will get differences between the files alltough they would contain the same thing, only timestamps changed.
    Then a nother issue with this, is that we could have 2 alternatives: dump the whole project, wich is odd to have to synchronize a single file between users, especialy on a big project, then the orher way would be doing for each object from the project (each mapping, each table, etc) an separate .mdl filem then to synchronize each file of each object, wich will be unefficient on reimporting each file in part.
    So please if you can share the way you work on a big project with many implementers with OWB, i would really appriciate.
    A nother thing i would like to know is: is there a way to generate from an existing project (like one created with OWB) the OMB commands dump (maybee in a tcl script)? Cause i saw that the way the exeprienced users implement warehousing is using TCL with OMB language. I downloaded the example from oracle for warehouse project, and i saw that is entirely made from tcl scripts (so no mdl file involved). And this i think would be nice, to have the OMB commands generated from an existing projects.
    I see this OWB projects like a database wich can be built up from only OMB commands and OWB a graphical tool to do this (same as constructing a database only from DDL commands or using SQL developer to do this), this is why i am asking about a way of dumping the OMB commands for creating an OWB project.
    Please give me some advices, and correct me if i sad some dumb things :D but i really am new to warehousing and i would really appriciate if you guys with experience could share some informations.
    Thank you verry much!
    Alex21

    Depends. Having everyone working on the same project certainly simplifies things a lot regarding merging and is generally my preference. But I also recognize that some projects are complex enough that people wind up stepping on each other's toes if this is the case. In those cases, though, I try to minimize the issue of merging changes by having common structural objects (code libraries, tables, views, etc) retained in a single, strictly controlled, central project schema and having the developer's personal work areas reference them by synonym, thus being unable to alter them to the detriment of others.
    If they want to change a common object then need to drop their synonym and make a local copy which they can alter, and then there is a managed process by which these get merged back into the main project schema.
    This way any changes MUST go through a central schema, we can put processes in place to notify all of the team of any impending changes, and can also script updates across the team.
    Every hour a script runs automatically that checks for dropped synonyms and notifies the project leader. It especially checks for two developers who have built local copies of the same object and notifies each that they need to coordinate with each other as they are risking a conflict. When a structural change is submitted back to the central shared schema, it is added to a batch that is installed at end of business and a list of those impending changes is circulated to the team along with impact analysis for dependencies. The install script updates the main schema, then also drops the local copy of the object in the developer's schema who made the change and re-establishes the synonym there to get back to status quo for the change monitoring. Finally, it then updates itself in all of the developer areas via OMBPlus. So, each morning the developers return to an updated and synched environment as far as the underlying structure.
    This takes care of merging structural issues, and the management of the team should minimize other metadata merging by managing the worklist of who is to be working on a given mapping or process flow at a given time. Anyone found to be doing extraneous changes to a mapping or process flow when it is not in their job queue without getting pre-approval will be spoken to VERY firmly as this is counter to policy. And yes, OWB objects such as mappings are then also coordinated to the central project via import/export. OMBplus scripts also propogate these changes daily across the team as well.
    Yep, there is a whole lot of scripting involved to get set up.... but it saves a ton of time merging things and solvinv conflicts down the road.
    Cheers,
    Mike

  • Some questions on whitespace and &

    Dear all,
    I have some questions on whitespace and & that need you kind help:
    1. Except /n /t /r and space, is there any characters that are whiteSpace characters?
    2. When parsing XML document, when the ignorableWhitespace() method is called? Will it be called from characters() ?
    e.g. Where the white space after <a> is called, and where is the white space between test1 and test 2 indied <b> is called?
    <a>
       <b>test1 test2</b>
    </a>  3. When the & should be escaped in a well-formed (or validated) XML file by replacing &?
    It should be excaped in any element content, such as <b>test1 & test2< /b> - except for <![CDATA[ section?
    It should NOT always be used in attributes? e.g. <a b="test1 & test2"/>  - has to do escaped by entity & - am I right?
    Thanks!
    Thanks
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks DrClap.
    >
    2. When parsing XML document, when the
    ignorableWhitespace() method is called? Will it be
    called from characters() ?It will be called when the document has a DTD and the
    parser is a validating one that is actually
    validating, when the parser sees whitespace that is
    not part of a DTD element. It will not be called from
    characters() because that is a method that you write.I wrote a contentHandler and using Xerces parser to parse an XML document. When I set validating feature to false, I found that for:
    <a>
       <b>test1 test2</b></a>The white space between <a> and <b> (including newline) is actually called from characters(), not in ignorableWhitespace(). So does this mean that if validating - white space is always called from ignorableWhitespace(), and if not validating, if it is always called from characters()?
    >
    3. When the & should be escaped in a well-formed(or
    validated) XML file by replacing &? The XML Recommendation says "The ampersand character
    (&) and the left angle bracket (<) may appear
    in their literal form only when used as markup
    delimiters, or within a comment, a processing
    instruction, or a CDATA section. If they are needed
    elsewhere, they must be escaped using either numeric
    character references or the strings "&" and
    "<" respectively."So in this sense, both & in <b>test1 & test2< /b> and <a b="test1 & test2"/> is illegal unless replacing them by & - right? What does the markup delimiters mena in above XML Recommendation ? Example?
    Thanks!

  • Some questions on filter

    Hi Experts,
    I have some questions on IP. I am comfortable working with BPS but I dont know how they work in IP.
    1) Suppose we take an example
    I have put filter on some char. say "Sales Region" from values A to D. and now I associate a planning function repost values (with filter) for only A "Sales Region" (So I keep only value A in fields for condition)
    So Question is will sales region B to D will be locked for write access for some other operation ??
    And in BPS there is no concept like locking on basis of filters put on Planning Level and Planning Package right ???
    Entire transactional cube is locked for any other user if some user is running a layout in a particular Planning Area even if filter conditions in Planning Level and Planning Package do not overlap in any other layout on same Info Area ?? m i correct ??
    Ask me if I am not clear in explaining.
    Good conceptual answers would be really appriciated.
    Thanks,
    Mihir

    Hi Mayank,
    Thank you for your answer. I tried and tested ur BPS answer regarding locking at planning package. It works well.Before I used to restrict at planning level.
    But once I restrict at package and hit "save all" as well as "save modal" and log off the system those filters get removed when I relogin and see the same package. Why is this so ???
    Would like to hear from you....
    Thank again,
    Mihir

Maybe you are looking for

  • Wrong document type is processed form ME59N - Automatic PO creation Efected

    Dear Friends, Im facing one issue while the PO is created from Purchase requistion(ME59N). If the purchase requisition document type is - XTB while creation of PO from ME59N the document type is taking as UB the SPRO setting has been done for supplyi

  • Image in photoshop is not fully seen

    image in photoshop is not fully seen, and is positioned towards the lower part of my screen making it impossible to work properly on the image and impossible to crop as i am not seeing the whole image. This only a recent problem that has developed

  • Mac OS X 10.7.5 Adobe license agreement issue for Acrobat Pro

    Acrobat Pro keeps popping up the License agreement whenever I try to use it. Even viewing pdf documents that already exist doesn't work. I've tried all the usual fixes including the Deactivate a different program. This didn't work either. I got Acrob

  • PDF File not getting generated - PLEASE HELP

    I have a jsp in a portlet from where in I call another jsp to generate a PDF file on the fly. IT is not working I have tried all sorts of stream please help. Calling JSP (Portlet) <tr> <td><netui:anchor href="print.jsp" target="new">Print </netui:anc

  • Can't publish to network drive

    We recently upgraded our network to Leopard and Flash to CS3, and since then, I can't publish to a network drive. The reason I need to do this is that we're on a network where all our project files are on the server, and we work directly from the ser