ok, I've started looking at this again and it seems that the EFM is not called when the buffer is an MVS DataSet and FTP. BTW, I found a bug in the code, here's the fix.
_str _getFileTypeFromQualifier(_str buf_name,_str dsname='')
{
if (dsname=='') {
if (buf_name=='' || !_DataSetIsFile(buf_name)) return('');
dsname=_DataSetNameOnly(buf_name);
}
_str dataset_type = lowcase(get_extension(dsname,true)); // TRUE WAS MISSING SO NO DOT COMING BACK (DEFAULT)
if (dataset_type==".asm") {
return("asm390");
}
if (substr(dataset_type,1,1)==".") {
return(substr(dataset_type,2));
}
return("");
}
Also, how do I stop SlickEdit from deleting the temporary file from the FTP directory when the buffer is closed? I'm thinking I could use that as a project directory for tagging when using FTP on MVS mainframe projects.