Converts the binary errorRecord value to a RECORD datatype value, based on the schema of the specified source stream.
recordDataToRecord (string sourceStreamName, binary errorRecord)
sourceStreamName is a string that provides the name of the stream from which the error record originated. To allow type checking of the return type, it must be an actual name, not a variable that carries the name. If this argument does not point to an existing stream, recordDataToRecord returns a NULL after setting an error flag to indicate that a bad argument has been specified.