I am trying to execute DRAW Rexx code supplied as an example in IBM manual below
https://www.ibm.com/docs/en/db2-for-zos/11?topic=examples-sample-db2-rexx-application
Also I have not modified anything in the code, I have just copy pasted from the IBM manual to my mainframe dataset, just changing the special character (^ to /), example
From:
SQLCODE ^= 0
To:
SQLCODE \= 0
And I am getting the below error.
31 +++ BndSize = RightBnd - LeftBnd + 1
Error running DRAW, line 31: Bad arithmetic conversion
Error running DRAW, line 31: Bad arithmetic conversion
Could someone please help me.