I suspect this answer is a gross over simplification, but just opening a CSV (assuming the data is well structured) generating a report (JMP calls output reports), journaling the result and saving the journal isn't terribly complex.
JMP writes most of this for you. Just capture the scripts from the Source script in the opened file, and the report script from the variability report. Formatting the CSV prior to opening it in JMP is the hard part.
I hope this helps,
Byron
example: (past this in a JMP script window
path=get default directory();//gets dir of where this script is saved
//JMP writes this statement when it opens the file. Check the Source script in a JMP table from a CSV
dt=Open(
"C:\Program Files\SAS\JMPPRO\11\Samples\Import Data\Book1.csv",
// this file might be at a different location on your installation.
columns(
Column( "1", Numeric, nominal, Format( "Best", 10 ) ),//I made this col nominal for the example
Column( "2", Numeric, nominal, Format( "Best", 10 ) ),//I made this col nominal for the example
Column( "3", Numeric, Continuous, Format( "Best", 10 ) )
),
Import Settings(
End Of Line( CRLF, CR, LF ),
End Of Field( Comma, CSV( 1 ) ),
Strip Quotes( 0 ),
Use Apostrophe as Quotation Mark( 0 ),
Scan Whole File( 1 ),
Treat empty columns as numeric( 0 ),
CompressNumericColumns( 0 ),
CompressCharacterColumns( 0 ),
CompressAllowListCheck( 0 ),
Labels( 1 ),
Column Names Start( 1 ),
Data Starts( 2 ),
Lines To Read( "All" ),
Year Rule( "20xx" )
)
);
//jmp wrote the script for this variability chart. Just copy the script from the report
vc=dt<<Variability Chart(
Y( :Name( "3" ) ),
X( :Name( "1" ), :Name( "2" ) ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( Name( "Choose best analysis (EMS REML Bayesian)" ) ),
Std Dev Chart( 0 )
);
jvs=vc<<journal ;
//save the journal "jvs" to path, concatinated to, the file name
jvs << save journal( path || "testJRN.jrn" );
//or other convenient file types
jvs << save pdf( path || "testPDF.pdf" );
jvs << save picture( path || "testPNG.png", png );
jvs << Save Interactive HTML( path || "testHTML.htm" );
jvs << Save MSWord( path || "testDOC.doc" );
JMP Systems Engineer, Health and Life Sciences (Pharma)