Version 7.4.4
 —  Utilities  —

ADAZAP Syntax

graphics/util_adazap.png

This document covers the following topics:


Essential Parameters

MCODE

For security purposes, a mastercode is required to run the ADAZAP utility. Software AG provides the 8-byte mastercode on written request to authorized individuals.

ASSO | DATA | WORK

It is necessary to specify the physical dataset you wish to display or modify.

Top of page

Optional Parameters

LENGTH

The length of the data to be displayed. LENGTH cannot be specified if VER is specified, and the reverse.

The minimum number of bytes displayed is 16 since the lower address is rounded down to a 16-byte boundary and the upper address is rounded up to a 16-byte boundary.

OFFSET

This is the offset from the start of the block. The value must be smaller than or equal to the length of a block; that is, it must fall within the block. The default value is zero.

RABN

The relative Adabas block number (RABN) that is to be displayed or altered. The default is '1'.

REP

The replace data, which must be less than or equal to the verify data specified in the VER parameter. Up to 128 bytes of hexadecimal data may be specified.

VER

The verify data, which must be at least as long as the replace data. Up to 128 bytes of hexadecimal data may be specified.

Top of page

Examples

Example 1:

ADAZAP MCODE=master-code
       ADAZAP ASSO OFFSET=X'10',LENGTH=16

The default RABN=1 is used. ADAZAP displays the database name.

Example 2:

ADAZAP MCODE=master-code
ADAZAP WORK OFFSET=X'10'
ADAZAP      VER=X'C1C2'
ADAZAP      REP=X'C2C1'

The default RABN=1 is used. ADAZAP alters data in the Work dataset.

Top of page