Record Commands

recget –table <name> -keys <key1,key2,...>

The recget command will retrieve each of the records with the specified key(s) and display them to the standard out.

recdelete –table <name> -keys <key1,key2,...> [-domaxwork]

The recdelete command will delete each of the records with the specified keys.  If the –domaxwork option is specified non-existent records will be quietly ignored, otherwise if any of the specified keys are not in the table the entire command will fail and no records will be deleted.

recadd –table <name> -file <file> [-estnumrecords <n>] <csv-options>

The recadd command will add records to a table from the specified file. The estnumrecords option is used to give the server a hint as to the size of the load so that it can choose the optimal method of loading.  csv-options is as defined for the tblload command.

recreplace –table <name> -file <file> <csv-options>

The recreplace command will replace records in a table from a specified file. csv-options is as defined for the tblload command.  A key field must be specified, auto-generated keys are not allowed.