logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the need to code COMMITS in batch programs?


  • Correct Answer
  • COMMIT statements are used to release locks which are required for that unit of work, and then permit a new unit of work In other words, if COMMITS are not coded in the program and the program has been sent for execution, then while processing, in place of just going back to a few inserts since the nearest commit, the program has to go back to the inserts which were made during the entire run of the program This extra process takes around twice or thrice the time taken normally 


  • Technology problems


    Search Results


    • 1. How can record locking be achieved in those DB2 versions which do not support it?
    • Discuss
    • 2. What does it mean if the null indicator has -1, 0, -2?
    • Discuss
    • 3. What is the difference between Cursor Stability and Repeatable Read isolation levels?
    • Discuss
    • 4. What is COPY PENDING status?
    • Discuss
    • 5. What is SQLCA?
    • Discuss
    • 6. Why is free space left in KSDS Dataset?
    • Discuss
    • 7. What is the difference between primary key & unique index ?
    • Discuss
    • 8. What do you accomplish by GROUP BY ... HAVING clause?
    • Discuss
    • 9. What is the self-referencing constraint?
    • Discuss
    • 10. File contains 5 records say D,E,F,C,A-I want to copy D and A records only by using file-aid?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment