unquiesce (BPX1UQS, BPX4UQS) — Unquiesce a file system

Function

The unquiesce callable service unquiesces a file system, making the files in it available for use again. The backup of the data in the file system is complete.

Requirements

Operation Environment
Authorization: Supervisor or problem state, any PSW key
Dispatchable unit mode: Task
Cross memory mode: PASN = HASN
AMODE (BPX1UQS): 31-bit
AMODE (BPX4UQS): 64-bit
ASC mode: Primary mode
Serialization: Enabled for interrupts
Locks: No locks held
Control parameters: All parameters addressable in Primary

Format

CALL BPX1UQS,(File_system_name,
              Unquiesce_parms,
              Return_value,
              Return_code,
              Reason_code)

AMODE 64 callers use BPX4UQS with the same parameters.

Parameters

File_system_name
Supplied parameter
Type:
Character string
Character set:
Printable characters
Length:
44 bytes

The name of a 44-character field that contains the file system name. The name should be left-justified in the field and padded with blanks.

Unquiesce_Parms
Supplied parameter
Type:
Structure
Length:
Fullword

The name of a fullword binary field that contains the unquiesce service options. This field is mapped by the BPXYMTM macro. Refer to BPXYMTM — Map the modes for mount and unmount for the unquiesce service options that are available.

Return_value
Returned parameter
Type:
Integer
Length:
Fullword

The name of a fullword in which the unquiesce service returns 0 if the request is successful, or -1 if it is not successful.

Return_code
Returned parameter
Type:
Integer
Length:
Fullword
The name of a fullword in which the unquiesce service stores the return code. The unquiesce service returns Return_code only if Return_value is -1. For a complete list of possible return code values, see z/OS UNIX System Services Messages and Codes. The unquiesce service can return one of the following values in the Return_code parameter:
Return_code Explanation
EBUSY The file system that was specified was not quiesced by this user, and force was not specified in Unquiesce_parms. The following reason code can accompany the return code: JRInvalidRequester.
EINVAL An incorrect parameter was specified. Verify that only the force bit in Unquiesce_ parms was specified, that File_system_name is correct, and that File_system_name is for a quiesced file system. The following reason codes can accompany the return code: JRFileSysNotThere, JRInvalidParms, and JRNotQuiesced.
EPERM The user cannot request this service, because it lacks the permission required to do so. The following reason code can accompany the return code: JRUserNotPrivileged.
Reason_code
Returned parameter
Type:
Integer
Length:
Fullword

The name of a fullword in which the unquiesce service stores the reason code. The unquiesce service returns Reason_code only if Return_value is -1. Reason_code further qualifies the Return_code value. For the reason codes, see z/OS UNIX System Services Messages and Codes.

Usage notes

The unquiesce service makes a file system available for use again following a previous quiesce request.

Related services

quiesce (BPX1QSE, BPX4QSE) — Quiesce a file system

Characteristics and restrictions

  1. In order to unquiesce a file system, the requester must be a superuser. This is the same authority that is required to mount or quiesce a file system.
  2. In a sysplex, an unquiesce will result in the file system being mounted on any system that did not have the file system mounted at that time. This situation could occur if a system joined the sysplex during the period of time that the file system was in a quiesced state.

Examples

For an example using this callable service, see BPX1UQS (unquiesce) example.