If you only need a single value, you could also look into using a table variable. Depending on your use of the data, this might be appropriate for your situation. Another option to consider and gives you more insights and advances your knowledge of JMP!
Dan Obermiller