Trying to get data from SQL server with stored procedure failed in JMP14 and succeed in JMP8 and JMP9.
in JMP14 there is an error:
JMP Alert: Unable to fetch results set.
JMP Alert
and there is no result table (show(t1); return "t1=.)
I get the same issue in JSL and with "Databse Open Table"
The stored procedure output countains few empty sets, which need to be skkiped. Apperntly the JMP8 is doing it automatcly, but not the JMP14.
SQL output
Using Python I overcome this issue by cursor.nextset() untill I get a set with values.
I tried variety of formats, including:
dbc = Create Database Connection(
"DSN=*******;UID=*****;PWD=*********;APP=JMP;WSID=SYS-CB2;DATABASE=Iserve;LANGUAGE=us_english;"
);
t1 = Execute SQL( dbc, "exec PL_RawData_restart '50110326','08/01/2018','08/16/2018' " );
RawData_dt=Open Database("DSN=*******;UID=****;PWD=*****;APP=JMP;WSID=SYS-CB2;DATABASE=Iserve;LANGUAGE=us_english", "exec PL_RawData_restart '48300134', '2018-07-17', '2018-07-31'");