How does it work?
For an RPGLE program with F-specs, you can specify COMMIT selectively against individual files
Files with COMMIT will only update only when COMMIT is done
Files without COMMIT will update immediately.
For SQLRPGLE, I found this mentioned on the internet: "Also, if your program updates a file that is not journaled, you must change the command option COMMIT to *NONE, otherwise the updates will not occur"
That implies to me, that if you want to use commitment control in SQLRPGLE, all files updated by the program must be journalled and all must use commitment control.
Is that correct? Is there no way of having a mix of commit and non commit files in a single program?
For an RPGLE program with F-specs, you can specify COMMIT selectively against individual files
Files with COMMIT will only update only when COMMIT is done
Files without COMMIT will update immediately.
For SQLRPGLE, I found this mentioned on the internet: "Also, if your program updates a file that is not journaled, you must change the command option COMMIT to *NONE, otherwise the updates will not occur"
That implies to me, that if you want to use commitment control in SQLRPGLE, all files updated by the program must be journalled and all must use commitment control.
Is that correct? Is there no way of having a mix of commit and non commit files in a single program?




Comment