In a message dated 6/26/2008 11:27:46 A.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:
>Another workaround for us is: don't use the address in the CDE entry,  
if it is zero or X'80000000'.
 
I have seen another case of a control block's containing a full word of  
X'80000000' that was supposed to be an address.  I saw an IOSB one day that  
had 
one of its five exit addresses set to X'80000000'.  IBM code didn't  build that 
IOSB.  Vendor code did.  The high-order bit is  interpreted for setting the 
addressing mode by the component that calls the exit  routine, and if the exit 
address is zero then a default IBM exit is used  instead.  That I/O request 
worked correctly, implying that IBM's IOS code  tested only the right-most 31 
bits for zero.  Perhaps all our user code  should be written similarly; i.e., 
if 
we inspect a field that is supposed to  contain "either an address or zero", 
then we should assume the worst case for  the contents of that field, namely 
that the high-order bit is unpredictable as  it is not strictly part of any 
address stored in that field.
 
Bill  Fairchild
Rocket Software





**************Gas prices getting you down? Search AOL Autos for 
fuel-efficient used cars.      
(http://autos.aol.com/used?ncid=aolaut00050000000007)

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