lock_request

	status.i4.v = lock_request(object_name.i1a.r)

	This routine requests a lock be established on a named object.
	The scope of the lock is for the lifetime of the process requesting
	the lock.  This lock is maintained in software and is only as good
	as the applications that adhere to it.  It can only be unlocked by
	the process that applied the lock by calling the lock_release
	function.

	object_name	ASCII string naming the object to be locked
			maximum length of a name is LOCK_MAX_NAME_LEN

	This function returns ACNET status values as follows:

	OK			lock was applied ok
	LOCK_OTHER		already locked by another task
	LOCK_ALREADY		already locked by you
	LOCK_INVARG		not locked - an invalid argument was passed
	SQL_xxx			not locked - this system error occurred

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	lock_release, lock_read

	C/C++ usage:

	static const char	object_name[] = "my_lock";
	int	status;

	status = lock_request(object_name);