Re: Re; Rexx function STORAGE with weird behavior on Netview

2022-12-20 Thread Seymour J Metz
: Re; Rexx function STORAGE with weird behavior on Netview Re: scripting: Not yet? https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibm-z-software-portal.ideas.ibm.com%2Fideas%2FZNETVIEW-I-42=05%7C01%7Csmetz3%40gmu.edu%7C8c8d7d2a5eab4dd1366408dae2dc9915

Re: Re; Rexx function STORAGE with weird behavior on Netview

2022-12-20 Thread Steve Horein
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] > Sent: Tuesday, December 20, 2022 10:58 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Re; Rexx function STORAGE with weird behavior on Netview > > On Tue, 20 Dec 2022 10:31:37 +, Jack Zukt wrote: > > >

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-20 Thread David Price
Try putting a line like numeric digits 20 somewhere before your first use of the storage function. Some of the storage function calculations need more than the default 9 digits' precision, depending on address values and memory contents. I've had inconsistent results when I've forgotten to set

Re: Re; Rexx function STORAGE with weird behavior on Netview

2022-12-20 Thread Seymour J Metz
] on behalf of Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Tuesday, December 20, 2022 10:58 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Re; Rexx function STORAGE with weird behavior on Netview On Tue, 20 Dec 2022 10:31:37 +, Jack Zukt wrote: > >The glitch was the N

Re: Re; Rexx function STORAGE with weird behavior on Netview

2022-12-20 Thread Jack Zukt
Hi, That was on a LINK provided by Sebastian Welton (thank you Sebastian): https://www.ibm.com/docs/en/z-netview/6.2.0?topic=overview-netview-restrictions-rexx-functions Regards, Jack On Tue, 20 Dec 2022 at 15:58, Paul Gilmartin < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On

Re: Re; Rexx function STORAGE with weird behavior on Netview

2022-12-20 Thread Paul Gilmartin
On Tue, 20 Dec 2022 10:31:37 +, Jack Zukt wrote: > >The glitch was the NETVIEW REXXSTRF value thas was set to the default >DISABLE. While we wait for an IPL, the OVERRIDE solves the issue. > Please describe OVERRIDE. Is that a parameter to NETVIEW? Star Trek trope: "Computer, access data

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-20 Thread Seymour J Metz
9d-dmarc-requ...@listserv.ua.edu> Sent: Monday, December 19, 2022 3:01 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview On Mon, 19 Dec 2022 16:29:37 +, Seymour J Metz wrote: >In REXX, a decimal number *IS* a string. > Yes. Trying the follo

Re: Re; Rexx function STORAGE with weird behavior on Netview

2022-12-20 Thread Jack Zukt
Hello all, The glitch was the NETVIEW REXXSTRF value thas was set to the default DISABLE. While we wait for an IPL, the OVERRIDE solves the issue. And as Kulosu noted, it is Mark Zelden's IPLINFO rexx that we are using, not an IBM supplied one. Thank you all for your time and valuable

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Sebastian Welton
Also ensure that it is not being called as a DATA REXX as described here, this has hit me previously: https://www.ibm.com/docs/en/z-netview/6.2.0?topic=overview-netview-restrictions-rexx-functions Sebastian >This is exactly what I was going to point to: >REXXSTRF: ENABLE >

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gilmartin
On Mon, 19 Dec 2022 16:29:37 +, Seymour J Metz wrote: >In REXX, a decimal number *IS* a string. > Yes. Trying the following instruction might be informative: say c2x( 10 ) c2x( '10' ) c2x( "10" ) >... The semantics for the first parameter of STORAGE is the same on every > REXX

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Steve Horein
t; From: IBM Mainframe Discussion List On Behalf > Of Jack Zukt > Sent: Monday, December 19, 2022 8:20 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Rexx function STORAGE with weird behavior on Netview > > [[ SEI WARNING *** This email was sent from an external source. Do no

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Robert Prins
That's why you will come across truckloads of /*** * PTR & STG & SWAREQ: * * * * Utility procedures to access

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Rupert Reynolds
On Mon, 19 Dec 2022, 15:16 Paul Gorlinsky, wrote: > Results from a zos 2.4 system > > /* */ > Say c2x(Storage("10",8)) > Say c2x(Storage(10+0,4)) > Say c2x(Storage(10+4,4)) > Z = c2x(Storage(10,4)) > Say c2x(Storage(Z,8)) > > Results: > > 00FD4EA8 > 00FD4EA8 > > 021800FED054

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Jay Maynard
cember 19, 2022 10:51 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 >

Re; Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Phil Smith III
A local Rexx function doesn't override a BIF unless it's in the same Rexx program. At least, not that I've ever seen. This seems like it should be easy to diagnose: just write a tiny program that just does that storage() call and trace it.

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Eric D Rossman
Gorlinsky Sent: Monday, December 19, 2022 10:51 AM To: IBM-MAIN@LISTSERV.UA.EDU 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

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Cieri, Anthony
:20 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Rexx function STORAGE with weird behavior on Netview [[ SEI WARNING *** This email was sent from an external source. Do not open attachments or click on links from unknown or suspicious senders. *** ]] Hi, My colleagues come to me with a weird

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gorlinsky [p...@atsmigrations.com] Sent: Monday, December 19, 2022 10:50 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview Yes

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
...@atsmigrations.com] Sent: Monday, December 19, 2022 11:02 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview Say c2x(Storage(16-6,8)) Say c2x(Storage((1+1+1+1+21-15),8)) Say c2x(Storage(10,8)) Say c2x(Storage("10",8)) So here is the prob

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
Say c2x(Storage(16-6,8)) Say c2x(Storage((1+1+1+1+21-15),8)) Say c2x(Storage(10,8)) Say c2x(Storage("10",8)) So here is the problem I have, the address portion is being computed as decimal numbers and yet the storage function is treating the final result as a string of HEX numbers.

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
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

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Bob Bridges
Ooh, that's good! Someone on the erring system wrote a REXX subroutine and named it STORAGE; I like it. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* Setting aside the scandal caused by His Messianic claims and His reputation as a political firebrand, only two accusations of

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
:22 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview Should be ... but look at the results of Storage(10+0,4) which should have treated 10+0 and 10+4 as numeric expressions but it didn't

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
, 2022 10:16 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview Results from a zos 2.4 system /* */ Say c2x(Storage("10",8)) Say c2x(Storage(10+0,4)) Say c2x(Storage(10+4,4)) Z = c2x(Storage(10,4)) Say c2x(Storage(Z,8)) Results: 00FD4E

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
: Monday, December 19, 2022 10:22 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview Should be ... but look at the results of Storage(10+0,4) which should have treated 10+0 and 10+4 as numeric expressions but it didn't

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Sri h Kolusu
>> This is (I think) an IBM supplied REXX Not really. I believe that you referring to Mark Zelden's utility IPLINFO. Here is the link to it http://www.mzelden.com/mvsfiles/iplinfo.txt >> except on one system AND when executed by a NETVIEW address space According to Mark none of his REXX execs

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Carmen Vitullo
] Sent: Monday, December 19, 2022 8:29 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview I'm not really great with rexx but everything I have, and seen shows all lower case ? c2d(storage(d2x( etc Carmen On 12/19/2022 7:20 AM, Jack Zukt wrote

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
Zukt [jzuk...@gmail.com] Sent: Monday, December 19, 2022 8:20 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Rexx function STORAGE with weird behavior on Netview Hi, My colleagues come to me with a weird situation for which I cannot find an explanation. You are probably familiar with the IPLINFO REXX

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Carmen Vitullo [petevi...@gmail.com] Sent: Monday, December 19, 2022 8:29 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview I'm not really great

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
ecember 19, 2022 9:05 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview 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(Stor

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
decimal numeric values not hex -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
Should be ... but look at the results of Storage(10+0,4) which should have treated 10+0 and 10+4 as numeric expressions but it didn't -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
Never say never,,, investigate ... We don't know the history of the installation and ALL possibilities should be examined ... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
Results from a zos 2.4 system /* */ Say c2x(Storage("10",8)) Say c2x(Storage(10+0,4)) Say c2x(Storage(10+4,4)) Z = c2x(Storage(10,4)) Say c2x(Storage(Z,8)) Results: 00FD4EA8 00FD4EA8 021800FED054 Any comments?

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
rlinsky [p...@atsmigrations.com] Sent: Monday, December 19, 2022 9:53 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview As a string "10" or '10' but not 10 Storage("

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Seymour J Metz
Gorlinsky [p...@atsmigrations.com] Sent: Monday, December 19, 2022 10:00 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Rexx function STORAGE with weird behavior on Netview Humm Is there a possibility of a STORAGE() function in a library on the failing system that could be called instead

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
Humm Is there a possibility of a STORAGE() function in a library on the failing system that could be called instead of the intended version? Maybe check the library concatenation sequences for another module ... including linklst There might have been another storage function from

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
As a string "10" or '10' but not 10 Storage("10",4) should be correct -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Jack Zukt
alf > Of Paul Gorlinsky > Sent: 19 December 2022 13:52 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: 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… >

IPLINFO (was: Rexx function STORAGE with weird behavior on Netview)

2022-12-19 Thread Paul Gilmartin
On Mon, 19 Dec 2022 07:52:02 -0600, Paul Gorlinsky wrote: >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… > This does not explain that: > You are probably familiar with the IPLINFO REXX. It works just fine but > there is one system

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Lennie Dymoke-Bradshaw
DU Subject: 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 / arch

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
Yep…I guessed that it was a valid numeric address… -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Billy Ashton
x 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,

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Eric D Rossman
@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

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Paul Gorlinsky
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

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Billy Ashton
VT= C2D(Storage(10,4)) Call Trace("O") /* though you won't get here if it fails...*/ Thank you and best regards, Billy Ashton -- Original Message -- From "Jack Zukt" To IBM-MAIN@listserv.ua.edu Date 12/19/2022 8:20:10 AM Subject Rexx function STORAGE with weird

Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Carmen Vitullo
I'm not really great with rexx but everything I have, and seen shows all lower case ? c2d(storage(d2x( etc Carmen On 12/19/2022 7:20 AM, Jack Zukt wrote: Hi, My colleagues come to me with a weird situation for which I cannot find an explanation. You are probably familiar with the

Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Jack Zukt
Hi, My colleagues come to me with a weird situation for which I cannot find an explanation. You are probably familiar with the IPLINFO REXX. It works just fine but there is one system on which, when invoked by NETVIEW, the CVT = C2d(Storage(10,4))/* point to CVT */