Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Difference between SYNC call and CHKP call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
abin

Active User


Joined: 14 Aug 2006
Posts: 158

PostPosted: Thu Apr 10, 2008 2:53 pm    Post subject: Difference between SYNC call and CHKP call
Reply with quote

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
View user's profile Send private message
References
PostPosted: Thu Apr 10, 2008 2:53 pm    Post subject: Re: Difference between SYNC call and CHKP call Reply with quote

Gnanas SNG

Senior Member


Joined: 06 Sep 2007
Posts: 417
Location: India

PostPosted: Thu Apr 10, 2008 3:12 pm    Post subject:
Reply with quote

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
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 158

PostPosted: Thu Apr 10, 2008 3:26 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1