Document revision date: 15 July 2002
[Compaq] [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]
[OpenVMS documentation]

OpenVMS System Management Utilities Reference Manual


Previous Contents Index

SYS_LOADABLE REMOVE

Removes an entry in the system images file SYS$UPDATE:VMS$SYSTEM_IMAGES.IDX.

Caution

The SYS_LOADABLE REMOVE command is not intended for general use. Only advanced system programmers should use this command.

Format

SYS_LOADABLE REMOVE product


image


Parameters

product

A 1- to 8-character product mnemonic that uniquely identifies a loadable image. For user-written images this should typically contain the string _LOCAL_.

image

The file name of the system loadable image you want to remove. A file name is the only value you can specify for this parameter. Do not specify a device, directory, file type, or wildcard characters.

Qualifier

/LOG

/NOLOG (default)

Controls whether the SYS_LOADABLE REMOVE command displays a notification after the entry has been removed.

Description

The SYS_LOADABLE REMOVE command removes an entry from the system images file SYS$UPDATE:VMS$SYSTEM_IMAGES.IDX. You can then process this file using the command procedure SYS$UPDATE:VMS$SYSTEM_IMAGES.COM. Processing the file with VMS$SYSTEM_IMAGES.COM generates a new system images data file that the system uses when it boots.

If the file SYS$UPDATE:VMS$SYSTEM_IMAGES.IDX does not exist, the SYS_LOADABLE REMOVE command creates a new, empty one.

21.4 RAD Example

The following example procedure shows how to use SYSMAN resource affinity domain (RAD) qualifiers and options.
  1. Show that no reserved memory registry exists:


    SYSMAN> reserved_memory list 
    %SYSMAN-I-NODERR, error returned from node PIPERI 
    -RMS-E-FNF, file not found 
    

  2. Add a reservation for a group global section and display the new reservation:


    SYSMAN> reserved_memory add ak_sec/gr=4711 /size=16 /zero /page_tables 
    SYSMAN> reserved_memory list 
     
    %SYSMAN-I-OUTPUT, command execution on node PIPERI 
    Reservation Name             Group    RAD  Size (MB)  Pages  Attributes 
    AK_SEC                       4711     ANY         16   2048  Allocated Zeroed 
    AK_SEC                       4711                         2  PageTables Allocated 
    

  3. Modify the reservation to have memory assigned from each of four RADs; display the result:


    SYSMAN> reserved_memory modify ak_sec/gr=4711 /new_rad=0 /size=4 
    SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=1 /size=4 
    SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=2 /size=4 
    SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=3 /size=4 
    SYSMAN> reserved_memory list 
     
    %SYSMAN-I-OUTPUT, command execution on node PIPERI 
    Reservation Name             Group    RAD  Size (MB)      Pages  Attributes 
    AK_SEC                       4711       0          4        512  Allocated Zeroed 
    AK_SEC                       4711       1          4        512  Allocated Zeroed 
    AK_SEC                       4711       2          4        512  Allocated Zeroed 
    AK_SEC                       4711       3          4        512  Allocated Zeroed 
    AK_SEC                       4711                             2  PageTables Allocated 
    

  4. Modify the reservation to no longer zero allocated pages at boot time. Note that you can change properties such as /ZERO, /ALLOCATE, /PAGE_TABLES only for the reservation as a whole, not for a specific RAD.


    SYSMAN> reserved_memory modify ak_sec/gr=4711 /nozero 
    SYSMAN> reserved_memory list 
     
    %SYSMAN-I-OUTPUT, command execution on node PIPERI 
    Reservation Name              Group    RAD  Size (MB)      Pages  Attributes 
    AK_SEC                        4711       0          4        512  Allocated 
    AK_SEC                        4711       1          4        512  Allocated 
    AK_SEC                        4711       2          4        512  Allocated 
    AK_SEC                        4711       3          4        512  Allocated 
    AK_SEC                        4711                             2  PageTables Allocated 
    

  5. Modify the reservation to no longer request memory from specific RADs. Note that the overall size remains unchanged.


    SYSMAN> reserved_memory modify ak_sec/gr=4711 /norad 
    SYSMAN> reserved_memory list 
     
    %SYSMAN-I-OUTPUT, command execution on node PIPERI 
    Reservation Name           Group    RAD  Size (MB)      Pages  Attributes 
    AK_SEC                     4711     ANY         16       2048  Allocated 
    AK_SEC                     4711                             2  PageTables Allocated 
     
    

  6. Starting with a reservation allocated across multiple RADs, request that memory no longer be allocated at boot time. Note that this implies that memory is no longer allocated from specific RADs.
    Reservation prior to change:


    SYSMAN> reserved_memory list 
     
    %SYSMAN-I-OUTPUT, command execution on node PIPERI 
    Reservation Name   Group    RAD  Size (MB)      Pages  Attributes 
    AK_SEC             4711       0         4        512  Allocated 
    AK_SEC             4711       1         4        512  Allocated 
    AK_SEC             4711       2         4        512  Allocated 
    AK_SEC             4711       3         4        512  Allocated 
    AK_SEC             4711                            2  PageTables Allocated 
     
    

    Command to no longer allocate at boot time:


    SYSMAN> reserved_memory modify ak_sec/gr=4711 /noalloc 
    

    New state of reservation:


    SYSMAN> reserved_memory list 
     
    %SYSMAN-I-OUTPUT, command execution on node PIPERI 
    Reservation Name           Group    RAD  Size (MB)      Pages  Attributes 
    AK_SEC                     4711     ANY         16       2048 
    AK_SEC                     4711                             2  PageTables 
    

  7. To change the size of a reservation with an assigned RAD, or to change the reservation to use a different RAD, you must specify the current RAD.
    Reservation prior to change:


    SYSMAN> reserved_memory list 
     
    %SYSMAN-I-OUTPUT, command execution on node PIPERI 
    Reservation Name           Group    RAD  Size (MB)      Pages  Attributes 
    AK_SEC                     4711       2         16       2048  Allocated 
    AK_SEC                     4711                             2  PageTables Allocated 
    

    Attempt to change reservation size:


    SYSMAN> reserved_memory mod ak_sec/gr=4711 /size=20 
    %SYSMAN-I-NODERR, error returned from node PIPERI 
    -SMI-E-RMRNOMATCH, no records matched search criteria 
     
        Correct command: 
     SYSMAN> reserved_memory mod ak_sec/gr=4711 /rad=2 /size=20 
    

    New state of reservation:


    SYSMAN> reserved_memory list 
     
    %SYSMAN-I-OUTPUT, command execution on node PIPERI 
    Reservation Name           Group    RAD  Size (MB)  Pages  Attributes 
    AK_SEC                      4711     2         20    2560  Allocated 
    AK_SEC                      4711                        3  PageTables Allocated 
    


Chapter 22
XA Gateway Control Program Utility (XGCP)(Alpha Only)

22.1 XGCP Description

On OpenVMS Alpha systems, the XA Gateway Control Program utility (XGCP) provides the management interface to the DECdtm XA Gateway and creates the transaction logs used by the DECdtm XA Gateway. It can also be used to stop and restart the XA Gateway server.

The Gateway allows a DECdtm-compliant resource manager, such as RMS Journaling or Oracle Rdb, to be used with an XA-compliant transaction manager.

22.2 XGCP Commands

The following table summarizes XGCP commands:
Command Description
CREATE_LOG Creates a new XA Gateway log
EXIT Exits XGCP
START_SERVER Starts the XA Gateway server
STOP_SERVER Stops the XA Gateway server

22.3 XGCP Usage Summary


Format

RUN SYS$SYSTEM: XGCP


Description

To invoke XGCP, enter the following command at the DCL prompt:


$ RUN SYS$SYSTEM:XGCP

XGCP displays the following prompt, at which you can enter any XGCP command:


XGCP> 

To exit from XGCP, enter the EXIT command at the XGCP> prompt, or press Ctrl/Z.

CREATE_LOG

Creates a new XA Gateway log. Requires SYSPRV privilege or read/write access to the SYS$JOURNAL directory.

Format

CREATE_LOG /GATEWAY_NAME=name


Parameters

None.

Qualifiers

/GATEWAY_NAME=name

This qualifier is required. Specify a gateway name of up to 15 characters.

Creates a gateway log named SYS$JOURNAL:SYSTEM$name.DDTM$XG_JOURNAL. Create a separate log for each node of an OpenVMS Cluster system.

/SIZE=size

Specifies the initial size of the log, in blocks. If you omit this qualifier, the log is created with an initial size of 242 blocks. The log file is automatically expanded in size when necessary.

Example


XGCP> CREATE_LOG/GATEWAY_NAME=MYLOG1/SIZE=150
      

The command in this example creates a gateway log named SYS$JOURNAL:SYSTEM$MYLOG1.DDTM$XG_JOURNAL. Its initial size is 150 blocks.

EXIT

Exits XGCP. You can also press Ctrl/Z to exit from XGCP.

Format

EXIT


Parameters

None.

Qualifiers

None.

START_SERVER

Starts the XA Gateway server. Requires IMPERSONATE privilege.

Format

START_SERVER


Parameters

None.

Qualifiers

None.

Example


XGCP> START_SERVER
      

The command in this example executes the DCL command file SYS$STARTUP:DDTM$XG_STARTUP.COM, which starts the server process called DDTM$XG_SERVER.

STOP_SERVER

Stops the XA Gateway server process called DDTM$XG_SERVER. Requires OPERATOR privilege.

Format

STOP_SERVER


Parameters

None.

Qualifiers

None.

Example


XGCP> STOP_SERVER
      

The command in this example stops the server process called DDTM$XG_SERVER.


Appendix A
ACL Editor Keypad Editing Commands

By default, the access control list editor (ACL editor) prompts you for each access control entry (ACE) and provides values for some of the fields within an ACE. You can navigate the ACE fields by using keypad commands, such as FIELD and ITEM.

This appendix describes all the keypad editing commands supplied by the ACL editor. You can supplement or change these key definitions by modifying and recompiling the ACL editor section file SYS$LIBRARY:ACLEDIT.TPU (see Appendix B for more information). To get help on the ACL editor keypad commands, press PF2.

A.1 ACL Editor Keypad Commands

Figure A-1 shows the default ACL editor keypad commands for LK201 keyboards. The numeric keypad on VT100-series terminals is identical to that of the LK201 keyboard shown in Figure A-1; VT100 terminals, however, do not have the supplemental editing keypad (keys E1 through E6).

Figure A-1 Keypad for an LK201-Series Keyboard


Table A-1 describes each of the keypad commands you can use with the ACL editor. In this table, KPn refers to a keypad key labeled with the number n. For example, KP4 refers to the keypad key labeled with the number 4.

Table A-1 ACL Editor Keypad Commands
Command Key or
Key Sequence
Description
ADVANCE KP4 Sets the current direction forward for the FIND, FNDNXT, MOVE SCREEN, OVER ACE, and WORD commands. Movement is toward the end of the ACL.
ADV FIELD GOLD-KP7 Completes the current ACE field and moves the cursor to the next ACE field.
BACKUP KP5 Reverses the current direction for the FIND, FNDNXT, MOVE SCREEN, OVER ACE, and WORD keys. Movement is toward the beginning of the ACL.
BOTTOM GOLD-KP4 Positions the cursor after the last line of the last ACE. Any entries you add are placed at the end of the ACL.
DEL ACE PF4 Deletes the entire ACE in which the cursor is positioned and stores it in the delete-ACE buffer.
DEL C Comma Deletes the character on which the cursor is positioned and stores it in the delete-character buffer.
DEL EOL GOLD-KP2 Deletes text from the current cursor position to the end of the line and stores it in the delete-line buffer.
DEL W Minus Deletes the text from the current cursor position to the beginning of the next word and stores it in the delete-word buffer.
ENTER Enter Indicates that the current ACE is complete. The ACL editor terminates the insertion and verifies that the syntax of the ACE is complete. You can press the Enter key while the cursor is located at any position within the ACE. (Pressing the Return key produces the same results.)
EOL KP2 Moves the cursor to the end of the current line.
FIELD KP7 Completes the current ACE field and moves the cursor to the next ACE field or subfield, inserting text as needed. If the ACL editor is not in prompt mode, the ACL editor advances to the next field in the current ACE.
FIND GOLD-PF3 Searches for an occurrence of a string. Press the FIND key and then enter the string from the main keyboard. Press the ENTER key to search for the string in the current direction, or the ADVANCE or BACKUP key to change the search direction.
FNDNXT PF3 Searches in the current direction for the next occurrence of the string previously entered with the FIND key.
GOLD PF1 When pressed before another keypad key, specifies the second key's alternate function (the bottom function on the keypad diagram).
HELP PF2 Displays information about using the editing keypad.
HELP FMT GOLD-PF2 Displays information about ACE formats.
INSERT GOLD-KP0 Moves all text from the current line down one line, leaving a blank line where an ACE is to be inserted.
ITEM Period Selects the next item for the current ACE field. If the ACL editor is not in prompt mode, this key is ignored.
MOVE SCREEN KP8 Moves the cursor one screen in the current direction (see ADVANCE or BACKUP). A screen is defined as two-thirds the number of lines in the display.
OVER ACE KP0 Moves the cursor to the beginning of the next ACE (if the direction is set to ADVANCE) or to the beginning of the previous ACE (if the direction is set to BACKUP).
TOP GOLD-KP5 Moves the cursor position to the first character of the first ACE in the access control list.
UND ACE GOLD-PF4 Inserts the contents of the delete-ACE buffer in front of the ACE in which the cursor is currently positioned.
UND C GOLD-Comma Inserts the contents of the delete-character buffer directly in front of the cursor.
UND W GOLD-Hyphen Inserts the contents of the delete-word buffer directly in front of the cursor.
WORD KP1 Moves the cursor one word forward (if the direction is set to ADVANCE) or backward (if the direction is set to BACKUP).

A.2 Additional ACL Editing Keys and Key Sequences

In addition to keypad editing, the ACL editor lets you use other keyboard keys and key sequences to perform editing functions. Table A-2 describes these additional ACL editing keys and key sequences. Keys in parentheses indicate the equivalent key for an LK201-series keyboard.

Table A-2 Additional ACL Editing Keys and Key Sequences
Key or Sequence Action Taken When Key or Sequence Is Pressed
DOWN ARROW KEY Moves the cursor to the character directly in line below it. If the ACE in which the cursor is positioned is new, the ACL editor processes the ACE before moving the cursor. If the entry is incomplete or formatted incorrectly, an error occurs and the cursor does not move.
LEFT ARROW KEY Moves the cursor one character to the left. If the cursor is at the left margin, moves it to the rightmost character in the line above.
RIGHT ARROW KEY Moves the cursor one character to the right. If the cursor is at the right margin, moves it to the leftmost character in the line below.
UP ARROW KEY Moves the cursor to the character directly in line above it. If the ACE in which the cursor is positioned is new, the ACL editor processes the ACE before moving the cursor. If the entry is incomplete or formatted incorrectly, an error occurs and the cursor does not move.
GOLD- <- Shifts the text in the display window 8 characters to the left.
GOLD--> Shifts the text in the display window 8 characters to the right.
Backspace (F12) Moves the cursor to the beginning of the current line.
Ctrl/A Changes the current mode from insert mode to overstrike mode or from overstrike mode to insert mode. Insert mode (the default) inserts a character to the left of the current character. Overstrike mode replaces the current character.
Ctrl/D Allows you to execute one TPU command.
Ctrl/H Moves the cursor to the beginning of the line. (Performs the same function as the backspace key.)
Ctrl/J Deletes the text from the cursor back to the beginning of the word. (Performs the same function as the linefeed key.)
Ctrl/R Refreshes the screen display. Clears and redraws the screen, deleting any extraneous characters or messages that might have appeared on the screen but are not part of the ACL you are editing. (Performs the same function as Ctrl/W.)
GOLD-Ctrl/R Returns the ACL to its original state before the ACL editor was invoked. (Performs the same function as GOLD-Ctrl/W.)
Ctrl/U Deletes the text from the cursor to the beginning of the line.
GOLD-Ctrl/U Inserts the contents of the deleted-line buffer into the line at the current position. The line might wrap automatically.
Ctrl/W See Ctrl/R.
GOLD-Ctrl/W See GOLD Ctrl/R.
Ctrl/Z Ends the editing session and updates the ACL. (Unless otherwise specified, any recovery and journal files are deleted.)
GOLD-Ctrl/Z Ends (quits) the editing session without saving any of the changes made to the ACL. (Unless otherwise specified, any recovery and journal files are deleted.)
DELETE KEY Deletes the character to the left of the cursor.
Linefeed (F13) Deletes the text from the cursor back to the beginning of the word. If the cursor is positioned at the first character of the word, deletes to the beginning of the previous word.
Tab Moves the text located to the right of the cursor to the next tab stop.


Previous Next Contents Index

  [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]  
  privacy and legal statement  
6048PRO_076.HTML