RESTOREG command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
(Automatically generated page update)
Line 32: Line 32:
<p>If an external security interface is active, the user ID issuing the command is checked for the proper data set usage authorization. If the authorization check fails, the attempt is logged as a security violation and the command is not executed. Under a security interface, you must have READ privileges to read a file specified by this command. For more information, refer to the <var>Model&nbsp;204 Security Interfaces Manual.</var> </p>
<p>If an external security interface is active, the user ID issuing the command is checked for the proper data set usage authorization. If the authorization check fails, the attempt is logged as a security violation and the command is not executed. Under a security interface, you must have READ privileges to read a file specified by this command. For more information, refer to the <var>Model&nbsp;204 Security Interfaces Manual.</var> </p>
<p>The <var>Model&nbsp;204 System Manager's Guide</var> contains a complete discussion of CCAGRP. </p>
<p>The <var>Model&nbsp;204 System Manager's Guide</var> contains a complete discussion of CCAGRP. </p>
<p>When it processes RESTOREG, <var class="product">Model&nbsp;204</var> ends any update unit in progress and begins a non-backoutable update unit. For more information about <var class="product">Model&nbsp;204</var> update units, see the <var>Model&nbsp;204 File Manager's Guide</var>.</p>
<p>When it processes RESTOREG, <var class="product">Model&nbsp;204</var> ends any update unit in progress and begins a non-backoutable update unit. For more information about <var class="product">Model&nbsp;204</var> update units, see the <var class="book">Model&nbsp;204 File Manager's Guide</var>.</p>
[[Category: System manager commands]]
[[Category: System manager commands]]
[[Category:Commands]]
[[Category:Commands]]

Revision as of 01:26, 20 April 2013

Summary

Privileges
System manager
Function
Restores the CCAGRP file from a sequential data set

Syntax

RESTOREG [option] FROM ddname

Where:

option is a decimal value; set it to 128 if the size of the CCAGRP data set or the number of data sets in CCAGRP is being changed.
ddname is the name of the sequential data set from which CCAGRP is being restored.

Syntax notes

RESTOREG cannot be issued from within a procedure.

Example

RESTOREG 128 FROM DUMPGR1

Usage notes

The RESTOREG command restores the CCAGRP file from a sequential data set containing a dumped version of the file. CCAGRP contains all permanent group definitions established by the system manager. RESTOREG can be issued in case of a system crash or another kind of system failure to restore the version of CCAGRP dumped by the DUMPG command.

If an external security interface is active, the user ID issuing the command is checked for the proper data set usage authorization. If the authorization check fails, the attempt is logged as a security violation and the command is not executed. Under a security interface, you must have READ privileges to read a file specified by this command. For more information, refer to the Model 204 Security Interfaces Manual.

The Model 204 System Manager's Guide contains a complete discussion of CCAGRP.

When it processes RESTOREG, Model 204 ends any update unit in progress and begins a non-backoutable update unit. For more information about Model 204 update units, see the Model 204 File Manager's Guide.