Hello! I am using UDB 8 in Z/OS and I am trying to execute this statement in SPUFI
It just doesn't work. Here is the error message:
Do I need to set something on? Or the command can't be executed in SPUFI?
Is there other command I can execute which will give me the same results?
thanks!
Karen
Code:
select dept, name, row_number() over() from staff
Code:
---------+---------+---------+---------+---------+---------+---------+--------- SELECT DEPT, NAME, ROW_NUMBER() OVER() FROM DBPROD.STAFF; ---------+---------+---------+---------+---------+---------+---------+--------- DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "(". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: , FROM INTO DSNT418I SQLSTATE = 42601 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNHPARS SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = 502 0 0 -1 39 0 SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X'000001F6' X'00000000' X'00000000' X'FFFFFFFF' X'00000027' X'00000000' SQL DIAGNOSTIC INFORMATION
Is there other command I can execute which will give me the same results?
thanks!
Karen
Comment