Re: AW: Re: Interface to query length of storage allocated with CEEGTST LE service

2016-07-22 Thread Steve Smith
As far as memory (storage) references go, "Above" and "Below" can easily be
perceived and defended either way, although *I* would usually take "Above"
to mean higher addresses (cf. "above-the-line').  By context, I guess the
opposite was meant, probably by projection of a dump or most memory
displays.  Anyway, the terms, they are ambiguous.

I think "Before" and "After" are much clearer.

sas

On Fri, Jul 22, 2016 at 4:35 PM, J R  wrote:

> Of my vast collection of laptops, I use only the most recent two.  One
> started life under W7, the other under W8.  Of course, MS eventually
> cajoled me into "upgrading" them both to W10!  Their scrolling-by-gesture
> works in opposite directions and I have yet to bother fixing one to match
> the other.  Consequently, it always takes a few swipes to figure which way
> to scroll.
>
> So, it's not just Apple; MS has blindly followed, but not yet
> standardized.  :-(
>
> Sent from my iPhone
>
> > On Jul 22, 2016, at 13:23, Paul Gilmartin <
> 000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
> >
> > Somewhat like ISPF scrolling.  A couple releases ago, Apple reversed the
> conventions
> > of scrolling-by-gesture in OS X (optionally, but default) to be
> compatible with iOS.
> >
> > But still, I wondered if it arose from a desire to page-align the base
> of the area.
> >
> > -- gil
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 
sas

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


Re: AW: Re: Interface to query length of storage allocated with CEEGTST LE service

2016-07-22 Thread Paul Gilmartin
On Fri, 22 Jul 2016 11:59:33 -0500, Victor Gil wrote:

>No, subtract 8-16 bytes from the area address to get to the header...
>
>I guess my usage of the words "top" and "ABOVE" could be misleading - this is 
>how we were drawing memory maps back in the 70s, so that they grow DOWN from 
>the staring location
> 
And Bill Waite teaching a CS class circa 1972 would sketch a memory map on the
chalkboard and describe it, saying "Up" and pointing to the floor; "Down" and 
pointing
to the ceiling.  Algebra vs. geometry.

Somewhat like ISPF scrolling.  A couple releases ago, Apple reversed the 
conventions
of scrolling-by-gesture in OS X (optionally, but default) to be compatible with 
iOS.

But still, I wondered if it arose from a desire to page-align the base of the 
area.

-- gil

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


Re: AW: Re: Interface to query length of storage allocated with CEEGTST LE service

2016-07-22 Thread Victor Gil
No, subtract 8-16 bytes from the area address to get to the header...

I guess my usage of the words "top" and "ABOVE" could be misleading - this is 
how we were drawing memory maps back in the 70s, so that they grow DOWN from 
the staring location


On Fri, 22 Jul 2016 08:53:54 -0500, Victor Gil wrote:

>I am guessing the length may be stored somewhere in the vicinity of the area 
>top address, say within 8-16 bytes ABOVE it.
> 
So to get to it you just add the length of the area to the address of the area?

>At least this is how CICS handles GETMAIN requests which also don't require 
>length on the FREEMAINs.
>
>Of course, if the convention is not documented it may change at any time ...

-- gil

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


Re: AW: Re: Interface to query length of storage allocated with CEEGTST LE service

2016-07-22 Thread Paul Gilmartin
On Fri, 22 Jul 2016 08:53:54 -0500, Victor Gil wrote:

>I am guessing the length may be stored somewhere in the vicinity of the area 
>top address, say within 8-16 bytes ABOVE it.
> 
So to get to it you just add the length of the area to the address of the area?

>At least this is how CICS handles GETMAIN requests which also don't require 
>length on the FREEMAINs.
>
>Of course, if the convention is not documented it may change at any time ...

-- gil

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


Re: AW: Re: Interface to query length of storage allocated with CEEGTST LE service

2016-07-22 Thread Victor Gil
I am guessing the length may be stored somewhere in the vicinity of the area 
top address, say within 8-16 bytes ABOVE it.

At least this is how CICS handles GETMAIN requests which also don't require 
length on the FREEMAINs.

Of course, if the convention is not documented it may change at any time ...

-Victor-

=
> I very much doubt it.


Yeah, me too. But I thought I might be missing something and better ask. 


>I'm curious; what will you do with this info if it is available? 
 

I'm asking because I have been asked by our middle war guys. Our applications 
are required to use our own middle ware service routines for certain functions 
instead of HLL or LE or CICS services directly. (This is not part of the 
discussion.)


They wanted to know if there is a possibility to retrieve the length somehow 
instead of remembering it somewhere in own data structures. (I don't know more 
details about the why and what for.)


Thanks for the hint regarding LE possibly rounding up. Since I do not know 
details what they intend to do, I cannot say if this rouding is important for 
them. But I'll pass it on.




Thanks


-- 
Peter Hunkeler

 


--
Peter Hunkeler 

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


AW: Re: Interface to query length of storage allocated with CEEGTST LE service

2016-07-20 Thread Peter Hunkeler


> I very much doubt it.


Yeah, me too. But I thought I might be missing something and better ask.


>I'm curious; what will you do with this info if it is available?


I'm asking because I have been asked by our middle war guys. Our applications 
are required to use our own middle ware service routines for certain functions 
instead of HLL or LE or CICS services directly. (This is not part of the 
discussion.)


They wanted to know if there is a possibility to retrieve the length somehow 
instead of remembering it somewhere in own data structures. (I don't know more 
details about the why and what for.)


Thanks for the hint regarding LE possibly rounding up. Since I do not know 
details what they intend to do, I cannot say if this rouding is important for 
them. But I'll pass it on.




Thanks


--
Peter Hunkeler




--
Peter Hunkeler

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