This function is used in conjunction with yaz_search( ) to specify the preferred record syntax for retrieval .