{
{   The purpose of this request is to detach a file from the job.  For a
{ temporary file, this request also deletes the registration of the file in
{ the temporary catalog.
{
{   This request requires that there be no outstanding instances of open of
{ the file within the job.  Otherwise, this request will be rejected.
{
{   If the file is an attached permanent file, the attachment of the file to
{ the job ends with this request.  The space that the permanent file occupies
{ is unaffected by this request.
{
{   If the file is a temporary mass storage file, the file information is
{ destroyed, i.e.  the mass storage space once assigned to the file is
{ returned to the system.
{
{   If the file is a magnetic tape file, the tape storage device currently
{ assigned to file, if any, is detached from the job after the medium is
{ dismounted; information on the tape volume(s) accessed by the job is
{ unaffected by this request.
{
{       AMP$RETURN (FILE, STATUS)
{
{ FILE: (input)  This parameter specifies the name of the file to be returned.
{
{ STATUS: (output) This parameter specifies the request status.
{       CONDITION:  ame$ring_validation_error,
{                   ame$file_not_closed,
{                   ame$file_not_known.
{       IDENTIFIER: amc$access_method_id.
{
