Job Management Partner 1/Base User's Guide
Function
The Jisprt command edits and displays the records in the data file in the specified format: the dump, character, or hexadecimal format.
This command stops displaying the records when:
- The command has displayed all the records in the data file.
- The command has displayed all the records in the specified range.
- The command has displayed as many records as specified in record-count.
Format
Jisprt [-t type] {[-k key-item][-s start-key-value[:x]][-e end-key-value[:x]]|-d} [-c record-count] file-name
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
Command directory
- In Windows:
- installation-folder\bin\
- In UNIX:
- /opt/jp1base/bin/
Arguments
-t type
In type, specify any of the following keywords as the record display format:
- d (dump format)
- c (character format)
- h (hexadecimal format)
If you omit this option, the command assumes that d is specified.
-k key-item
In key-item, specify the key item name of the key on which the record display order is based. If you omit this option, the command sorts records by primary keys.
-s start-key-value[:x]
In start-key-value, specify the value of the first key from which the command displays keys. If you omit this option, the command displays keys starting from the one having the smallest value. If you specify the value in hexadecimal, add the suffix :x.
-e end-key-value[:x]
In end-key-value, specify the value of the last key to which the command displays keys. If you omit this option, the command displays keys up to the one having the largest value. If you specify the value in hexadecimal, add the suffix :x.
-d
Specify this option to display records in the order in which they are physically contained in the data file. You can only specify this option when the -k key-item, -s start-key-value[:x] and -e end-key-value[:x] options are not specified.
-c record-count
In record-count, specify the number of records you want to display.
file-name
Specify the name of the file you want to display.
Note
If you want to redirect the record information to a text file, specify the destination file name after >.
- Example:
Jisprt sample > prt.txt
Return values
0 Normal end 1 Abnormal end
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.