Chapter 3 of book, Using JMP, describes connecting to databases using JMP. From the main menu, select Help>Books>Using JMP. Search for DSN or look on page 134. There is some setup to define the machine data source. If it has been definde by another program it is likely just needing some setup.
The JMP Scripting Language, the chapter on Extending JMP shows multilpe methods to script data extraction.