16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

UNMOUNT<br />

Parameters<br />

FILESYSTEM(file_system_name)<br />

Specifies the name of the file system to be removed from the file system. The<br />

name supplied is changed to all uppercase characters. This operand is<br />

required.<br />

file_system_name<br />

The fully qualified name of the data set that contains the file system. The<br />

file system name supplied is changed to all uppercase characters.<br />

Specify the name of file system exactly as it was specified when the file<br />

system was originally mounted. You can enclose it in single quotes, but<br />

they are not required.<br />

If FILESYSTEM('''file_system_name''') is specified, the file system name will<br />

not be translated to uppercase.<br />

DRAIN<br />

Specifies that an unmount drain request is to be made. The system will wait for<br />

all use of the file system to be ended normally before the unmount request is<br />

processed or until another UNMOUNT command is issued.<br />

Note: UNMOUNT can be specified with IMMEDIATE to override a previous<br />

UNMOUNT DRAIN request for a file system. If this is used in the<br />

foreground, your TSO/E session waits until the UNMOUNT request has<br />

completed. (or ) does not terminate the command.<br />

UNMOUNT DRAIN is not supported in a sysplex environment. If an UNMOUNT<br />

DRAIN is issued in a sysplex, the following behavior is exhibited:<br />

v If there is no activity in the file system, UNMOUNT DRAIN will perform the<br />

unmount, but it will behave like an UNMOUNT NORMAL.<br />

v If there is activity in the file system, UNMOUNT DRAIN will return a<br />

Return_value of -1 with Return_code EINVAL and Reason_code<br />

JrNotSupInSysplex.<br />

FORCE<br />

Specifies that the system is to unmount the file system immediately. Any users<br />

accessing files in the specified file system receive failing return codes. All data<br />

changes to files in the specified file system are saved, if possible. If the data<br />

changes to the files cannot be saved, the unmount request continues and data<br />

is lost.<br />

Note: An UNMOUNT IMMEDIATE request must be issued before you can<br />

request a UNMOUNT FORCE of a file system. Otherwise, UNMOUNT<br />

FORCE fails.<br />

IMMEDIATE<br />

Specifies that the system is to unmount the file system immediately. Any users<br />

accessing files in the specified file system receive failing return codes. All data<br />

changes to files in the specified file system are saved. If the data changes to<br />

files cannot be saved, the unmount request fails.<br />

NORMAL<br />

Specifies that if no user is accessing any of the files in the specified file system,<br />

the system processes the unmount request. Otherwise, the system rejects the<br />

unmount request. This is the default.<br />

REMOUNT(RDWR|READ)<br />

Specifies that the specified file system be remounted, changing its mount mode.<br />

874 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!