// Run the stored procedure var myStproc = myConn.storedProc("sp_employees"); // Store the result set var myResultSet = myStproc.resultSet(); // Iterate through each return of the result set while(myResultSet.next()){ // Perform processing here } // Close the result set myResultSet.close();