Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Command Index > S > SET

PROCEDURE

Scroll Prev Top Next More

The SET PROCEDURE command locks a procedure so it can be replaced.

 

 

setproc

 

Area: Stored Procedure & Triggers

 

Options

 

ON

Enables a lock

 

OFF

Disables a lock set by SET PROCEDURE or GET LOCK.

 

About the SET PROCEDURE Command

 

The SET PROCEDURE works like the GET LOCK command without retrieving the stored procedure into an ASCII file. ON sets the lock; OFF releases the lock placed by the SET PROCEDURE or the GET command.

 

When a procedure is locked, only the user placing the lock can replace the procedure or remove the lock. The NAME setting is used for identification of the user.