Version 6.3.1
 —  Adabas Utilities  —

ADAOPR (Operator Utility)

This document describes the utility "ADAOPR".

The following topics are covered:


Functional Overview

The DBA uses this utility to operate the Adabas nucleus.

This utility is a multi-function utility.

Top of page

Procedure Flow

graphics/adaopr1.png

Data Set Environment
Variable/
Logical Name
Storage Medium Additional Information
Control statements stdin/
SYS$INPUT
  Utilities Manual
ADAOPR messages stdout/
SYS$OUTPUT
  Messages and Codes

Top of page

Checkpoints

The following table shows the nucleus requirements for each function and the checkpoint written:

Function Nucleus must be active Nucleus must NOT be active Nucleus is NOT required Checkpoint written
FEOF=PLOG       SYNC

Top of page

Control Parameters

The following control parameters are available:

     ABORT

     BFIO_PARALLEL_LIMIT = number

     CANCEL 

     CLEAR_FILE_STATS = (number [- number] [, number [- number] ] ... )

     CSA = string

     DBID = number

     DISPLAY = (keyword [,keyword]...)

     ES_ID = number

D    [NO]ET_SYNC

     EXT_BACKUP = [PREPARE | CONTINUE | ABORT]

     FEOF = (keyword [,keyword])


     FILE = number


     FREE_CLQ = number

     ID = number

D    [NO]IO_TIME

     ISN = ( number [- number] [,number [- number] ] ... )

     [UN]LOCK = (number [,number]...)

     LOGGING = (keyword [,keyword]...)

     LOGIN_ID = number

     MGC = number

     NISNHQ = number

     NODE_ID = string

     OPTIONS = (keyword [,keyword]...)

     READ_PARALLEL_LIMITS = (records,blocks,total)

     RESET = keyword

D    [NO]RESPONSE_ABORT

     RESPONSE_CHECK = (number[-number][,number[-number]]...)

     SET_FILE_STATS = (number[-number][,number[-number]]...)

     SHUTDOWN

     STATUS = (keyword [,keyword]...)

     STOP = (number[-number][,number[-number]]...)

     TNAA = number

     TNAE = number

     TNAX = number

     TT = number

     USER_ID = string

     WRITE_LIMIT = [number]

     XA_RESPONSE_CHECK =  (keyword [,keyword]...)

ABORT

ABORT

This function terminates the Adabas session immediately. All command processing is immediately stopped. The session is terminated abnormally with a pending AUTORESTART.

ABORT causes the following files to be written to the databases's default directory:

BFIO_PARALLEL_LIMIT

BFIO_PARALLEL_LIMIT = number

This function sets the number of parallel I/O requests by a buffer flush, allowing earlier processing of concurrent I/Os from other threads. A large buffer flush, for example, can cause the I/O queue to be very busy, and other I/Os (such as buffer pool read I/Os and WORK I/Os) can be enqueued for a long time, slowing down command throughput and possibly causing applications to stall if a buffer flush is active.

If BFIO_PARALLEL_LIMIT is specified, the buffer flush sets up the specified number of I/Os and waits until these have been processed before issuing the next packet. The maximum value for ´number´ is defined by the Adabas system, If a value of 0 is specified, the number of buffer flush I/Os is unlimited.

CANCEL

CANCEL

This function terminates the Adabas session immediately. A BT command is issued for each active ET user and the session is terminated.

The communication link to the database is cut but the shared memory is still held. In this case, display functions are still possible with ADAOPR but parameter modification commands are no longer permitted.

CLEAR_FILE_STATS

CLEAR_FILE_STATS = (number [- number] [, number [- number] ] ... )

This function disables the collection of I/O statistics enabled by SET_FILE_STATS for the specified file(s).

CSA

CSA = string

`string' is a file specification of a file containing status information from an Adabas nucleus, a so-called CSA dump file. This file may be created by an ADAOPR ABORT function, by an abnormal termination of Adabas, or by response check trapping (refer to the RESPONSE_CHECK function for further information).

The following naming conventions are used for the file:

UNIX

ADABAS.xxx.hh:mm:ss
ADABAS.xxx.RSPyyy.hh:mm:ss

Windows

ADABAS.xxx.hh-mm-ss
ADABAS.xxx.RSPyyy.hh-mm-ss

OpenVMS

ADABAS-xxx-hh-mm-ss
ADABAS-xxx-RSPyyy.hh-mm-ss

(with the NORESPONSE_ABORT option set), where

For example, if the database ID is 5, and the file creation was initiated by a trapped response code 113, the file name will start with ADABAS.005.RSP113, and then the time of creating will be appended, e.g. ADABAS.005.RSP113.12:16:50 (UNIX) or ADABAS.005.RSP113.12-16-50 (Windows) or ADABAS-005-RSP113.12-16-50 (OpenVMS).

The file will be created in the directory that is pointed to by the environment variable/logical name ADA_CSA_DUMP. The default is the directory from which the nucleus was started. If a file with the same name already exists in this directory, it will be overwritten.

The DBID and CSA parameters are mutually exclusive.

DBID

DBID = number

This parameter selects the database to which all subsequent ADAOPR commands apply. Multiple DBIDs are supported within one session.

The DBID and CSA parameters are mutually exclusive.

Example:

adaopr: dbid=1
adaopr: shutdown
adaopr: dbid=2
adaopr: shutdown
adaopr: dbid=3
adaopr: shutdown
adaopr: quit

DISPLAY

DISPLAY = (keyword [,keyword]...)

This parameter displays various information during an Adabas session.

The following keywords can be used:

Keyword Meaning
ACTIVITY Database activities display.
BP_STATISTICS Buffer pool statistics display.
COMMANDS Command table display.
CQ Command queue display.
DYNAMIC_PARAMETERS Dynamic nucleus parameters display.
FILE_IO File I/O display.
FP_STATISTICS Format pool statistics display.
HIGH_WATER High water marks display.
HQ Hold queue display.
ICQ Internal command queue display.
IO_TIMES Container I/O times display.
PLOG_STATISTICS Protection log statistics.
REPLICATIONS Adabas - Adabas replications.
STATIC_PARAMETERS Static nucleus parameters display.
TT Thread table display.
UCB Utility communication block.
UQ User queue display.
UQ_FILES User file list display.
UQ_FULL Full information about user queue element.
UQ_TIME_LIMITS User time limits display.

The following examples show the information produced by the various keywords, together with explanations of the information that is displayed.

Some of the following displays include percentages. The corresponding values are always truncated. An undefined value (divided by 0) is specified with " *%" and an overflow with "***%".

Example: DISPLAY=ACTIVITY

adaopr: display=activity

                       ADANUC Version <version number>
        Database 76           Activity          on 22-JAN-2010 13:19:30   


I/O Activity                     Total   Throwbacks                       Total
------------                     -----   ----------                       -----
Buffer Pool                      5,440   Waiting for UQ context              87
WORK Read                          728   Waiting for ISN                     53
WORK Write                         647   ET Sync                              0
PLOG Write                         194   DWP Overflow                         0
NUCTMP                           1,600
NUCSRT                             531

Pool Hit Rate                    Total   Interrupts       Current         Total
-------------                    -----   ----------       -------         -----
Buffer Pool                        99.6% WP Space Wait          0             0
Format pool                        98%   

The information has the following meaning:

EXAMPLE: DISPLAY=BP_STATISTICS

adaopr: display=bp_statistics

                       ADANUC Version <version number>
        Database 76    Buffer Pool Statistics   on 19-JAN-2010 14:58:10   


Buffer Pool Size   :   524,288,000

Pool Allocation                        RABNs present
---------------                        -------------
Current     ( 14%) :    73,517,056     ASSO               :        11,909
Highwater   ( 14%) :    73,517,056     DATA               :             3
Internal    (  3%):     15,728,640     WORK               :         2,766
Workpool    (  0%)         881,664     NUCTMP             :             0
                                       NUCSRT             :             0

I/O Statistics                         Buffer Flushes
--------------                         --------------
Logical Reads      :        98,201     Total              :             1
Physical Reads     :        11,914     To Free Space      :             0
Pool Hit Rate      :            87.9%
                                       Write Limit  (  5%):    26,214,400
Physical Writes    :         2,711     Modified     (  2%):    11,329,536

The information is interpreted as follows:

Example: DISPLAY=COMMANDS

adaopr: display=commands

                       ADANUC Version <version number>
        Database 76           Commands          on 19-JAN-2010 14:58:10   


ADABAS Commands:				         9,884

        A1            892         L2             553        OP            25
        BT            736         L3           1,124        RC            89
        C1             40         L4             569        RE             0
        C3              0         L5             420        RI             0
        C5             10         L6             436        S1         1,511
        CL             32         L9             456        S2            81
        E1          1,006         LF              20        S4            12
        ET             72         MC               0        S8           230
        HI              0         N1             877        S9            50
        L1            643         N2               0

This command displays the total numbers of Adabas commands issued in the current session. For MC commands, the value displayed is the number of MC calls plus the number of single Adabas commands contained in the MC calls.

A read command that is issued while the multifetch option is set is counted as a single command.

Updates made by utilities are not included in the display.

Note:
The command counts can be reset by ADAOPR RESET=COMMANDS.

Example: DISPLAY=CQ

adaopr: display=cq

                       ADANUC Version <version number>
        Database 76        Command Queue        on 19-JAN-2010 14:58:10   


  No   Node Id  Login Id       ES Id   Cmd File  Status
  --   -------  --------       -----   --- ----  -----
   1  sunxxx01  miller      21243798    E1   12  Ready to run
   2  sunxxx01  jones       21231788    E1   12  Running
   3  sunxxx01  smith       21230756    L2   12  Ready to run
   4  sunxxx01  miller      21227398    S1   12  Running
   5  sunxxx01  smith       21247630    S1   12  Running
   6  sunxxx01  jones       21246388    A1   12  Ready to run
   7  sunxxx01  jones       21219466    S1   11  Ready to run
   8  sunxxx01  smith       21237160    L6   11  Ready to run
   9  sunxxx01  miller      21246610    A1   11  Running
  10  sunxxx01  miller      21246896    S1   11  Running
  11  sunxxx01  dba         21244730    U0    0  Running

Selected: 11, Used: 11, Queue Size: 20

This display shows the current command-queue entries:

The final line of the display shows how many command queue entries were selected according to the currently active selection criteria, and how many entries are used in total in the command queue.

The possible status values are shown in the following table:

Status Meaning
Completed Command processing completion;
Marked For Deletion Command is marked for delete, user is no longer active;
New Command is ready to be inserted in the scheduling queue;
Ready To Run Placed in queue and ready for scheduling;
Running Running in a thread (see DISPLAY=TT);
Waiting For Complex Complex command is waiting to run;
Waiting For Et Sync Waiting for ET synchronization;
Waiting For Group Commit Waiting for group ET. No entry in thread table;
Waiting For Isn <isn> Waiting for ISN in file shown in column "File" in the display. No entry in thread table;
Waiting For Space Waiting for working space. No entry in thread table.
Waiting For Uqe Waiting for user queue entry. The required entry is locked by an active internal command;

Note:
The display may show command codes such as "U0", which are only used internally by Adabas (for example, during a utility run).
The "RUNNING" and "COMPLETED" values may differ even if the user has not specified an explicit selection criterion.

Example: DISPLAY=DYNAMIC_PARAMETERS

adaopr: display=dynamic_parameters

                       ADANUC Version <version number>
        Database 76      Dynamic Parameters     on 19-JAN-2010 14:58:10   


Resources:         NISNHQ    :           100    WRITE_LIMIT:            - 

Time Slices:       TNAA      :           900    TNAX       :           900
                   TNAE      :           900    TT         :           300

Group Commit:      MGC       :            50

Logging:           CLOG      : OFF


Read limits:       200, 10, 30

Response check with ABORT    : 84,160,164-182,243,251-252

This display shows the current values of the dynamic nucleus parameters.

Example: DISPLAY=FILE_IO

adaopr: display=file_io

                       ADANUC Version <version number>
        Database 76           File I/O          on 19-JAN-2010 14:58:10   


                       Reads           Hit
    File       Logical       Physical  Rate         Writes
    ----       -------       --------  ----         ------
      11       145,341            180   99%          2,869
      12        99,070            148   99%          2,149

This display shows the logical and physical reads, their hit rate and the writes the buffer pool manager has made for every file since the file I/O statistiscs for the file in question were enabled (ADAOPR SET_FILE_STATS) - files for which the I/O statistics have not been enabled or for which no I/Os were performed are not displayed.

Notes:

  1. The formula for the hit rate value is given in the description of DISPLAY=ACTIVITY.
  2. A write operation is only counted if the block was not yet marked as modified. This means that the physical write I/Os either already done in a previous buffer flush or still pending to be performed in the next buffer flush are counted.

Example: DISPLAY=FP_STATISTICS

adaopr: display=fp_statistics

                       ADANUC Version <version number>
        Database 76    Format Pool Statistics   on 19-JAN-2010 14:58:10   

Maximum Local  Pool Size:        251,656
Maximum Global Pool Size:        251,656

Pool Allocation                            Pool Contents
---------------                            -------------
Local  Current   ( 22%) :         57,540   Local  Format Buffers:         162
Local  Highwater ( 27%) :         70,000   Global Format Buffers:           1

Global Current   (  0%) :             84
Global Highwater (  0%) :             84


Pool Statistics                    Local          Global
---------------                    -----          ------
Scans                             11,780               3
Hits                              11,547               2
Hit Rate                              98%             66%

Replacements                           0               0
Overflows                              0               0

This display shows the format pool statistics:

Example: DISPLAY=HIGH_WATER

adaopr db=076 display=high_water

                       ADANUC Version <Version number>
        Database 76       High Water Marks      on 19-JAN-2010 10:52:08   

Area/Entry               Size      In Use  High Water    %      Date/Time
----------               ----      ------  ----------    -      ---------
User Queue                100          14          14   14 19-JAN-2010 10:50:48
Command Queue               -          11          11    - 19-JAN-2010 10:50:54
Hold Queue                  -         100         100    - 19-JAN-2010 10:46:04
Client Queue               50           1           5    5 19-JAN-2010 10:46:13
HQ User Limit             100           -          83   83 19-JAN-2010 10:47:26
Threads                     6           6           6  100 19-JAN-2010 10:45:54
Workpool           16,777,216           0   4,194,320   25 19-JAN-2010 10:46:04
  ISN Sort          2,097,152           -   2,095,784   99 19-JAN-2010 10:51:58
  Complex Search    2,097,152           -     126,324    6 19-JAN-2010 10:45:54
Attached Buffer        98,304      67,584      67,584   68 19-JAN-2010 10:52:17
Buffer Pool         6,291,456   1,627,136   1,627,136   25 19-JAN-2010 10:52:08
Protection Area         1,000
  Active Area             300           -         146   48 19-JAN-2010 10:50:58
Group Commit               50           0           1    2 19-JAN-2010 10:45:46
Transaction Time          300           -         158   52 19-JAN-2010 10:50:28

This display shows the high water marks for the current session:

The entries in the column AREA/ENTRY correspond to the ADANUC parameters NU (user queue), NCL (client queue), NISNHQ (hold queue user limit), NT (threads), LWP (workpool), LBP (buffer pool), LAB (attached buffer), MGC (group commit), TT (transaction time). The hold queue and the command queue have no predefined size and are increased dynamically if required.

The entry "ACTIVE AREA" is the largest part of WORK part 1 that can be used by a single transaction. If a transaction's protection information spans more space than allowed by "Active Area", it receives a response 9 (LP), the nucleus displays a PLOVFL message and a value of more than 100 in the "%" column of the highwater display.

Users who have set user-specific timeout values in their OP call are not included in the values for Transaction Time.

Note:
1. Values for Attached Buffer and Command Queue are not displayed correctly if the nucleus cannot be contacted by ADAOPR (for example, if the ADAOPR parameter CSA is used.
2. Threads are used in a round-robin manner. Therefore, the high water mark for threads will be the same as the value shown in the Size column in most cases.

Example: DISPLAY=HQ

adaopr: file=11, display=hq

                     ADANUC Version <version number>
        Database 76          Hold Queue         on 19-JAN-2010 14:58:10   

        Id Node Id  Login Id      ES Id User Id  File           ISN Locks  Flg
        -- -------  --------      ----- -------  ----           --- -----  ---
        15 sunxxx01 miller         6974 *adatst    11         2,222   X     M
        19 sunxxx01 smith          7056 *adatst    11             2   X

Selected: 2, Used: 8, Queue Size: 160

This display shows the current hold-queue entries:

The final line of the display shows how many hold queue entries were selected according to the currently active selection criteria, and how many entries are used in total.

Entries are displayed in unsorted sequence.

Example: DISPLAY=ICQ

adaopr: display=icq

                       ADANUC Version <version number>
        Database 76    Internal Command Queue   on 19-JAN-2010 14:58:10   


        Id  Node Id   Login Id       ES Id  Command   Status
        --  -------   --------       -----  -------   ------
  00000002            *system     00000000  SHUT      Running

Selected: 1, Used: 1, Queue Size: 101

This display shows the internal command queue:

Command Meaning
AR Autorestart
BT Back out transaction
BTCL Back out open transaction and close user
CANCEL Cancel nucleus
DELUQE Release file list and delete user queue element
ETSYNC Start an ET-SYNC status check after a global transaction has received a timeout
SHUT Shut down nucleus
STOP STOP from ADAOPR
TIMEOUT Non-activity timeout

The status of internal commands can be READY TO RUN, RUNNING, WAITING FOR ET SYNC or WAITING FOR UQE.

The final line of the display shows how many internal command queue entries were selected according to the currently active selection criteria, and how many entries are used in total.

Example: DISPLAY=IO_TIMES

adaopr: display=io_times

                       ADANUC Version <version number>
        Database 76        IO Statistics        on 19-NOV-2010 12:16:48


                  Number of IOs       Maximum IO time      Average IO time
                  -------------       ---------------      ---------------
ASSO Read    :               735574                14397                    1
ASSO Write   :                12136                    2                    1
DATA Read    :              2023257                13910                    1
DATA Write   :                  444                    1                    1
WORK Read    :                    4                    1                    1
WORK Write   :                  660                    2                    1
NUCSRT Read  :                 4060                  940                    1
NUCSRT Write :                 4060                    1                    0
NUCTMP Read  :                   30                    1                    1
NUCTMP Write :                  896                    1                    1

The number of IOs shows the number of physical read and write I/O accesses to ASSO, DATA, WORK, NUCSRT and NUCTMP.

The maximum IO time shows the maximum duration of a single I/O read and write access to ASSO, DATA, WORK, NUCSRT and NUCTMP in microseconds.

The average IO time shows the average time of a single I/O access to ASSO, DATA, WORK, NUCSRT and NUCTMP in microseconds.

Logging of I/O times is only available if ADAOPR IO_TIME is enabled..

Example: DISPLAY=PLOG_STATISTICS

adaopr: display=plog_statistics

                       ADANUC Version <version number>
        Database 76       PLOG Statistics       on 19-JAN-2010 14:59:41


PLOG Environment
----------------
NUCPLG     (active) : /FS/fsxxxx/sag/ada6180102/ada/db076/NUCPLG


Active PLOG
-----------
Session Number      :  37
Extent              :  2

Active Since        :  19-JAN-2010 14:59:41
Duration            :              00:00:01

Allocated Space     :         24,683 KB
Used Space   (  0%) :             32 KB
Average Growth Rate :        115,200 KB/h

Example: DISPLAY=REPLICATIONS

adaopr: display=replications
                       ADANUC Version <version number>
        Database 34         Replications        on 27-JUN-2012 09:47:48


       ID  From FNR  To DB  To FNR  Status         Remark
       --  --------  -----  ------  ------         ------
        1     111      37     111   Inactive                                    
       86      86      37      86   Active                                      


            2 transactions pending:
        ---------------------------

        To DB   Transactions
        -----   ------------
           37             2


            5 commands pending:
      -------------------------

      From FNR     Commands
      --------     --------
           86             5
          111             0

This display shows the Adabas - Adabas replications currently defined. This is only relevant for customers who are using the Adabas Event Replicator with Adabas - Adabas replication.

Note:
Replications to other replication targets, for example SQL databases, are not displayed. Such replications can only be displayed with the administration tools of the event replication.

The display shows the following information:

If ADAOPR DISPLAY=REPLICATIONS is executed in non-interactive mode, ADAOPR returns one of the following exit status values:

Value Meaning
0 At least one replication has been defined, and no replication is in status Error.
12 There is a replication in status Error.
15 Replication has not been activated, or no replication has been defined.

Example: DISPLAY=STATIC_PARAMETERS

adaopr: display=static_parameters

                       ADANUC Version <version number>
        Database 76      Static Parameters      on 19-JAN-2010 14:58:10   


Resources:         LAB       :        98,304    NT        :             6
                   LBP       :     6,291,456    NU        :           100
                   LWP       :       170,000    NCL       :            50

Logging:           PLOG, BI
Options:           TRUNCATION

Cloglayout:        5

This display shows the static nucleus parameters.

Example: DISPLAY=TT

adaopr: display=tt

                       ADANUC Version <version number>
        Database 76         Thread Table        on 19-JAN-2010 14:58:10   


 No     Cmd Count  File  Cmd  Status
 --     ---------  ----  ---  ------
  1        10,566     0   U0  Update , active
  2        21,475    11   S1  Complex, active
  3        10,382    12   S1  Simple , active
  4         2,516    12   S1  Simple , active
  5         3,782    11   A1  Update , active
  6         1,713    12   E1  Update , active

This display shows the entries in the thread table. The number of displayed entries is simultaneously the high water mark for threads.

Possible command types are:

Possible entries for the thread status are shown in the following table:

Status Meaning
free available for allocation
ready ready to run
active running
waiting for io
<rabn>/<block type>
waiting for I/o completion of block
<rabn>
waiting for
<rabn>/<block type>
waiting for access/update synchronization of
block <rabn>
waiting for space
<size> bytes
waiting for <size> bytes of work pool
space

The block type can be ASSO, DATA, WORK, FILE or PLOG.

Example: DISPLAY=UCB

adaopr: display=ucb

                       ADANUC Version <version number>
        Database 76             UCB             on 19-JAN-2010 14:59:45   


       Date/Time        Entry Id  Utility  Mode Files
       ---------        --------  -------  ---- -----
19-JAN-2010 14:59:41          42   adaopr  UTO  13 

This display shows the utility communication block.

Example: DISPLAY=UQ

adaopr: display=uq

                       ADANUC Version <version number>
        Database 76         User Queue          on 19-JAN-2010 14:58:10   


        Id  Node Id   Login Id       ES Id   User Id    Type    Status
        --  -------   --------       -----   -------    ----    ------
        26  sunxxx01  dba             4473   *adaopr    UT            
        23  sunxxx01  smith           3075              ET          E  
        20  sunxxx01  jones           3178              ET         I   
        19  sunxxx01  jones           1946              ET         IE  
        18  sunxxx01  smith           4689              ET            
        16  sunxxx01  smith           4661              ET            
        17  sunxxx01  jones           4638   ########             T   
        14  sunxxx01  miller          4379              ET      R     
        13  sunxxx01  dba             3967   *adatst    AC            
        12  sunxxx01  dba             3651   *adatst    EX,ET      E  
        11  sunxxx01  dba             4025   DBADMIN    EX      RU    

Selected: 11, Used: 11, Queue Size: 100

This display shows the current user queue entries.

The final line of the display shows how many user queue entries were selected according to the currently active selection criteria, and how many entries are used in total.

Example: DISPLAY=UQ_FILES

adaopr: display=uq_files

                       ADANUC Version <version number>
        Database 76         User Files          on 19-JAN-2010 14:58:10   


        Id  Type   Mode Files
        --  ----   ---- -----
        26  UT         
        23  ET     UPD  11-12
        20  ET     UPD  11-12
        19  ET     UPD  11-12
        18  ET     UPD  11-12
        16  ET     UPD  11-12
        14  ET     UPD  11-12
        13  AC         
        12  EX,ET EXU   14 
        11  EX     ACC  11
                   EXU  13 

Selected: 10, Used: 11, Queue Size: 100

This display shows the file lists for active users.

The final line of the display shows how many user queue entries were selected according to the currently active selection criteria, and how many entries are used in total.

Example: DISPLAY=UQ_FULL

adaopr: file=13, display=uq_full

                       ADANUC Version <version number>
        Database 34     Full User Queue Entry   on  9-MAR-2010 11:20:43

User Entry:  Id            :  7              ES Id        :  14251     
             Node Id       :  sunxxx05       Login Id     :  dba      
             User Id       :  *adaopr   

             User Type     :  UT             User Status  :          

Time Stamps: Session Start :  9-MAR-2010 11:20:43
             Trans. Start  :                     
             Last Activity :                     

Time Limits: TT            :             0   TNA          :             0

Resources:   ISN Lists     :             0   ISNs Held    :             0
             Open Files    :             0

Activity:    ADABAS Calls  :             1   Transactions :             0

Settings:    User Encoding :  UTF-8                                           
-------------------------------------------------------------------------------

User Entry:  Id            :  6              ES Id        :  13462     
             Node Id       :  sunxxx05       Login Id     :  smith
             User Id       :  SMITH001  

             User Type     :  ET             User Status  :          

Time Stamps: Session Start :  9-MAR-2010 11:20:23
             Trans. Start  :  9-MAR-2010 11:20:23
             Last Activity :  9-MAR-2010 11:20:23

Time Limits: TT            :         3,600   TNA          :           900

Resources:   ISN Lists     :             0   ISNs Held    :             3
             Open Files    :             1

Activity:    ADABAS Calls  :            21   Transactions :             1

Settings:    User Encoding :  UTF-8                                           
             Time zone     :  Europe/Berlin                                   

This display shows detailed information about user queue elements.

Example: DISPLAY=UQ_TIME_LIMITS

adaopr: display=uq_time_limits

                       ADANUC Version <version number>
        Database 76       User Time Limits      on 19-JAN-2010 14:58:10   

TNAA Interval   :             00:15:00  TNAX Interval   :             00:15:00
TNAE Interval   :             00:15:00  TT   Interval   :             00:05:00

        Id St Limit   Timeout Interval     Remaining Time     Start Date/Time
        -- -- -----   ----------------     --------------     ---------------
        23    TNAE            00:15:00           00:15:00  19-JAN-2010 14:58:10
              TT              00:05:00
        22    TNAE            00:15:00           00:15:00  19-JAN-2010 14:58:10
              TT              00:05:00
        21    TNAE            00:15:00           00:15:00  19-JAN-2010 14:58:10
              TT              00:05:00           00:05:00  19-JAN-2010 14:58:10
        20    TNAE            00:15:00           00:15:00  19-JAN-2010 14:58:10
              TT              00:05:00           00:05:00  19-JAN-2010 14:58:10
        19    TNAE            00:15:00           00:15:00  19-JAN-2010 14:58:10
              TT              00:05:00
        18    TNAE            00:15:00           00:15:00  19-JAN-2010 14:58:10
              TT              00:05:00           00:04:50  19-JAN-2010 14:58:00
        17    TNAA            00:15:00           00:15:00  19-JAN-2010 14:58:10
        16    TNAE            00:15:00           00:15:00  19-JAN-2010 14:58:10
              TT              00:05:00           00:05:00  19-JAN-2010 14:58:10
        14    TNAE            00:15:00           00:15:00  19-JAN-2010 14:58:10
              TT              00:05:00           00:05:00  19-JAN-2010 14:58:10
        13    TNAA            00:15:00           00:10:01  19-JAN-2010 14:53:11
        12    TNAE            00:15:00           00:10:01  19-JAN-2010 14:53:11
              TT              00:05:00
        11  U TNAX            00:40:00           00:34:57  19-JAN-2010 14:53:07

Selected: 12, Used: 14, Queue Size: 100

This display shows the current timeout limits for the user queue entries.

The final line of the display shows how many user queue entries were selected according to the currently active selection criteria, and how many entries are used in total.

ES_ID

ES_ID = number

This function influences the output of the DISPLAY options CQ, HQ, ICQ, UQ, UQ_FILES, UQ_FULL, UQ_TIME_LIMITS. Only entries with the specified environment-specific ID are displayed.

[NO]ET_SYNC

[NO]ET_SYNC

This option controls the behaviour of the FEOF=PLOG function. It must be specified before specifying FEOF=PLOG. Refer to the FEOF=PLOG function for more information.

The default is NOET_SYNC.

EXT_BACKUP

EXT_BACKUP = [PREPARE | CONTINUE | ABORT]

This function is used to backup a database using an external backup system, which can be considerably faster with very large databases than using ADABCK.

The keyword PREPARE prepares the database for backup. During this phase, the following restrictions apply:

The keyword CONTINUE is used to resume normal database operations following completion of the external backup. The following actions are performed:

The keyword ABORT is used to abort an external backup for which a PREPARE has already been issued. In this case, the PLOG isn't switched and no checkpoint is written.

Example

The following scenario shows a backup and restore using a third-party backup tool (tar is not a real alternative, and is used for demonstration purposes only):

Dumping the database

% adaopr dbid=37 ext_backup=prepare
%ADAOPR-I-STARTED,      14-NOV-2012 16:18:30, T-Version 6.3.99.00 (Solaris 64Bit)

Database 37, startup at 14-NOV-2012 16:18:10
ADANUC T-Version 6.3.99.00, PID 15245

%ADAOPR-I-EXTBPREP, preparing for external backup, 14-NOV-2012 16:18:30

%ADAOPR-I-TERMINATED,   14-NOV-2012 16:18:30, elapsed time: 00:00:00
% tar cvf $BACKUPDIR/backup.tar ASSO* DATA* # external dump
<external backup output>
% adaopr dbid=1 ext_backup=continue
%ADAOPR-I-STARTED,      14-NOV-2012 16:18:45, T-Version 6.3.99.00 (Solaris 64Bit)

Database 37, startup at 14-NOV-2012 16:18:10
ADANUC T-Version 6.3.99.00, PID 15245
During ET Sync (phase 2), for external backup

%ADAOPR-I-EXTBCONT, continue from external backup, 14-NOV-2012 16:18:45

%ADAOPR-I-TERMINATED,   14-NOV-2012 16:18:45, elapsed time: 00:00:00

Restoring and recovering the database

% tar xvf $BACKUPDIR/backup.tar		# external restore
% adastart 37
% setenv RECPLG plog.0017			# Set RECPLG for ADAREC (C shell)
% adarec dbid=37 regenerate=* plog=17

The external backup is logged in the ADANUC log file

%ADANUC-I-DBSTART, Database 37, session 16 started, 14-NOV-2012 16:17:10
%ADANUC-I-EXTBPREP, preparing for external backup, 14-NOV-2012 16:18:30
%ADANUC-I-DBSTART, Database 37, session 17 started, 14-NOV-2012 16:18:45
%ADANUC-I-PLOGCRE, plog NUCPLG, file 'plogs/plog.0017' created
%ADANUC-I-EXTBCONT, continue from external backup, 14-NOV-2012 16:18:45

FEOF

FEOF = (keyword [,keyword])

In accordance with the keywords specified, the log file(s) are closed and a new log file is created.

Keyword Meaning
CLOG

closes command log file.

PLOG

closes protection log file.

This depends on the [NO]ET_SYNC option:

If ET_SYNC is specified:
The current protection log file (PLOG) will be closed when all currently active ET logic users have come to ET status, and a new PLOG is created with the next higher PLOG number.

If NOET_SYNC is specified:
The current PLOG extent will be closed when the next PLOG block is written, and a new extent of the same PLOG will be created. The PLOG number is not incremented and the users do not have to be synchronized at ET status.
Example (PLOG is on raw device): if the current PLOG is PLG.5, then the command "adaopr db=1 et_sync feof=plog" results in the PLOGs PLG.5 and PLG.6, whereas the command "adaopr db=1 noet_sync feof=plog" results in the PLOGs PLG.5(1) and PLG.5(2).
Example (PLOG is in file system): if the current PLOG is NUCPLG.0005, then the command "adaopr db=1 et_sync feof=plog" results in the PLOGs NUCPLG.0005 and NUCPLG.0006, whereas the command "adaopr db=1 noet_sync feof=plog" results in the PLOGs NUCPLG.0005(1) and NUCPLG.0005(2).

The FEOF command will be rejected if the keyword PLOG is used while running ADAREC REGENERATE = * (see ADAREC for more detailed information).

FILE

FILE = number

This influences the output of the DISPLAY options HQ, ICQ, UQ, UQ_FILES, UQ_FULL and UQ_TIME_LIMITS. Only entries related to the specified file number are displayed.

FREE_CLQ

FREE_CLQ

Normally, obsolete entries in the client queue are released automatically when the client queue is full. With ADAOPR FREE_CLQ, you can enforce the client queue cleanup before the client queue becomes full.

ID

ID = number

This function influences the output of the DISPLAY options CQ, HQ, ICQ, UQ, UQ_FILES, UQ_FULL and UQ_TIME_LIMITS. Only entries related to the specified internal ID are displayed.

[NO]IO_TIME

[NO]IO_TIME

The parameter IO_TIME enables logging of the I/O times for the ASSO, DATA, WORK, NUCSRT and NUCTMP containers. The times are given in microseconds.

If logging of I/O times is already enabled, enabling it again resets all I/O time and I/O counter statistics.

The default is NOIO_TIME.

ISN

ISN = ( number [- number] [,number [- number] ] ... )

This function influences the output of the DISPLAY option HQ. Only entries related to the specified ISNs are displayed.

[UN]LOCK

[UN]LOCK = (number [,number]...)

The file(s) specified by the file number(s) are locked or unlocked. The specified files are locked for all non-utility use; Adabas utilities can use the file(s) normally.

For users who have one or more files to be locked in their open file list, a STOP <user-ID> command is issued internally. Refer to the description of the ADAOPR STOP parameter for more details.

Notes:

  1. You can also lock non-existent file numbers; if you subsequently create files with these numbers, the files are locked.
  2. Locking a LOB file does not prevent users from storing LOB data in the LOB file; disabling the access to LOB data in the LOB file is part of locking the corresponding base file. Locking a LOB file is only useful if you plan to use this file number for a base file at some time in the future.

LOGGING

LOGGING = (keyword [,keyword]...)

This parameter starts command logging for the buffers specified in the list of keywords.

The following keywords can be used:

Keyword Meaning
CB Enables logging of control block
FB Enables logging of format buffers
RB Enables logging of record buffers
SB Enables logging of search buffer
VB Enables logging of value buffer
IB Enables logging of ISN buffer
ABD Enables logging of Adabas buffer descriptions
IO Enables I/O list logging
OFF Stops logging of all buffers, but keeps the command log file open

If the nucleus was started with LOGGING=OFF and buffer logging is requested, then the CLOG file will be created.

LOGIN_ID

LOGIN_ID = number

This function influences the output of the DISPLAY options CQ, HQ, ICQ, UQ, UQ_FILES, UQ_FULL and UQ_TIME_LIMITS. Only entries with the specified login ID are displayed.

MGC

MGC = number

This parameter specifies the maximum group-commit count. This defines the maximum limit of ET command grouping before the PLOG buffers are written back to disk. If this limit is reached, and the final IO has been performed, all remaining users will be posted.

If the specified value is less than the corresponding high-water value, a warning is issued.

The minimum value is 1, the maximum value is 500.

NISNHQ

NISNHQ = number

This parameter specifies the maximum number of records that can be placed into hold at any time by a single user.

If the specified value is less than the corresponding high-water value, a warning is issued.

The minimum value is 0, where 0 means unlimited.

NODE_ID

NODE_ID = string

This function influences the output of the DISPLAY options CQ, HQ, ICQ, UQ, UQ_FILES, UQ_FULL and UQ_TIME_LIMITS. Only entries for the specified node are displayed.

OPTIONS

OPTIONS = (keyword[,keyword])

The available keywords are:

Keyword Meaning
[NO]LOCAL_UTILITIES

If LOCAL_UTILITIES is specified, the nucleus rejects all remote utility calls, i.e. the Adabas utilities cannot be run from a remote node across a network.

[NO]UTILITIES_ONLY

If UTILITIES_ONLY is selected, all calls other than for utilities will be rejected. Note, however, that this restriction only applies to new users; users who were already active when OPTIONS=UTILITIES_ONLY was specified can continue processing normally. If you want exclusive utility control over files or the entire database, use the LOCK function of ADAOPR instead.

These options can be disabled using the prefix `NO', e.g. OPTIONS=NOUTILITIES_ONLY.

READ_PARALLEL_LIMITS

READ_PARALLEL_LIMITS = (records,blocks,total)

This parameter is used to modify the nucleus parameter READ_PARALLEL_LIMITS. Please refer to the description in ADANUC for further information.

RESET

RESET = keyword

RESET=HIGH_WATER resets the high water mark values to the value currently in use.

RESET=COMMANDS resets the command counts displayed by ADAOPR DISPLAY=COMMANDS.

[NO]RESPONSE_ABORT

[NO]RESPONSE_ABORT

If response checking is enabled with the RESPONSE_CHECK parameter of ADAOPR, the RESPONSE_ABORT option determines whether the nucleus aborts when one of the specified responses occurs (RESPONSE_ABORT), or whether the nucleus resumes operation and a database section file is written to disk (NORESPONSE_ABORT).

The setting of the [NO]RESPONSE_ABORT option can only be changed before the RESPONSE_CHECK parameter. The same applies for XA_RESPONSE_CHECK (not on OpenVMS).

The default is NORESPONSE_ABORT.

Refer to the RESPONSE_CHECK parameter for further information.

RESPONSE_CHECK

RESPONSE_CHECK = [(number[-number][,number[-number]]...)]

This function enables the DBA to gather information if one of a list of Adabas response codes occurs. The information written may be used to analyze possible problems in the database's operation. If a response check for an Adabas response code is enabled, the database section file is written to disk if this response code occurs.

Depending on the setting of the RESPONSE_ABORT option, the nucleus either aborts or continues operation:

Refer to the RESPONSE_ABORT action for further information.

By default, no response is trapped and the nucleus continues operation.

To disable response trapping, use "RESPONSE_CHECK =" without arguments.

Note:
Some response codes can be generated outside the nucleus (e.g. by ADALNK and ENTIRE NET-WORK). If this happens, they cannot be trapped by Adabas. The response codes in question for ADALNK are: 9, 17, 22, 40, 146-154, 241, 252, 255.

SET_FILE_STATS

SET_FILE_STATS = [(number[-number][,number[-number]]...)]

This function enables the file level I/O statistics for the specified files. Only these files will be displayed by DISPLAY = FILE_IO.

SHUTDOWN

SHUTDOWN

This function terminates the Adabas session normally. No new users are accepted. ET-user updating is continued until the end of the current transaction for each user. When all update activity has ended as described above, the Adabas session is terminated.

The communication link to the database is cut but the shared memory is still held. In this case, display functions are still possible with ADAOPR but parameter modification commands are no longer permitted.

STATUS

STATUS = (keyword [,keyword] ,... )

This function influences the output of the DISPLAY parameter options HQ, ICQ, UQ, UQ_FILES, UQ_TIME_LIMITS, UQ_FULL. Only entries in the specified state will be displayed.

The valid keywords are:

Keyword Meaning
[NO]TIMEOUT User without or with "T" status.
[NO]ET_STATUS Users at "ET" status with open transactions.
[NO]PENDING_ET Users without or with "P" status.

STOP

STOP = (number[-number][,number[-number]]...)

This parameter terminates the user with the specified ID (internal identification). The ID can be retrieved with DISPLAY = UQ.

The message "Stop handling started for n users" is displayed, where "n" is the number of users who will be stopped.

Note:
Utilities cannot always be stopped in this way.

The actions that Adabas takes when a user is stopped depend on the user type, and also whether the nucleus requires an explicit OP (open) command at the start of a user session, as shown in the following table.

The abbreviation SUQE used in the table means "Stop user queue element", and consists of the following actions: release all Command IDs, scratch the file list, scratch the user ID, scratch the user type, set response 9 for the next call.

User Type Adabas Actions without ADANUC OPTIONS=OPEN_REQUIRED Adabas Actions with ADANUC OPTIONS=OPEN_REQUIRED
ACC

For ID user: SUQE

For non-ID user: session closed

session closed
ET, ET Status

For ID user: SUQE

For non-ID user: session closed

session closed
ET, no ET Status Backout transaction, SUQE Backout transaction, session closed
EX SUQE, CLSE checkpoint session closed
EX, ET with ET status SUQE, CLSE checkpoint session closed
EX, ET, no ET status Backout transaction, SUQE, CLSE checkpoint Backout transaction, session closed
UT session closed session closed

If a STOP command is issued for a user while running

ADAREC REGENERATE = *

it will be rejected (see ADAREC in this manual for more information).

TNAA

TNAA = number

This parameter sets the non-activity time limit (in seconds) for access-only users who have not explicitly specified a TNAA value in the OP command (see Command Reference, OP command).

Note that the figure you specify for this parameter is only approximate. In any particular instance, the actual amount of time can vary from this value by up to 10 seconds.

The minimum value is 20, the maximum value is 2592000.

TNAE

TNAE = number

This parameter sets the non-activity time limit (in seconds) for ET logic users who have not explicitly specified a TNAE value in the OP command (see Command Reference, OP command).

Note that the figure you specify for this parameter is only approximate. In any particular instance, the actual amount of time can vary from this value by up to 10 seconds.

The minimum value is 20, the maximum value is 2592000.

TNAX

TNAX = number

This parameter sets the non-activity time limit (in seconds) for EXU and EXF users who have not explicitly specified a TNAX value in the OP command (see Command Reference, OP command).

Note that the figure you specify for this parameter is only approximate. In any particular instance, the actual amount of time can vary from this value by up to 10 seconds.

The minimum value is 20, the maximum value is 2592000.

TT

TT = number

This parameter sets the transaction time limit for ET logic users who have not explicitly specified a TT value in the OP command (see Command Reference, OP command).

If the specified value is less than the corresponding high-water value, a warning is issued.

Note that the figure you specify for this parameter is only approximate. In any particular instance, the actual amount of time can vary from this value by up to 10 seconds.

The minimum value is 20, the maximum value is 2592000.

USER_ID

USER_ID = string

This function influences the output of the DISPLAY parameter options CQ, HQ, ICQ, UQ, UQ_FILES, UQ_TIME_LIMITS, UQ_FULL. Only entries in the specified user ID will be displayed.

WRITE_LIMIT

WRITE_LIMIT = [number]

This parameter specifies the percentage of modified blocks permitted in the buffer pool before an implicit buffer flush is taken.

Note that "WRITE_LIMIT=" (keeping the equals sign but omitting the number) is equivalent to "WRITE_LIMIT=0".

The minimum value is 0 and the maximum value is 70; 0 means that Adabas will dynamically choose an appropriate value.

XA_RESPONSE_CHECK

XA_RESPONSE_CHECK = (keyword [,keyword] ,... )

This function enables the DBA to gather information if one of a list of XA response codes occurs (not on OpenVMS). The information written may be used to analyze possible problems in the database's operation. If a response check for an XA response code is enabled, the database section file is written to disk if this response code occurs.

Depending on the setting of the RESPONSE_ABORT option, the nucleus either aborts or continues operation:

By default, no response is trapped and the nucleus continues operation.

Refer to the RESPONSE_ABORT option for further information.

To disable response trapping, use "XA_RESPONSE_CHECK =" without arguments.

The following keywords are supported:

XA_RBROLLBACK
XA_RBCOMMFAIL
XA_RBDEADLOCK
XA_RBINTEGRITY
XA_RBOTHER
XA_RBPROTO
XA_RBTIMEOUT
XA_RBTRANSIENT
XA_NOMIGRATE
XA_HEURHAZ
XA_HEURCOM
XA_HEURRB
XA_HEURMIX
XA_RETRY
XAER_ASYNC
XAER_RMERR
XAER_NOTA
XAER_INVAL
XAER_PROTO
XAER_RMFAIL
XAER_DUPID
XAER_OUTSIDE
XA_RBROLLBACK

For more information, see Administration, XA Support.

Top of page