Locking and Transaction Processing (Magic xpa 3.x)
Locking and transaction processing are essential in multi-user environments. To achieve maximum concurrency, online transactions must be short and must not interfere with user interaction.
Transactions are opened according to Magic xpa’s Task properties settings.
The following affect the way Magic xpa opens transactions and enforces locking:
-
In the system’s Environment settings, the ISAM Transactions setting must be set to Yes. Otherwise, Magic xpa will not issue any transactions that handle requests.
-
Database settings for table locking.
-
Access and Share modes in the Main Source Properties sheet.
-
Task type specified in the Task Properties dialog box.
-
Locking strategy options specified in the Task Properties dialog box.
-
Transaction mode option specified in the Task Properties dialog box.
-
Transaction begin option specified in the Task Properties dialog box.
-
The Lock property specified in the Call Properties sheet, for Call Task and Call Program operations.