sep_put_val_by_index - get key value by index
int sep_put_val_by_index(tag_history,record_number,key_index,n_values,values)
tag of History File
Header Record Number computed using sep_get_subspace_pointers
Key Index of Header Key
Number of Values to be written in contiguos records
Header Values of type Key Type
Puts header value into header values file
return=sep_get_header_bytes(char *tag_history, int *n_bytes) i_byte=(record_number-1)*n_bytes+(key_index-1)*n_bytes_value sseek into the Header Format File at position i_byte srite2 into Header Format File from values
-1= if fails for other reasons
0= if successful
+1= if tag_history is a Sep77 History File
+2= if tag_history is a Sep3d History File but no matching Key Index is in Header Format File
sep3d