Re: rotational position sensing (RPS)

2007-07-24 Thread Edward Jaffe

(IBM Mainframe Discussion List) wrote:
Careful reading of the 2105 Command Reference doc shows that valid sector  
numbers are not documented as being ignored.  I take that to mean they are  used 
as documented; i.e., the next action on the track will commence with track  
orientation at a predictable position on the track.  If the next action is  to 
find a given record ID, then the search must begin at that point and nowhere  
else on the track.  For this reason alone a valid non-X'FF' sector number  
cannot be ignored.
  


My understanding has been that an entire track is staged when any record 
on the track is accessed. Record accesses are then satisfied from the 
staging area. (Does that processing occur only for the virtualized 
tracks on STK "Iceberg"?) If it were my code, I would build an 
in-storage index of all count fields while staging the track. That way I 
would never have to do any kind of lengthy search through the data. And 
RPS data would be meaningless to me ... I think ...


 
Consider the example of a track containing eight records whose record IDs  
are all BILL1.  There is no control unit microcode requirement that a  record 
ID, commonly called CCHHR, contain the CCHHR where that record is  stored on the 
track.  Standard IBM access methods assume, create, and  enforce this 
condition, but non-standard use of DASD can create this  situation.  Each of the 8 
records whose IDs are all BILL1 can be unique;  i.e., they contain different 
data and can even be of differing lengths, some  with and others without key 
fields of differing lengths.  The sector number  must be used in a case like this 
to find the correct record.
  


Interesting point. I had not thought of the problem created by duplicate 
identifiers.


 
I didn't say that this kind of track is a good idea.  But the hardware  has 
always allowed it and non-standard software can still be used to access  it.
 
 
There are several other examples of control information that are now  
specifically documented as being ignored on an ESS (caching algorithm bits,  e.g.).  
If the ESS ignores a valid sector number, then the documentation is  
deficient.  John Gilmore is quite correct that an invalid sector number  must be 
diagnosed.  If software has put an invalid sector number into the  channel program, 
the rest of that program should be suspect as well.   Perhaps sector numbers 
will evolve away in a future technology that also no  longer employs cylinder 
and track numbers.
  


I would still like to know definitively whether coding a sector number 
of x'FF' will have a deleterious effect on I/O performance. Put another 
way, assuming more or less "standard" formatting of record identifiers, 
will a sector number of x'FF' yield identical performance to a 
calculated sector number?


In the absence of any documentation or definitive statement to the 
contrary, I guess we'll keep using the calculated values.


--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
[EMAIL PROTECTED]
http://www.phoenixsoftware.com/

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: rotational position sensing (RPS)

2007-07-24 Thread (IBM Mainframe Discussion List)
Careful reading of the 2105 Command Reference doc shows that valid sector  
numbers are not documented as being ignored.  I take that to mean they are  
used 
as documented; i.e., the next action on the track will commence with track  
orientation at a predictable position on the track.  If the next action is  to 
find a given record ID, then the search must begin at that point and nowhere  
else on the track.  For this reason alone a valid non-X'FF' sector number  
cannot be ignored.
 
Consider the example of a track containing eight records whose record IDs  
are all BILL1.  There is no control unit microcode requirement that a  record 
ID, commonly called CCHHR, contain the CCHHR where that record is  stored on 
the 
track.  Standard IBM access methods assume, create, and  enforce this 
condition, but non-standard use of DASD can create this  situation.  Each of 
the 8 
records whose IDs are all BILL1 can be unique;  i.e., they contain different 
data and can even be of differing lengths, some  with and others without key 
fields of differing lengths.  The sector number  must be used in a case like 
this 
to find the correct record.
 
I didn't say that this kind of track is a good idea.  But the hardware  has 
always allowed it and non-standard software can still be used to access  it.
 
 
There are several other examples of control information that are now  
specifically documented as being ignored on an ESS (caching algorithm bits,  
e.g.).  
If the ESS ignores a valid sector number, then the documentation is  
deficient.  John Gilmore is quite correct that an invalid sector number  must 
be 
diagnosed.  If software has put an invalid sector number into the  channel 
program, 
the rest of that program should be suspect as well.   Perhaps sector numbers 
will evolve away in a future technology that also no  longer employs cylinder 
and track numbers.

 
Bill  Fairchild
Plainfield, IL



** Get a sneak peek of the all-new AOL at 
http://discover.aol.com/memed/aolcom30tour

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: rotational position sensing (RPS)

2007-07-23 Thread john gilmore

Bill Fairchild writes:

The ones that are not ignored are the ones that are invalid; i.e., higher 
than  the highest allowable number but also not equal to X'FF'.  If your 
channel program has an invalid sector number, the ESS will fail your 
channel program with unit check - invalid parameter.  If your number is 
valid, however, it  would seem that the ESS will ignore it.


It seems to me that this is reasonable behaviour iff the default value is 
licit.  EJ's recommendation would obviate all problems.  Explicit, willful 
specification of a value greater than the largest licit value and less than 
x'ff' should be diagnosed.


John Gilmore
Ashland, MA 01721-1817
USA

_
http://newlivehotmail.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html