Don't know if I understood right, I think the beginning should look like this:
from __future__ import division
import sys
sys.path.append("C:/Program Files/SAS/JMPPRO/17/Scoring/Python/")
import jmp_score as jmp
from math import *
import numpy as np
You probably need to adapt the path to your installation directory.
Georg