jutil [-e=encryption_key] -info filename [-x] -load filename binary_sequential_file [-n] [-r|s] [-rs=#] -unload filename binary_sequential_file [-k=#] -loadtext filename line_sequential_file [-n] [-r|s] [-rs=#] -unloadtext filename line_sequential_file [-k=#] -loadr2 filename binary_sequential_file [-n] [-r|s] -shrink filename [-a] -check filename -rebuild filename [-a] [-f] -getimg filename -makeimg filename imgstring -gen [filelist] [directory] -convert filename directory |
iscrun -utility jutil [-e=encryption_key] -info filename [-x] -load filename binary_sequential_file [-n] [-r|s] [-rs=#] -unload filename binary_sequential_file [-k=#] -loadtext filename line_sequential_file [-n] [-r|s] [-rs=#] -unloadtext filename line_sequential_file [-k=#] -loadr2 filename binary_sequential_file [-n] [-r|s] -shrink filename [-a] -check filename -rebuild filename [-a] [-f] -getimg filename -makeimg filename imgstring -gen [filelist] [directory] -convert filename directory |
Options | |
-info | Displays file information. If "-x" was passed, then extended information is shown. The extended information includes the description of each key segment and the alternate collating sequence characters list. |
-load | Imports data from sequentialFile to jisamFile. JisamFile must exist. The data read from sequentialFile is appended to the existing records in JisamFile, unless the "-n" option is used. If "-n" option is used, then JisamFile is emptied before loading records. The "-rs" option allows to specify the sequentialFile record length. If the option is not used, then JUTIL assumes that the record length of sequentialFile is the same as the record length of JisamFile. If a unique key violation occurs, JUTIL behaves according to command line options as follows: • if "-r" was used, the jisamFile record is rewritten with the content of the SequentialFile record; • if "-s" was used, the duplicated record is skipped, and the loading process proceeds to the next record; • if neither "-r" nor "-s" options were used, the loading process aborts. |
-unload | Exports data from jisamFile to sequentialFile. If sequentialFile exists, it is overwritten. The "-k" option allows to specify which key must be used to read jisamFile. A value of 1 identifies the primary key, a value of 2 identifies the first alternate key, and so on. By default, data is read using the primary key. |
-loadtext | Imports data from line sequentialFile to jisamFile. jisamFile must exist. The data read from sequentialFile is appended to the existing records in JisamFile, unless the "-n" option is used. If "-n" option is used, then JisamFile is emptied before loading records. The "-rs" option allows to specify the sequentialFile record length. If the option is not used, then JUTIL assumes that the record length of sequentialFile is the same as the record length of JisamFile. JUTIL reads a new line from sequentialFile and then truncates the read data according to the record length. If a unique key violation occurs, JUTIL behaves according to command line options as follows: • if "-r" was used, the jisamFile record is rewritten with the content of the SequentialFile record; • if "-s" was used, the duplicated record is skipped, and the loading process proceeds to the next record; • if neither "-r" nor "-s" options were used, the loading process aborts. |
-unloadtext | Exports data from jisamFile to line sequentialFile. If sequentialFile exists, it is overwritten. The "-k" option allows to specify which key must be used to read jisamFile. A value of 1 identifies the primary key, a value of 2 identifies the first alternate key, and so on. By default, data is read using the primary key. |
-loadr2 | Imports data from the sequentialFile generated by Recover2 RM utility to the jisamFile. jisamFile must exist. The data read from sequentialFile is appended to the existing records in JisamFile, unless the "-n" option is used. If "-n" option is used, then JisamFile is emptied before loading records. If a unique key violation occurs, JUTIL behaves according to command line options as follows: • if "-r" was used, the jisamFile record is rewritten with the content of the SequentialFile record; • if "-s" was used, the duplicated record is skipped, and the loading process proceeds to the next record; • if neither "-r" nor "-s" options were used, the loading process aborts. |
-shrink | Compresses jisamFile by removing deleted records. If "-a" was passed, then no user confirmation is required. |
-check | Checks for file integrity. |
-rebuild | Repairs a corrupted file. Before replacing the corrupted file with the repaired file, it asks for user confirmation. If "-a" was passed, then no user confirmation is required. If "-f" was passed, then duplicated records are marked as deleted and the rebuild process completes. Without "-f" the first duplicated record found interrupts the rebuild process. A JIsam archive consists of two files: an index files and a data file. The rebuild process affects only the index file and doesn’t consider the data file. If the rebuild process fails, some temporary files may be left on disk. |
-getimg | Returns a string representing file characteristics. See Image String format below for details about the string format. |
-makeimg | Generates a new JIsam file according to the given image string. See Image String format below for details about the string format. |
-gen | Creates a new empty JIsam file. See JIsam file generation for details. |
-convert | Converts Micro Focus IDX3, IDX8 or CISAM indexed files to JIsam. See Micro Focus file conversion for details. |
jutil -e=i5C0B0L -unload CUSTOMERS custdata.txt |
iscrun -utility jutil -e=i5C0B0L -unload CUSTOMERS custdata.txt |
MaxRecSize, MinRecSize, NumKeys, [ NumSegs, Dups [ SegSize, SegOffset ] ... ] ... |
00108,00108,002,01,0,003,00000,02,1,002,00003,003,00005 |
option | number of digits tested | digits tested |
---|---|---|
-info | 2 | "-i" |
-load | 6 | "-load " |
-unload | 8 | "-unload " |
-loadtext | 6 | "-loadt" |
-unloadtext | 8 | "-unloadt" |
-loadr2 | 6 | "-loadr" |
-shink | 2 | "-s" |
-check | 3 | "-ch" |
-rebuild | 2 | "-r" |
-getimg | 4 | "-get" |
-makeimg | 2 | "-m" |
-gen | 4 | "-gen" |
-convert | 3 | "-co" |
Status | Meaning |
---|---|
0 | No errors |
3 | File is corrupt |
255 | Fatal error or incorrect command line |
iscclient -hostname <server-ip> -port <server-port> -utility jutil <arguments> |