IREXCOM has no interface for reporting that a variable has been dropped. All 
that it can do is to return the variables that are still known. The statement   
  foo. = 'Blanket' does not create any variable other than foo., even though 
requesting the value of foo.baz will give you Blanket.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Tuesday, June 4, 2019 1:32 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SDSF API question -- why only REXX & Java?

On Tue, 4 Jun 2019 17:14:17 +0000, Seymour J Metz wrote:

>If you drop foo. and don't set any new values for, e.g., foo.bar, then a 
>request for N (next) will return only foo. I wouldn't expect drop foo.baz to 
>change that.
>
I am wondering about the case where e.g. I:
    foo. = 'Blanket'
    drop foo.baz

How does IRXEXCOM report to a caller that foo.baz has been dropped?

I might embellish this with:
    foo. = 'Blanket'
    moth = random( 1, 99999 )
    drop foo.moth
    drop moth

Now I no longer know which compound symbol I dropped.  How does IRXEXCOM
tell me a hole has been eaten in my blanket?

-- gil

----------------------------------------------------------------------
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