I'd use a script like this to narrow down the problem:
// Create a log file on disk. Append each line to the end.
_LogFileName = "$desktop/JMP_log_file.txt";
// clear any old data and make sure the file exixts:
Save Text File( _LogFileName, Format( Today(), "h:m:s" ) || " starting\!n", Mode( "replace" ) );
addLog = Function( {txt},
Save Text File( _LogFileName, Format( Today(), "h:m:s" ) || " " || Char( txt ) || "\!n", Mode( "append" ) )
);
// example:
addlog( "begin loop" );
For( i = 1, i < 3, i += 1,
addlog( "looping " || Char( i ) )
);
addlog( "done" );
Open( _LogFileName, "script" ); // open in a script editor
After the crash, the file (on the desktop in this example) will show the last call to addlog on the last line of the file. After a couple of tries, you can probably narrow the problem down to a single statement. I'll guess it will be related to the network drive; be sure to add the filenames and such to the log file. Use char() to convert non-text values to text.
JMP should not be crashing; even if you figure out a work-around if would be great to report the problem to tech support, thanks!
edit 1: I'd be particularly suspicious of the S: drive map not being the same on both computers. Using a UNC name might be a workaround if that is the problem (\\server\path\file).
edit 2: I think there may be an issue with the formula column or the current row in the table as well. Something like this (untested) might be better:
datestamper = Long Date( Today() );
timestamp = MDYHMS( Today() );
dtname = New Table( "UserName",
add rows( 1 ),
New Column( "Time", Character, "nominal", set each value( timestamp ) )
);
dtname:Time << set data type( Numeric ) << Format( ("ddmonyyyy h:m:s"), Input Format( "mm/dd/yyyy h:m:s" ) );
dtname:Time << set data type( Character );
dtname << New Column( "Folder", Character, nominal, formula( Substr( :Time, 3, 7 ) ) );
dtname << runFormulas; // force the formulas to run now
foldername = Char( dtname:Folder[1] ); // explicit table and row subscript
path = ("S:\Lab\JMP\Results\Data\" || Char( foldername ) || "\");
Craige