Release 10.1A: OpenEdge Data Management:
Database Administration

> ## RFUTIL AIMAGE QUERY qualifier

> Queries an AI file and displays information from the query.

> #### Syntax

>     rfutil db-name -C aimage query query-option by search-option search-value

> #### Parameters

> ``db-name``

> Specifies the database you are using.

> ``query-option``

> Specifies the information you want to gather about the AI extent. You can supply one of the options from Table 22–2.

> Table 22–2: AIMAGE QUERY options
> Query option | Value returned
> --- | ---
> EXTNUM | The extent number.
> STATUS | The status of the extent: FULL, LOCKED, BUSY, EMPTY.
> TYPE | The type of file: Fixed Length or Variable Length.
> SIZE | The size of the extent in 1K blocks.
> USED | The amount of the extent used in 1K blocks.
> NAME | The full filename of the extent.
> SEQUENCE | The sequence number.
> STARTDATE | The date and time after-imaging started writing to the extent.
> ALL | All of the above information.

> ``search-option``

> Specifies the how you are identifying the AI extent to query. Supply one of the options from column one of Table 22–3.

> ``search-value``

> Specifies the match criteria for the `search-option`. Supply the value indicated in column 2 of Table 22–3 that matches your `search-option`.

> Table 22–3: AIMAGE QUERY search options and values
> Search-option | Search-value
> --- | ---
> EXTNUM | Integer value. In a file named, `dbname.a` `n,` the EXTNUM is the value `n`.
> NAME | Character string. The extent file name.
> SEQUENCE | Integer value. The sequence number of the extent.

> #### Notes

> - The AIMAGE QUERY qualifier returns minimal output.

> - The output of the AIMAGE QUERY qualifier is intended to be used in automated after-imaging procedures.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095