What is the purpose of STRCMTCTL command ?

  • Home
  • /
  • Blog
  • /
  • What is the purpose of STRCMTCTL command ?

February 4, 2018

Starts commitment control for files that are being journaled.

https://www.nicklitten.com/an-ibm-i-journal-is-sort-of-diary/

NickLitten


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits.

Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day.

Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

    • COMMIT CONTROL only covers the job that is running it. It is not system-wide. So YOU can signon and STRCMTCTL and that means that any updates/adds/deletes to journaled files will only be applied when a COMMIT statement is reached or they will be discarded if a ROLLBACK is processed (or if you signoff without doing a commit). Make sense?

      • Thanks Nick… We are very confused as starting around March 20th of this year one of our backup jobs that has run fine forever. Stopped working with error messages and they seem to point to QILE commitment definition. We are doing save while active saves that we have not changed in years and now they can not reach a successful check point anymore and the save ends abnormally. It appears to be related to the QILE commitment definition but we are guessing at this point.

        • We are supposed to compile ALL of our programs with COMMITT(*NONE) so we are wondering if someone did Not do that and maybe that is why we are having problems. we are a little lost to say the least. We appreciate any ideas you might have. Thanks in advance.

          • Without looking at the code, *guessing*, it sounds like you are within a commit boundary — in other words a program has a whole bunch of journaled updates to apply so is locking a bunch of data? This might explain why the save boundary cannot complete…

          • I appreciate your help Nick. It turned out being someone compiled a program with COMMIT(*CHG) instead of *NONE as we don’t use commitment control. We recompiled the program and the saves worked again . Thanks again

  • {"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

    Subscribe NOW
    7-day free trial

    Take This Course with ALL ACCESS

    Unlock your Learning Potential with instant access to every course and all new courses as they are released.
     [ For Serious Software Developers only ]

    Online Learning for IBM i Software Technology Professionals

    “The more that you read, the more things you will know. The more that you learn, the more places you’ll go.” – Dr. Seuss

    >