The first argument to STORAGE is a string. 16 would be wrong.

While it's possible that this won't fix it, the correct syntax would be:
CVT      = C2d(Storage('10',4))                /* point to CVT         */

From the TSO/E REXX Reference:
STORAGE returns length bytes of data from the specified address in storage. The 
address is a character
string containing the hexadecimal representation of the storage address from 
which data is retrieved.

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Paul Gorlinsky
Sent: Monday, December 19, 2022 8:52 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: Rexx function STORAGE with weird behavior on Netview

If you are trying to get the cut the address is x10 not 10 try 16 instead of 
10… boundary issue if you use 10… 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to