The GET command is used to read a stored procedure from the database into an ASCII command file. If the LOCK option is used with the GET command, the procedure can be replaced by using PUT.
Options:
filename
The name of the ASCII text format file the stored procedure is placed in.
LOCK
Locks the procedure so it cannot be locked or unlocked by another user. When a procedure is locked, only the user placing the lock can replace the procedure. The NAME setting is used for identification of the user.
procname
Specifies the procedure name. The procedure name is limited to 128 characters.