|
|
Program CommandsINUTIL Program
The Intact Dynamic Rollback utility program is the main interface between Intact Dynamic Rollback and the Intact Dynamic Rollback operator. The user must have SM, OP or PM capability to run INUTIL.INUTIL is used to do the following:Add or delete databases from the list of databases maintained by Intact Dynamic Rollback. Enable and disable databases for Intact Dynamic Rollback rollback. Specify the type of rollback required. Report the status of databases maintained by Intact Dynamic Rollback. Determine the version of Intact Dynamic Rollback and INUTIL. Send report files to the system printer and other destination devices. Specify the type of report to be sent to each report destination. To run the utility program, type::RUN INUTIL.PUB.SYSINUTIL Commands
The INUTIL program requires keywords and parameters. The commands (keywords) and a short description of each are listed in the following table:
GMESSAGE Command
The GMESSAGE command of INUTIL enables global level messages.Syntax
Function
The GMESSAGE command sends a global message to the users’ terminals and the operator’s console whenever a program aborts and leaves an open database. When a program aborts, this message will display advising users to take specific action, such as, “Call Jim at ext 9430 if this message appears.”Only one global message may be established.You have the option to disallow the message for DBUNDO reports.The default setting is to produce one global message during user-requested (DBUNDO) rollout. This can be changed by adding NODBUNDO to the end of the command line.Examples
GMESSAGE
Once you enter the GMESSAGE command and press the ENTER key, you may enter up to 80 characters at the prompt.>GMESSAGE#Your program has just aborted. Please call Jane at ext 405To reset the global message, press the ENTER key immediately after the “#” prompt appears.GMESSAGE DBUNDO
To send a global message during user-requested rollout, enter:
>GMESSAGE DBUNDO#MessageGMESSAGE NODBUNDO
To set the global message and disallow it for DBUNDO, enter:
>GMESSAGE NODBUNDO#If rollout occurred, please make note of the RFILE nameBMESSAGE Command
The BMESSAGE command of INUTIL enables database level messages.Syntax
Function
With the BMESSAGE command, you can set up a base message for each individual database maintained by Intact Dynamic Rollback. When a program aborts, the users will see a message that relates specifically to the database they are working on.You can specify whether an abort of a program assessing that database is to receive the global message. You can show the base message or not when DBUNDO is utilized. The default is Yes (the message will display). Examples
BMESSAGE dbname
To set the database level message for the database, MAILDB.PUB.PFIM, enter:
>BMESSAGE MAILDB.PUB.PFIM#There has been an abort accessing MAILDB. Call Sylvia x35BMESSAGE dbname GLOBAL
To set a global message for the database, ACCTGPUB.MAINT, enter:
>BMESSAGE ACCTGPUB.MAINT GLOBAL#MessageBMESSAGE dbname NOGLOBAL
To set a message for the database, ACCTGPUB.MAINT, and not allow it to display globally, enter:
>BMESSAGE ACCTGPUB.MAINT NOGLOBAL#MessageBMESSAGE dbname DBUNDO
To establish a database level message for user-defined rollout, enter:
>BMESSAGE MAILDB.PUB.PFIM DBUNDO#MessageBMESSAGE dbname NODBUNDO
To set the database level message and not allow it to display when DBUNDO is utilized, enter:
>BMESSAGE MAILDB.PUB.PFIM NODBUNDO#MessageENTER Command
The ENTER command adds a database to the list of databases maintained by Intact Dynamic Rollback.Syntax
Function
Each database that is to be maintained by Intact Dynamic Rollback must be listed in the CONFIG.INTACTIX.LPS file. The ENTER command enters the database to the list. (The database name must be fully qualified.)The database must be entered to the list of Intact Dynamic Rollback-maintained databases before rollback modes or reporting modes can be set up for it. An entered database will automatically contain the default settings. (Refer to "RMODE Command" for information about default settings.) A database name cannot be entered more than once. The maximum number of databases maintained by Intact Dynamic Rollback is 50. You must verify the database name is valid. INUTIL does not verify this for you. An entered database is not automatically enabled for Intact Dynamic Rollback. Example
ENTER dbname
To enter the database, MAILDB.PUB.PFIM, to CONFIG.INTACTIX.LPS, type:
>ENTER MAILDB.PUB.PFIMDELETE Command
The DELETE command is essentially the opposite of the ENTER command.Syntax
Function
The DELETE command clears a database from the list of databases maintained by Intact Dynamic Rollback. This is useful when a database name is misspelled or when a database should be purged from the system.Users are allowed to delete all databases from the Intact Dynamic Rollback list. The user is prompted to confirm the delete request. A database does not have to be disabled from Intact Dynamic Rollback in order to be deleted. Examples
DELETE dbname
To delete the database, MAILDB.PUB.PFIM, from the list of databases maintained by Intact Dynamic Rollback, enter:
>DELETE MAILDB.PUB.PFIMDo you really want to delete MAILDB.PUB.PFIM? YDELETE @
To delete all databases from the Intact Dynamic Rollback list, enter:
>DELETE @Do you really want to delete ALL DATABASES? NENABLE Command
Once a database has been entered to the list of databases maintained by Intact Dynamic Rollback, the user can enable the database for Intact Dynamic Rollback rollback with the ENABLE command.Syntax
Function
There are three types of rollback:This is the default rollback specification.To enable the database to rollback to DBOPEN, the user must specify DBOPEN in the ENABLE command.The third type of rollback is DBLOCK. DBLOCK is used to rollback to DBBEGIN in situations that involve softlocking. When a no-lock error occurs, Intact Dynamic Rollback gives away all existing locks on the database and tries to obtain a set lock for the affected dataset. Once that lock is obtained, it continues with the rollback to DBBEGIN.The database can be disabled from Intact Dynamic Rollback maintenance by the DISABLE command (see "DISABLE Command"). A database that is enabled from a disabled state will assume all the characteristics (rollback modes, report modes, etc.) previously specified.Examples
ENABLE dbname;DBBEGIN
To enable the database, ACCTGPUB.MAINT, for rollback to DBBEGIN, assuming this database has never been enabled for Intact Dynamic Rollback maintenance before, enter:>ENABLE ACCTPUB.MAINTor>ENABLE ACCTGPUB.MAINT;DBBEGINENABLE dbname;DBOPEN
To enable the database, MAILDB.PUB.PFIM, for rollback to DBOPEN, enter:
>ENABLE MAILDB.PUB.PFIMR;DBOPENENABLE dbname;DBLOCK
To enable MAINT.PUB.ACCT for rollback to DBLOCK, enter:
>ENA MAINT.PUB.ACCT;DBLOCKDISABLE Command
Once a database has been enabled for rollback, it can be disabled with the DISABLE command (the database name must be fully qualified).Syntax
Function
The DISABLE command does not remove the database from the list of Intact Dynamic Rollback databases, it just tells the Intact Dynamic Rollback program to ignore the database.Use the ENABLE command to enable the database again (see "REINFORCE Command").Examples
DISABLE dbname
To disable the database, MAILDB.PUB.PFIM, from Intact Dynamic Rollback maintenance, enter:
>DISABLE MAILDB.PUB.PFIMDISABLE dbname;DBBEGIN
To disable the database, MAILDB.PUB.PFIM for roll back to DBBEGIN, enter:
>DISABLE MAILDB.PUB.PFIM;DBBEGINDISABLE dbname;DBOPEN
To disable the database, ACCTGPUB.MAINT, and change the rollback mode to DBOPEN:
>DISABLE ACCTGPUB.MAINT;DBOPENDISABLE dbname;DBLOCK
To disable the database, ACCTGPUB.MAINT, and change the rollback mode to DBLOCK, enter:
>DISABLE ACCTGPUB.MAINT;DBLOCKREINFORCE Command
When an abort occurs and Intact Dynamic Rollback does not perform a rollout, reports, called reinforcement reports, are produced to show that no action was taken. The REINFORCE command is used to control the reinforcement reporting mode.Syntax