Re: It's about LOCK


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on May 24, 2012 at 14:44:01:

In Reply to: Re: It's about LOCK posted by steve auerbach on May 24, 2012 at 13:30:37:

Say you're doing a Cash Receipts Register. At the start, the Z1 control record (*AR) is set to "R" for register in progress. And "U" when the update starts. At the end, it's cleared and the register number incremented.

If there's any kind of interruption, They user has to go back and restart the program. The "R" or "U" tells you whether to restart the print or the update.

LOCK helps protect the file from other users during the milliseconds you're setting the flag.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]