That's the expected behavior. STORAGE is documented that the first arg is a string containing the hexadecimal address. A decimal number will be converted to a string in this case but treated as hexadecimal.
-----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gorlinsky Sent: Monday, December 19, 2022 10:51 AM To: [email protected] Subject: [EXTERNAL] Re: Rexx function STORAGE with weird behavior on Netview Yes they all returned the appropriate values ... But unexpected since 10+0 should have been passed as a decimal number and not a string ... maybe this is IBM REXX v ooREXX ... don't know... 10+4 is 14 decimal and storage treated it as 14 hex just not the behavior I have seen with other REXX implementations... more experimenting ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
