PARTITION BY not allowed in reference to window '%1'

Error constant SQLE_PARTITIONBY_NOT_ALLOWED
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The name of the window.
Severity 16
SQLCODE –948
SQLSTATE 42WA4
Sybase error code 13540
Probable cause

When an existing window name is referenced from an inline window specification, the inline specification must not have a PARTITION BY clause.