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

Entry screen

Presentation

This function is displays as a single screen without any left list, on which there is a grid that displays the locked files. The user can unlock the processes via right click.

Close

 

Fields

The following fields are present on this tab :

Grid

  • 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

 

Action icon

Unlock

Deletes the lock file.

This can be used to grant an other user the authorization to access the modification mode for the corresponding source.

Warning, this actions can be harmful to the security of the source if the user that locked the source file is still in modification mode on the file.

 

Close

 

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