Paul Gilmartin wrote:

 

| What particular penalty is incurred by not having the 

| end of one's buffer doubleword aligned, supposing 32767 | fits one's data 
well?

 

The chief problem with not having "the end of one's [i-th] buffer" 
doubleword-aligned is that the beginning of the (i+1)-th and all subsequent 
buffers will not have their beginnings doubleword aligned.  A logical record 
will not then in general be doubleword aligned in its buffer, with the 
consequence that it will be unusable for locate-mode i/o operations if any of 
its fields has an internal halfword, fullword, or doubleword alignment 
requirement.

 


Alignment within a record in the responsibility of the programmer, not the 
system; but the system makes the assumption of this responsibility possible by 
aligning STORAGE-obtained blocks of storage, buffers, etc., on a doubleword 
boundary.  Move-mode i/o is, as I am sure you know, tedious.  

 

I am alsooo sure that I  have sometimes suspected you unfairly of seeking only 
to épater l’IBM when you pose such questions, but this time?



John Gilmore Ashland, MA 01721-1817 USA



_________________________________________________________________
Windows Live™ SkyDrive: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009
----------------------------------------------------------------------
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

Reply via email to