zebra_records_retrieve returns -1 on error; 0 if OK