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

Item Value
SQLCODE -948
Constant SQLE_PARTITIONBY_NOT_ALLOWED
SQLSTATE 42WA4
Sybase error code 13540
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The name of the window.

Probable cause 

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