I'd like to run JMP from the commandline on a server ---- periodically the data will be dumped from a database and invoke a JMP script --- this script will format the data via Graph Builder --- It all appears to be working but I need a way to save the Graph Image to a file (... PDF would be fine) and close/exit JMP.....
Here is what I have; ----- the graph does not appear and no files created..... --- and I don't know how to close/exit JMP
//Open data table from QA system and create graph for Open Defects by severity and version number//
dt = Open("$SAMPLE_IMPORT_DATA/GalaxyFULL_TEST.xls");
// Build the visualization Graph to show severity of open defects//
wind = New Window( header,
Graph Builder(
.....................Graph Builder script goes here.................................
);
wind << save picture("c:\temp\Graphic.JPG", JPEG);
wind << Close Window;
Close( dt, No Save );