View previous topic :: View next topic
|
Author |
Message |
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
Hi,
Could somebody please enlighten me on the difference between a SYNC call and CHKP call.
The explanation for both looks pretty same
Also please let me know if there is any issue in using SYNC call and CHKP call in the same batch BMP code. |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
CHKP call is used for recovery purposes.
SYNC call is used to release resources that IMS has locked for the application program. |
|
Back to top |
|
|
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
Following is the explanation I found for SYNC call.
Quote: |
SYNC commits the changes your program has made to the database, and
establishes places in your program from which you can restart, if your
program terminates abnormally |
.
It says the changes to DB will be commited. According to explanation SYNC call will commit changes to DB, so if SYNC and CHKP will be used in the same code, it may produce conflict right? |
|
Back to top |
|
|
|