Hitachi

JP1 Version 12 JP1/Base User's Guide


Jisinfo

Organization of this page

Function

The Jisinfo command displays information about the files that constitute an ISAM file and information about keys.

This command displays the following information contained in the key definition file:

Format

Jisinfo [-u] [-e] file-name

(The -e option is only available in UNIX.)

Required execution permission

In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)

In UNIX: Superuser or JP1/Base administrator permission

Command directory

In Windows:

installation-folder\bin\

In UNIX:

/opt/jp1base/bin/

Arguments

-u

Deleting or updating records increases the unused area for the data file and key file. If you specify this option, the command displays the percentage of the unused area size. If the percentage of the unused area size is high, you can use the file compression utility command to eliminate the unused area.

-e

This option is available for UNIX only.

Use this option to check the setting for ISAM file size capping. If ISAM file size capping is enabled, Reuse appears in the Key File Reuse field. If size capping is enabled in Windows, the function's status is always displayed.

file-name

Specify the name of the file for which you want to display the key definition information. If you do not specify the full path name of a file, the command assumes that the file is located in the current directory at the current drive. When you specify more than one file name, use at least one space to separate each file name. You can also use the wildcard character (*) to specify files.

In Windows, if you want to specify a file name that includes spaces, enclose the file name in double quotation marks (").

Example:

The following shows examples in Windows.

  • Specify all the files in the c:\data directory.

Jisinfo c:\data\*
  • Specify the file names beginning with SAMPLE in the c:\data directory.

Jisinfo c:\data\SAMPLE*

Notes

Return values

0

Normal end

1

Abnormal end