PROTOCOL:fileset-local file extension Homepage › Clovertech Forums › Cloverleaf › PROTOCOL:fileset-local file extension Search for: This topic has 3 replies, 3 voices, and was last updated 4 years, 9 months ago by Stewart. Creator Topic January 16, 2020 at 8:47 am #114839 StewartParticipant 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? This topic was modified 4 years, 9 months ago by Stewart. Creator Topic Viewing 2 reply threads Author Replies January 16, 2020 at 9:09 am #114843 Keith McLeodParticipant 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. January 16, 2020 at 10:20 am #114858 Matthew BrophyParticipant 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. January 16, 2020 at 11:10 am #114861 StewartParticipant Thank you. Author Replies Viewing 2 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In