Session number is invalid (Error 1540)
Use a valid session number with
SET DATASESSION TO.