EncodeRfsQuery result := STD.File.EncodeRfsQuery STD.File.EncodeRfsQuery File.RfsEncodeQuery EncodeRfsQuery ( server, query ); server A null-terminated string containing the ip:port address for the remote file server. query A null-terminated string containing the query to send to the server. Return: RfsQuery returns a null-terminated string containing the result of the query. The EncodeRfsQuery function returns a string that can be used in a DATASET declaration to read data from an RFS (Remote File Server) instance (e.g. rfsmysql) on another node. Example: IMPORT Std; rfsserver := '10.173.207.1:7080'; rec := RECORD,MAXLENGTH(8192) STRING mydata; END; OUTPUT(DATASET(STD.File.EncodeRfsQuery( rfsserver, 'SELECT data FROM xml_testnh'),rec,CSV(MAXLENGTH(8192))));