ENABLE command

From m204wiki
Jump to navigation Jump to search

Summary

Privileges
System manager
Function
Makes available a disabled remote file or scattered group that belongs to a local Parallel Query Option/204 subsystem

Syntax

ENABLE SUBSYSTEM name {FILE filename AT location | GROUP grpname}

Where:

name is the name of the client subsystem.
filename is the name of a remote file. You cannot specify local files.
location must match the value of a symbolic destination name specified in the DESTINATION parameter of a local CCAD2C process definition.
grpname is the name of a scattered group. You cannot specify nonscattered groups.

Syntax notes

location is required. You cannot specify local files.

Example

ENABLE SUBSYS PQODENV FILE VEHICLES AT DENVER

Usage notes

If a file or group is marked "disabled" to a client subsystem, any attempts by the user to open the file or group fail.

To make a disabled file or group accessible again, you must issue ENABLE SUBSYSTEM for the file or group. If a file or group is disabled because of a communications problem and the problem is resolved, the file or group remains disabled until you explicitly enable it.