SCF Reference Manual for G-Series RVUs (G06.27+)
SCF Commands
SCF Reference Manual for G-Series RVUs—520413-005
5-117
STOPOPENS Command
STOPOPENS Command
The STOPOPENS command prevents any more file opens from being issued to an 
object. Currently open files are allowed to stay open until closed.
This is a sensitive command. 
OUT file-spec
causes any SCF output generated for this command to be directed to the specified 
file. The variable file-spec is defined on page 5-9. 
object-spec
designates the objects that are to have their opens stopped. The variable 
object-spec is defined on page 5-2. If object-spec is omitted, the assumed 
object has its opens stopped. (See ASSUME Command on page 5-36.) 
SUB [ subobjtype ]
selects the subordinate objects the command affects. The variable subobjtype 
can be a subordinate object type or one of the keywords ONLY, ALL, or NONE, as 
explained under SCF Subdevices on page 3-5.
SEL [ NOT ] state
directs the command only at objects in the specified state or only at those not in 
the specified state. Valid states are listed in Table 3-1 on page 3-7. The use of this 
option is subsystem-specific.
Consideration
To again allow file opens to an object after using a STOPOPENS command, use the 
ALLOWOPENS command (documented on page 5-28).
Examples
•
The following command prevents any file opens from being issued to an object 
named $GDS.#SDN3:
-> STOPOPENS $GDS.#SDN3
•
The following command prevents any file opens from being issued to the assumed 
object:
-> STOPOPENS
STOPOPENS [ /OUT file-spec/ ] [ object-spec ]
 [ , SUB [ subobjtype ] ] [ , SEL [ NOT ] state ]










