|
|
| Author |
Message |
abin
Active User
Joined: 14 Aug 2006 Posts: 154
|
|
|
|
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 |
|
 |
References
|
Posted: Thu Apr 10, 2008 2:53 pm Post subject: Re: Difference between SYNC call and CHKP call |
 |
|
|
 |
Gnanas SNG
Senior Member
Joined: 06 Sep 2007 Posts: 414 Location: 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: 154
|
|
|
|
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 |
|
 |
|
|