Clovertech
› Clovertech Forums › Cloverleaf › PROTOCOL:fileset-local file extension
Currently these files are dropping with a .dat extension. I need this to be .hl7 instead. How do you set the file extension for this protocol?
Look in your $HCIROOT/contrib directory at fileset_numfile_out.tcl
Look at how this uses DRIVERCTL…
set dvr_ctl_str “{FILESET {{OBFILE $file_name}}}” msgmetaset $mh DRIVERCTL $dvr_ctl_str
This should help you in developing your filename schema.
assuming you’re calling this out in your inbound directory parse in a procedure
<p style=”text-align: left;”> foreach fileName $fileList { if { [regexp — {\.XXX$} $fileName] } { lappend newFileList $fileName } else { } }</p>
change .XXX to be whatever file extension you are using.
Thank you.