{
{   The purpose of this request is to change the local name of a file.}
{ This request does not change the names by which files are known to the}
{ permanent file system.}
{   This request is rejected if the old_file_name is not the name of a file}
{ local to the job.}
{   This request is rejected if new_file_name is already a local file.}
{   This request requires that all instances of open of the old_file_name}
{ and the new_file_name be closed prior to this request, or this request}
{ will be rejected.}
{}
{       AMP$RENAME (OLD_FILE_NAME, NEW_FILE_NAME, STATUS)
{
{ OLD_FILE_NAME: (input) This parameter specifies the local name which}
{       is to be changed.}
{}
{ NEW_FILE_NAME: (input) This parameter specifies the new local name}
{       of the file.}
{
{ STATUS: (output) This parameter specifies the request status.
{       CONDITION:  ame$ring_validation_error,
{                   ame$file_not_closed,
{                   ame$rename_old_not_local,
{                   ame$rename_new_is_local.
{       IDENTIFIER: amc$access_method_id.
{
