X401 Statement can't be issued until the stored procedure has been called.
Either a DESCRIBE PROCEDURE or an ASSOCIATE LOCATOR statement has been executed prior to the CALL to the stored procedure.
Parent topic:
X400 - X449