ICL 1900 Series George 3 Operating System Commands

RETURN (RT)

Function

Frees a magnetic tape from the user and returns it, or deletes a named worktape's entry from the job's temporary directory and returns the tape to the worktape store.

Format

RETURN magnetic tape description

The magnetic tape description must include the qualifier *MT.

Forbidden contexts

NO USER

Execution

  1. If the tape is not a named worktape, the directory entry for the named magnetic tape will be deleted from its directory, provided that the tape belongs to the proper user. The entry for the tape in the index file is updated to show that the tape has been returned to the pool and the user's budget of SPACEMT is updated.
    If the tape is loaded, POOL TAPE is written to the header label.
    Assuming that the operation is successful, the message
        MT number IS NOW A POOL TAPE
    is output on the operator's consle; the number is the tape serial number of the tape that has been returned to the pool.
  2. If the tape is a named worktape, the entry in the job' tempoary directory is deleted and the tape becomes available for use as a worktape by other jobs. A named weorktape my only be RETURNed by the job that is using it.

Example

RETURN MAGDATA(500)(*MT)
RETURN (7000,:MP.A(2))(*MT)
RETURN !WORKTAPE

Error Messages

DEVICE TYPE QUALIFIER IMPERMISSIBLE
DEVICE TYPE QUALIFIER MISSING (*MT)
z IS A XENOTAPE AND MAY NOT BE REFERRED TO BY THIS COMMAND