Development > Utilities > Verifications > Locks > Locked processes 

In development, when a source process is being modified by a user, a file with the .LCKsrc extension is created at the same time as a file with the .src extension that contains the source, both in the same directory as the default TRT source). The presence of this file is used to avoid the simultaneous modification of the same source by two users.

In the case of the sudden stopping of a process (by stopping the database, or by an administrator action via the user surveillance), the file will start, and will prevent the modification of the source. Thus this function is useful, because it is used to view the locked processes of this type.

Screen management

This function is presented as a single screen without a left list.

Entry screen

Presentation

On starting the function, a grid is displayed containing the following information:

* The name of the client workstation concerned.

* The user (in the system sense) concerned.

* The date and time at which the file was locked.

It is possible to delete a locked file, using the right click / Delete on the corresponding line. This manipulation makes it possible for another user to modify the corresponding source (but attention, this can be made to the detriment of the source security if the user having the right to lock the source file is always modifying it).

Close

 

Fields

The following fields are present on this tab :

Table

  • Directory (field REP)

 

  • Script (field TRT)

Indicate the name of the locked process.

  • Machine (field MAC)

Indicate the network name of the workstation from which the user wants to lock the process.

  • User (field USR)

Indicate the user (in the system sense) that has locked the source file.

  • Date-time (field DAT)

The date and time at which the file was locked.

Close

 

Functions accessed by right click on the grid

Unlock

 

Fermer

 

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

Deletion error (followed by the file name)

The attempt to delete the file in question has failed.

Tables used

SEEREFERTTO Refer to documentation Implementation