ADARUN Parameters

#### Search Results

Search

# ADARUN Parameters

The ADARUN function is used to invoke Entire Net-Work. ADARUN invokes the Entire Net-Work control program and:

- loads the module ADAIOR, which performs all operating system-dependent functions;

- reads and interprets all ADARUN parameter statements;

- loads the modules needed to execute the functions specified by the ADARUN parameters;

- performs any necessary modifications to those load modules, based on the specified parameters;

- passes control to Entire Net-Work.

ADARUN parameters are fully described in the Operations section of your Adabas documentation.

This section covers the following topics:

- Specifying ADARUN Parameters

- CMADDR and CMLADDR Parameters: GETMAIN Memory Pool Start Address

- CMFIX or CMLFIX Parameters: GETMAIN Memory Pool Fixed Location

- CMSCOPE or CMLSCOPE Parameters: GETMAIN Memory Pool Scope

- CMSIZE or CMLSIZE Parameters: GETMAIN Memory Pool Use and Size

- CT Parameter: Command Timeout Limit

- FORCE Parameter: Allow Nucleus Database ID or Review Hub Table Entry Overwrite

- GROUPS Parameter: User Group Interprocess Communication

- IDTNAME Parameter: Define ID Table Name

- LU Parameter: Length of Intermediate User Buffer Area

- NAB Parameter: Number of Attached Buffers

- NC Parameter: Number of Command Queue Elements

- PROGRAM Parameter: Program to Run

- SVC Parameter: SVC Number

- TARGETID Parameter: Entire Net-Work Target ID

- TASKCTGY Parameter: Adabas Batch/TP Task Category Control

- TCPURL Parameter: TCP/IP Universal Resource Locator

- ZIIP Parameter: Activate Usage of Adabas for zIIP

- Example

## Specifying ADARUN Parameters

When specifying ADARUN parameters:

- Ensure that the correct program to be executed is specified (see the PROGRAM parameter);

- Ensure that the correct target ID is specified (see the TARGETID parameter); and

- Determine which settings for the following parameters are applicable for the session:

  - FORCE (overwrite active target ID)

  - SVC (Adabas SVC number)

Each ADARUN parameter has a default value that ADARUN uses if the parameter is not explicitly specified. Parameters can be abbreviated, but the abbreviation must be unique; that is, not the same as those of other ADARUN parameters.

The Entire Net-Work session statistics can be used to determine the best settings for each parameter. The statistics can be displayed using Entire Net-Work operator commands during the session; they are also printed automatically at the end of a session.

The syntax of ADARUN parameters is:

ADARUN parameters must:

- Contain the word "ADARUN" in positions 1-6, followed by `parameter=value` strings of one or more entries;

- Have one or more blanks, beginning in position 7, between "ADARUN" and the first `parameter=value` string; and

- Not extend beyond position 72 of a line.

ADARUN parameters may contain multiple lines. Each line must be specified as a separate parameter according to the rules above.

ADARUN parameters are fully described in your Adabas operations documentation.

## CMADDR and CMLADDR Parameters: GETMAIN Memory Pool Start Address

These parameters apply only to BS2000 environments running Sockets versions less than 2.2.

Parameter | Specify . . . | Minimum | Maximum | Default
--- | --- | --- | --- | ---
| the start address of the GETMAIN memory pool |  |  |
CMADDR | above the 16MB line | 0, or X'1000000' | X'FE000000' | 0
CMLADDR | below the 16MB line | 0, or X'10000' | X'E00000' | 0

Note
These parameters should only be used if required by an installation site, in which case the site will provide the needed value.

These parameters are involved with setting all required memory into a common memory pool for use by associated tasks on BS2000 above (CMADDR) or below (CMLADDR) the 16 megabyte line. They set the start address of this memory pool.

If the default value ("0") is used for a CMADDR or CMLADDR parameter, the start address depends on the value of the corresponding CMSIZE or CMLSIZE parameter:

- If the CMADDR or CMLADDR parameter value is "0" and the corresponding CMSIZE or CMLSIZE parameter is not "0", the operating system will set the start address at the next available megabyte boundary.

- If the CMADDR or CMLADDR parameter value is "0" and the corresponding CMSIZE or CMLSIZE parameter is also "0", required memory will not be obtained in a common memory pool but rather in class 6 memory.

#### Specific Product Recommendations

For Entire Net-Work 6 (mainframe), Software AG recommends setting the value of the CMADDR parameter to `X'01200000'`.

#### Examples

The following example allows for three (3) megabytes of user storage in the address range X'2000000' to X'4FFFFFF':

    ADARUN PROG=ADANUC,CMADDR=2000000,CMSIZE=2500000

The following example allows for three (3) megabytes of user storage below 16 megabytes in the address range X'200000 to X'4FFFFF:

    ADARUN PROG=ADANUC,CMLADDR=200000,CMLSIZE=25000000

## CMFIX or CMLFIX Parameters: GETMAIN Memory Pool Fixed Location

These parameters apply only to BS2000 environments running Sockets versions less than 2.2.

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
| whether the GETMAIN memory pool must have a fixed location or not |  |
CMFIX | above the 16MB line | YES | NO | NO
CMLFIX | below the 16MB line | YES | NO | NO

Note
Use these parameters only if required by an installation site, in which case the site will provide the needed value.

The ..FIX parameter is ignored if the corresponding ..SIZE parameter value is 0.

These parameters are involved with setting all required memory into a common memory pool for use by associated tasks on BS2000 above (CMFIX) or below (CMLFIX) the 16 megabyte line. This parameter specifies whether the memory pool is at a fixed location or not:

Value | The application's GETMAIN memory pool . . .
--- | ---
NO | need not be located at the same start address in the subtask as in the main task.
YES | must be located at the same start address in the subtask as in the main task.

Note
A subtask depends on the application. An example of this is Adabas Review in local mode.

#### Specific Product Recommendations

For Entire Net-Work 6 (mainframe), Software AG recommends setting the values of both the CMFIX and CMLFIX parameters to "YES".

#### Examples

The following example allows for three (3) megabytes of user storage above 16 megabytes in the address range X'2000000' to X'4FFFFFF'. This address range will also be used by the subtask:

    ADARUN PROG=ADANUC,CMADDR=2000000,CMSIZE=2500000,CMFIX=YES

The following example allows for three (3) megabytes of user storage below 16 megabytes in the address range X'200000' to X'4FFFFF'. This address range will also be used by the subtask:

    ADARUN PROG=ADANUC,CMLADDR=200000,CMSIZE=2500000,CMFIX=YES

## CMSCOPE or CMLSCOPE Parameters: GETMAIN Memory Pool Scope

These parameters apply only to BS2000 environments running Sockets versions less than 2.2.

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
| access to the GETMAIN memory pool |  |
CMSCOPE | above the 16MB line | GROUP | GLOBAL | GROUP
CMLSCOPE | below the 16MB line | GROUP | GLOBAL | GROUP

Note
These parameters should only be used if required by an installation site, in which case the site will provide the needed value.

The ..SCOPE parameter is ignored if the corresponding ..SIZE parameter value is 0.

These parameters are involved with setting all required memory into a common memory pool for use by associated tasks on BS2000 above (CMSCOPE) or below (CMLSCOPE) the 16 megabyte line. This parameter specifies accessibility to the memory pool:

Value | Meaning
--- | ---
GROUP | The GETMAIN common memory pool can only be accessed by other tasks using the same user ID.
GLOBAL | The GETMAIN common memory pool can only be accessed by all user IDs in the system.

#### Specific Product Recommendations

For Entire Net-Work 6 (mainframe), Software AG recommends setting the values of the CMSCOPE and CMLSCOPE parameters to "GROUP".

#### Examples

The following example allows for three (3) megabytes of user storage at the next available megabyte boundary above the 16 megabyte line accessible to tasks with the same user ID.

    ADARUN PROG=ADANUC,CMSIZE=3M,CMSCOPE=GROUP

The following example allows for three (3) megabytes of user storage at the next available megabyte boundary below the 16 megabyte line accessible to tasks with the same user ID.

    ADARUN PROG=ADANUC,CMLSIZE=3M,CMLSCOPE=GROUP

## CMSIZE or CMLSIZE Parameters: GETMAIN Memory Pool Use and Size

These parameters apply only to BS2000 environments running Sockets versions less than 2.2.

Parameter | Specify . . . | Minimum | Maximum | Default
--- | --- | --- | --- | ---
| whether the GETMAIN is performed in a common memory pool and if so, its size in bytes (decimal) |  |  |
CMSIZE | above the 16MB line | 0 | address-limit | 0
CMLSIZE | below the 16MB line | 0 | address-limit | 0

Note
These parameters should only be used if required by an installation site, in which case the site will provide the needed value.

These parameters are involved with setting all required memory into a common memory pool for use by associated tasks on BS2000 above (CMSIZE) or below (CMLSIZE) the 16 megabyte line. These parameters determine whether a common memory pool is used and if so, its size:

- If the ..SIZE parameter value is 0, the default, the required application memory is obtained in the class 6 memory of the system.

- If the ..SIZE parameter value is not 0, the required application memory is obtained in a common memory pool of the specified size rounded up to the next megabyte.

#### Specific Product Recommendations

For Entire Net-Work 6 (mainframe) running BS2000 Sockets earlier than version 2.2, Software AG recommends setting the CMSIZE parameter to "31M" and the CMLSIZE parameter to "4096K".

#### Examples

The following example allows for three (3) megabytes of user storage at the next available megabyte boundary above the 16 megabyte line accessible to tasks with the same user ID.

    ADARUN PROG=ADANUC,CMSIZE=3M,CMSCOPE=GROUP

The following example allows for three (3) megabytes of user storage at the next available megabyte boundary below the 16 megabyte line accessible to tasks with the same user ID.

    ADARUN PROG=ADANUC,CMLSIZE=3M,CMLSCOPE=GROUP

## CT Parameter: Command Timeout Limit

Parameter | Specify . . . | Minimum | Maximum | Default
--- | --- | --- | --- | ---
CT | the maximum time (seconds) for interregion communication of results from Adabas to the user. | 1 | 2147483647 | 60

For Adabas Review, this is the maximum number of seconds (more precisely, units of 1.048576 seconds) that can elapse from the time an Adabas Review hub command has been completed until the results are returned to the user through the interregion communication (operating-system-dependent).

This parameter is used to prevent a command queue element and attached buffer from being held for a long period of time for a user who has terminated abnormally.

Possible causes of a command timeout are

- user region is swapped out or cannot be dispatched;

- user is canceled;

- user has low priority in high activity system.

If the CT limit is exceeded,

- the command queue element and attached buffer are released;

- a message ADAM93 is printed; and

- if the user has not terminated, response code 254 (ADARSP254) is returned to the user program.

#### Example

The following example permits about 30 seconds to obtain a result through interregion communication from the Adabas Review hub

    ADARUN PROG=ADAREV,CT=30

## FORCE Parameter: Allow Nucleus Database ID or Review Hub Table Entry Overwrite

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
FORCE | whether the nucleus or Adabas Review hub can overwrite an existing ID table entry. | YES | NO | NO

If running Adabas Review, this indicates whether the Adabas Review hub can overwrite an existing ID table entry. When a Review hub starts up, ADARUN scans the ID table to ensure that no entry exists for the Review hub. You can use the FORCE parameter to indicate whether the Review hub can overwrite an existing ID table entry.

The ID table entry is derived from the database ID and the job name. For Adabas Review, the ID table entry is derived from the Review hub ID (REVIEW=). The ID table entry is deleted when the nucleus terminates normally.

The FORCE parameter allows the nucleus or Adabas Review hub to overwrite the existing ID table entry and access the database.

| Warning: Do not use the FORCE parameter unless absolutely necessary, or the integrity of the database could be lost. Ensure that no nucleus or Review hub is active for the ID table entry being overwritten.

Value | Meaning
--- | ---
YES | The nucleus or Adabas Review hub that is starting can overwrite an existing ID table entry. FORCE=YES is required when restarting a session that terminated abnormally with an ADAM98 message. In this case, the ID table still contains an active entry for the nucleus or Review hub. Overwriting the existing entry by specifying FORCE=YES prevents further communication to the overwritten nucleus or hub and causes loss of cross-memory environment resources, which cannot be restored until the next IPL.
NO | (default) If the ID table contains an entry for the nucleus or Adabas Review hub that is starting, the nucleus is denied access to the database or the Review hub is not permitted to start.

Note
In an Adabas Cluster Services or Adabas Parallel Services environment, the FORCE parameter applies to the NUCID, rather than the database ID, because a cluster nucleus builds an ID table entry for the NUCID.

A data integrity block (DIB) entry will only be removed once the ID Table initialization has been successful. Therefore, you must set IGNDIB and FORCE both to "YES" if either of the following occur:

- You receive a PARM ERROR 26 after parameter settings IGNDIB=NO and FORCE=YES were applied;

- You receive a PARM ERROR 23 after parameter settings IGNDIB=YES and FORCE=NO were applied.

#### Examples

The following example specifies that if the ID table contains an active entry for DBID 7, overwrite the entry.

    ADARUN PROG=ADANUC,FORCE=YES,DBID=7

The following example specifies that if the ID table contains an active entry for the Adabas Review hub, overwrite the entry.

    ADARUN PROG=ADAREV,FORCE=YES,REVIEW=202

## GROUPS Parameter: User Group Interprocess Communication

This parameter applies to the BS2000 operating system only.

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
GROUPS | whether BS2000 interprocess communication is limited to users with the same logon ID. | YES | NO | NO

This parameter limits the accessibility of ADARER and its ID table (IDT) to a group of users with the same logon ID.

Value | Meaning
--- | ---
YES | Allows the user(s) access to the IDT that starts under the same logon ID as the Adabas nucleus. When initialized, the IDT is set to GROUPS=YES; all users (nuclei, utilities, Entire Net-work, and all user tasks) must therefore also specify GROUPS=YES in either the ADARUN statement or using the ADALNK parameters.
NO | The default setting. All users on one machine have access to this IDT, even if they are logged on under a different logon ID.

Note
More than one IDT with the same name can be used if one is set to GROUPS=NO (the default) and the rest specify GROUPS=YES.

#### Example

The following example allows BS2000 users access to the IDT that starts under the same logon ID as this Adabas nucleus.

    ADARUN PROG=ADANUC,DBID=11,GROUPS=YES

## IDTNAME Parameter: Define ID Table Name

This parameter applies to the BS2000 operating system only.

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
IDTNAME | an alternate ID table. | ADAccccc | ADABAS5B

Defines a name for an (alternate) Adabas environment. The name must be eight characters long and must begin with the characters "ADA".

Note
All users of the new ID table must include the IDTNAME in either the ADARUN statement or ADALNK parameters.

#### Specific Product Recommendations

For Entire Net-Work 6 (mainframe), Software AG recommends setting the value of the IDTNAME parameter to "ADABAS5B".

#### Example

The following example defines the name ADAOURDB for the second Adabas environment.

    ADARUN PROG=ADANUC,IDTN=ADAOURDB

## LU Parameter: Length of Intermediate User Buffer Area

Parameter | Specify . . . | Minimum | Maximum | Default
--- | --- | --- | --- | ---
LU | the size of the intermediate user buffer area. | none | none (see note 1) | 65535 (see note 2)

The LU parameter is optional. The size specified must be large enough to accommodate all Adabas control information (204 bytes), all user buffers (format, record, search, value, ISN) that may be required for any given Adabas command, plus any user information passed from Adabas link routines to nucleus user exits. If the ADALNK has user exits, the addresses of the ACB and each buffer passed will be stored in this space. Also, if the ADALNK has declared LUSIZE and has user exits, this buffer size plus 64 bytes will also be stored in this space.

If the multifetch/prefetch option or a utility that needs large record/ISN buffers is to be used during the session, the setting of LU must be large enough to contain the buffers needed.

If you are using the ADARPD IQETBBROKERID NET communication (used with Event Replicator for Adabas), make sure that the webMethods EntireX Broker NET definition parameter IUBL is set to a value as large as the setting of this LU ADARUN parameter.

Notes:

1. An error occurs if the LU parameter specifies a value greater than the byte count implied by the NAB (number of attached buffers) parameter. LU cannot exceed a value greater than that produced by the following calculation: `(NABvalue x 4096)`. For more information about the NAB parameter, read NAB: Number of Attached Buffers, in Adabas Operations Manual.
2. Due to the length of the record buffer of the utilities that need the nucleus, e.g., ADAULD, the default value is set to 65,535. If the value of LU is less than 65,535 for an Adabas session, a response code will occur when such a utility is running.

The LU parameter syntax is:

    LU={ n | 65535 }

#### Specific Product Recommendations

- For Event Replicator Server databases running with Adabas 8, the LU parameter must be greater than or equal to 167,000.

  In addition, if data is sent through Entire Net-Work from one or more Adabas nuclei to an Event Replicator Server, the Entire Net-Work LU parameter must be greater than or equal to the LU parameter setting for the Event Replicator Server itself (greater than or equal to 167,000).

- The ADACHK utility can use large record buffer lengths when making nucleus calls to verify spanned Data Storage records or an index structure with many levels. If this is the case, the settings of your LU and NAB ADARUN parameters may need to be increased.

- For an Adabas nucleus running with the ADARUN REPLICATION=YES parameter, ensure the LU ADARUN parameter is set to a value greater than or equal to 70000.

- For an Adabas Audit Server, the LU parameter must be greater than or equal to 167,000.

  In addition, if audit data is sent through Entire Net-Work from one or more Adabas nuclei to an Adabas Audit Server, the Entire Net-Work LU parameter must be greater than or equal to the LU parameter setting for the Adabas Audit Server itself (greater than or equal to 167,000).

#### Example

The following example runs the Adabas nucleus with an Adabas intermediate user buffer area of 20,000 bytes.

    ADARUN PROG=ADANUC,LU=20000

## NAB Parameter: Number of Attached Buffers

Parameter | Specify . . . | Minimum | Maximum | Default
--- | --- | --- | --- | ---
NAB | the number of attached buffers to be used. | 1 | varies, depending on the amount of available virtual storage | 16

The NAB parameter defines the number of attached buffers to be used during the session. An attached buffer is an internal buffer used for interregion communication. It is required in all environments. Adabas allocates an attached buffer pool with a size equal to the value of NAB multiplied by 4096 bytes.

Note
The allocation for buffers in the attached buffer pool is done in 256 byte slots; this means that each allocation is rounded to a multiple of 256. For example, if a size of 300 bytes is needed, the allocated space is 512 bytes.

You may specify as many attached buffers as fit into the available virtual storage.

In environments running in 31-bit addressing mode, the attached buffer pool space is allocated above the 16-MB line.

The NAB parameter syntax is:

    NAB={ n | 16 }

#### Specific Product Recommendations

- For Event Replicator Server databases, set parameter NAB to a value greater than or equal to: `41 * 10 * the-number-of-Adabas-nuclei-sending-data-to-the-Event-Replicator-Server`.

  For example, if one Adabas nucleus will be sending data to the Event Replicator Server, set the NAB parameter greater than or equal to 410 (for example NAB=420).

- If the Event Replicator Server is set to support updates by multiple concurrent users to Adabas targets (when the NPADACALLS initialization parameter is set to any value greater than "1"), consider adjusting the value of this parameter in the target Adabas nucleus to ensure the target nucleus can handle updates from multiple concurrent users.

- If data is sent through Entire Net-Work from one or more Adabas nuclei to an Event Replicator Server, the Entire Net-Work NAB parameter must also be set to a value greater than or equal to: `41 * 10 * the-number-of-Adabas-nuclei-sending-data-to-the-Event-Replicator-Server`.

- Users of the Adabas Review hub should read Storage Requirements in the Adabas Review Concepts Manual for more information about the space requirements of the Command Queue for Adabas Review.

- The ADACHK utility can use large record buffer lengths when making nucleus calls to verify spanned Data Storage records or an index structure with many levels. If this is the case, the settings of your LU and NAB ADARUN parameters may need to be increased.

- For an Adabas Audit Server, set parameter NAB to a value greater than or equal to:

      41 * 10 * the-number-of-Adabas-nuclei-sending-data-to-the-Adabas-Audit-Server

  For example, if one Adabas nucleus will be sending data to the Adabas Audit Server, set the NAB parameter greater than or equal to 410 (e.g. `NAB=420`).

  If data is sent through Entire Net-Work from one or more Adabas nuclei to an Adabas Audit Server, the Entire Net-Work NAB parameter must also be set to a value greater than or equal to:

      41 * 10 * the-number-of-Adabas-nuclei-sending-data-to-the-Adabas-Audit-Server

#### Example

The following example runs the Adabas Review hub nucleus with 50 attached buffers.

    ADARUN PROG=ADAREV,NAB=50

## NC Parameter: Number of Command Queue Elements

Parameter | Specify . . . | Minimum | Maximum | Default
--- | --- | --- | --- | ---
NC | the maximum number of command queue elements. | 20 | 32767 | 200

The number of command queue elements (CQEs) established for the Adabas or Review hub session determines the maximum number of Adabas commands that may be queued or be in process at any one time during the session.

Each call from the Adabas nucleus is assigned a CQE. The CQE is released when the user receives the results of the command, the Adabas Review hub has processed the command, or the user has been timed out..

192 bytes are required for each CQE.

Software AG recommends that you set NC high enough to allow one command per active user for possible synchronization during execution of the online SAVE database function of the ADASAV utility.

The Adabas session statistics or Adabas Online System can be used to tune this parameter for the next session.

For more information about the space requirements of the Command Queue for Adabas Review, refer to .

#### Specific Product Recommendations

- For Event Replicator Server databases, set parameter NC to a value greater than or equal to: `10 * the-number-of-Adabas-nuclei-sending-data-to-the-Event-Replicator-Server`. For example, if one Adabas nucleus will be sending data to the Event Replicator Server, set the NC parameter greater than or equal to 10 (for example NC=20).

- If data is sent through Entire Net-Work from one or more Adabas nuclei to an Event Replicator Server, the Entire Net-Work NC parameter must also be set to a value greater than or equal to: `10 * the-number-of-Adabas-nuclei-sending-data-to-the-Event-Replicator-Server`.

- If the Event Replicator Server is set to support updates by multiple concurrent users to Adabas targets (when the NPADACALLS initialization parameter is set to any value greater than "1"), consider adjusting the value of this parameter in the target Adabas nucleus to ensure the target nucleus can handle updates from multiple concurrent users.

- For an Adabas Audit Server, set parameter NC to a value greater than or equal to:

      10 * the-number-of-Adabas-nuclei-sending-data-to-the-Adabas-Audit-Server

  For example, if one Adabas nucleus will be sending data to the Adabas Audit Server, set the NC parameter greater than or equal to 10 (e.g. `NC=20`).

  If data is sent through Entire Net-Work from one or more Adabas nuclei to an Adabas Audit Server, the Entire Net-Work NC parameter must also be set to a value greater than or equal to:

      10 * the-number-of-Adabas-nuclei-sending-data-to-the-Adabas-Audit-Server

#### Example:

Run the Adabas nucleus with a maximum of 500 elements in the command queue.

    ADARUN PROG=ADANUC,NC=500

The following example runs the Adabas Review hub nucleus with a maximum of 500 elements in the command queue.

    ADARUN PROG=ADAREV,NC=500

## PROGRAM Parameter: Program to Run

Parameter | Specify: | Possible Values | Default
--- | --- | --- | ---
PROGRAM | the program to be executed. | see table below | USER

This parameter specifies what to execute. The possible values are described in the following table:

Specify: | To start:
--- | ---
ADACOM | an ADACOM task (used in Adabas Cluster Services and Adabas Parallel Services environments) For more information, refer to your Adabas Cluster Services and Adabas Parallel Services documentation.
ADANUC | an Adabas nucleus For more information about executing an Adabas nucleus, read Adabas Session Execution, in the Adabas Operations Manual.
ADAREV | an Adabas Review hub. Specify this in conjunction with the ADARUN REVIEW parameter. For more information, refer to your Adabas Review documentation.
NETWRK | an Entire Net-Work node For more information, refer to your Entire Net-Work documentation.
RENTUSER | a user program to be run using a reentrant Adabas batch/TSO link routine. For more information, refer to description of the Adabas TP monitor installation in your Adabas installation documentation.
USER | a user program to be run using a non-reentrant Adabas batch/TSO link routine. For more information, read Linking Applications to Adabas, in the Adabas Operations Manual
utility-name | an Adabas utility Specify an Adabas utility for utility-name. For more information, refer to the Adabas Utilities Manual.

#### Examples

The following example specifies that an Adabas nucleus is running.

    ADARUN PROGRAM=ADANUC

The following example specifies that an Adabas Review hub is running.

    ADARUN PROGRAM=ADAREV, REVIEW=202

The following example specifies that an Entire Net-Work node is running.

    ADARUN PROGRAM=NETWRK

## SVC Parameter: SVC Number

This parameter applies to the z/OS operating environment only.

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
SVC | the Adabas SVC number or Adabas Review hub SVC number to be used for the session. | see text | 249

The SVC number is specified as an integer. It must correspond to the number used for the Adabas SVC at your installation.

The Adabas SVC or Adabas Review hub SVC are used to perform various Adabas internal functions under z/OS.

Valid SVC values are between 200 and 255.

#### Example

The following example runs an Adabas session under z/OS using SVC 202 for the Adabas SVC.

    ADARUN PROG=ADANUC,SVC=202

## TARGETID Parameter: Entire Net-Work Target ID

Parameter | Specify . . . | Minimum | Maximum | Default
--- | --- | --- | --- | ---
TARGETID | the unique Entire Net-Work target ID for this node. | 1 | 65535 | 1

The TARGETID parameter is an optional ADARUN parameter that specifies the unique Entire Net-Work target ID of a node. It is synonymous with the Adabas ADARUN DBID parameter.

All target IDs used by Entire Net-Work, Adabas (database IDs), Natural global buffer pools, etc., must be unique throughout all Entire Net-Work nodes. In particular, the Entire Net-Work target ID must not coincide with any database ID used in the network, with the exception of isolated databases that are defined for local availability only and are therefore unknown to Entire Net-Work. For more information about global target IDs, read .

#### Example

The following example specifies an Entire Net-Work target ID of 12 for a node.

    ADARUN TARGETID=12

## TASKCTGY Parameter: Adabas Batch/TP Task Category Control

This parameter applies in BS2000 operating environments only.

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
TASKCTGY | the Adabas task category. | BATCH | TP | BATCH

BS2000 TP (interactive processing) environments favor TP-processing tasks over batch tasks. By default, Adabas has batch status. You can use the TASKCTGY parameter to assign TP-processing priority to the Adabas nucleus.

Value | Meaning
--- | ---
BATCH | (default) The nucleus retains batch status.
TP | Issues a TINF macro to force the Adabas nucleus to TP status.

#### Example

The following example forces the nucleus to TP-processing status.

    ADARUN PROG=ADANUC,TASKCTGY=TP

## TCPURL Parameter: TCP/IP Universal Resource Locator

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
TCPURL | the universal resource locator (URL) for the TCP/IP link. | (see text) | none

If TCPIP=YES, you can specify the information required to activate the direct TCP/IP link to the Adabas nucleus. The parameter value is a 20-byte address that conforms to the RFC specification for universal resource locators (URLs):

    TCPURL=api-name:[//]stackid:port-number[:logging-setting[:allowipv6-setting]]

where:

api-name | A required three-character value identifying the application programming interface (API) to use. APIs BS2, HPS, CNS, EZA, and OES are currently supported.
stackid | A one to eight-character value identifying the stack to use: For BS2, no value is needed. For CNS, no value is needed. For EZA, specify the TCPI stack ID of the VSE TCP/IP job. For HPS, specify the name of the TCP/IP started task or job. For OES on systems running a single TCP/IP stack, no value is needed. On systems running multiple TCP/IP stacks, specify the name of the TCP/IP started task or job. (No value is needed on systems with only one TCP/IP stack.)
port-number | A one to five-digit number in decimal notation.
logging-setting | A one-character setting indicating whether or not logging should be performed. Valid values are "Y" or "N"; a setting of "Y" turns logging on.
allowipv6-setting | A one-character setting indicating whether or not IPv6 addresses can be used. Valid values are "Y" or "N"; a setting of "Y" indicates that IPv6 addresses can be used.

Note
The forward slashes ("//") are optional and cannot be specified in z/VSE environments.

#### Example 1

The following examples run Adabas with a direct TCP/IP link to the nucleus.

    ADARUN PROG=ADANUC,TCPIP=YES,TCPURL=OES://:12216
    ADARUN PROG=ADANUC,TCPIP=YES,TCPURL=HPS://TCPLPAR1:12213
    ADARUN PROG=ADANUC,TCPIP=YES,TCPURL=EZA://66:2112:N:Y

#### Example 2

The following example runs Adabas with a direct TCP/IP link to the nucleus and with logging turned on.

    ADARUN PROG=ADANUC,TCPIP=YES,TCPURL=OES://:12216:Y

#### Example 3

The following example runs Adabas with a direct TCP/IP link to the nucleus and with logging turned on for a system with multiple TCP/IP stacks. In this example, the TCP/IP stack with the started task or job name of TCPIPMVS is requested.

    ADARUN PROG=ADANUC,TCPIP=YES,TCPURL=OES://TCPIPMVS:12216

#### Example 4

The following example runs Adabas with a direct TCP/IP link to the nucleus and allows IPv6 addresses to be used.

Note
Note if you choose not to specify the logging setting (logging-setting), but to specify the IPv6 setting (allowipv6-setting), you must still specify the colons for both the logging and IPv6 settings. This is why there are two colons between "12216" and "Y" in the following example.

     ADARUN PROG=ADANUC,TCPIP=YES,TCPURL=OES://:12216::Y

#### Example 5

The following example runs Adabas with a direct TCP/IP link to the nucleus in a z/VSE environment.

     ADARUN PROG=ADANUC,TCPIP=YES,TCPURL=CNS::12217

#### Example6

The following example runs Adabas with a direct TCP/IP link to the nucleus in a BS2000 environment.

     ADARUN PROG=ADANUC,TCPIP=YES,TCPURL=BS2://:12217

## ZIIP Parameter: Activate Usage of Adabas for zIIP

The ZIIP parameter controls whether Adabas activates Adabas for zIIP (AZPAD).

Note
Adabas for zIIP requires its own license file (AZPAD), in addition to the standard Adabas license file. If the AZPAD license file is missing or found invalid, Adabas will start but will run as if ZIIP=NO had been specified.

Parameter | Specify . . . | Possible Values | Default
--- | --- | --- | ---
ZIIP | whether or not to activate Adabas for zIIP. | YES | NO | NO

Value | Meaning
--- | ---
YES | Usage of Adabas for zIIP is enabled. Adabas offloads CPU time from the general processors to System z Integrated Information Processors (zIIP). The purpose of this configuration is to reduce the CPU consumption on the general processors.
NO | The default setting. Usage of Adabas for zIIP is disabled. Adabas runs without the option to offload CPU time to zIIPs.

#### Dynamic Modification

If Adabas was started with ZIIP=YES, the setting of the ZIIP parameter can be changed at runtime - that is, set to NO and subsequently back to YES - using the from the operator console, the ZIIP function, or the Modify Parameters menu of Adabas Online System.

If Adabas was started with ZIIP=NO, the setting of the ZIIP parameter cannot be changed to YES later in this session.

ZIIP may be set differently for different nuclei in a cluster (it is a local, modifiable parameter).

#### Specific Product Recommendations

- Event Replicator Server databases and Adabas nuclei running with ADARUN `REPLICATION=YES` support the use of Adabas for zIIP subject to the availability of the appropriate license file (AZPAD).

- The Adabas Audit Server and Adabas nuclei running with `ADARUN AUDITING=YES` support the use of Adabas for zIIP subject to the availability of the appropriate license file (AZPAD).

#### Example

The following example activates the use of Adabas for zIIP.

    ADARUN PROG=ADANUC,ZIIP=YES

## Example

The following is an example of an Entire Net-Work specification of ADARUN parameters:

    ADARUN PROG=NETWRK,TARGETID=3333,NAB=20,NC=50,LU=65535,SVC=251

For this node, Entire Net-Work:

- runs with a target ID of 3333;

- allocates an attached buffer pool for 20 interregion communication buffers;

- processes as many as 50 requests simultaneously;

- uses the SVC 251; and

- ensures adequate buffer size for Adabas compatibility by setting the value of the LU parameter to 65535. For more information about the LU parameter, read about it in the Adabas Operations documentation.

### On this page

- Specifying ADARUN Parameters
- CMADDR and CMLADDR Parameters: GETMAIN Memory Pool Start Address
- CMFIX or CMLFIX Parameters: GETMAIN Memory Pool Fixed Location
- CMSCOPE or CMLSCOPE Parameters: GETMAIN Memory Pool Scope
- CMSIZE or CMLSIZE Parameters: GETMAIN Memory Pool Use and Size
- CT Parameter: Command Timeout Limit
- FORCE Parameter: Allow Nucleus Database ID or Review Hub Table Entry Overwrite
- GROUPS Parameter: User Group Interprocess Communication
- IDTNAME Parameter: Define ID Table Name
- LU Parameter: Length of Intermediate User Buffer Area
- NAB Parameter: Number of Attached Buffers
- NC Parameter: Number of Command Queue Elements
- PROGRAM Parameter: Program to Run
- SVC Parameter: SVC Number
- TARGETID Parameter: Entire Net-Work Target ID
- TASKCTGY Parameter: Adabas Batch/TP Task Category Control
- TCPURL Parameter: TCP/IP Universal Resource Locator
- ZIIP Parameter: Activate Usage of Adabas for zIIP
- Example