HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0412 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0412.


Report 0412 Actions


    Problem Report Number 0412
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0031
    Raised 1993-01-04 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.4
    Test Identification dm.isam/rec/isread 15, 16
    Problem Summary PG4R.031 Isread tests 15 and 16 both subtract 1 from the record number, assuming that the record number is a signed value. The X/Open ISAM Developers Specification states "Note that as the actual value [of isr...
    Problem Text

    Isread tests 15 and 16 both subtract 1 from the record number,
    assuming that the record number is a signed value. The X/Open ISAM
    Developers Specification states "Note that as the actual value [of
    isrecnum] is implementation-dependent, the user should not attempt to
    interpret its actual value, as this could compromise portability"
    (section 9.3 Record Number Of Last Call, page 65). This statement
    precludes arithmetic operations upon record numbers. The only valid
    method of obtaining record numbers is via ISAM calls.

    Test Output
    VRPT does not produce useful output for this test when run on a simple
    isread() test run. Here is the relevant part of the journal file:

    400|0 15 1 15:02:10|IC Start
    200|0 15 15:02:10|TP Start
    520|0 15 32978 1 1|Failed: isread() of record with isrecnum 1 from file
    isread-t
    0.1
    520|0 15 32978 1 2|Record number 0
    520|0 15 32978 1 3|RETURN VALUES: expected: 0, observed: -1
    520|0 15 32978 1 4|ERRNO VALUES: expected: 0 (NO ERROR), observed: 1011
    (ENOREC)
    520|0 15 32978 1 5|ISSTAT1 VALUES: expected: 0, observed: 1
    520|0 15 32978 1 6|ISSTAT2 VALUES: expected: 0, observed: 4
    520|0 15 32978 1 7|ISSTAT3 VALUES: expected: 0, observed: 1
    520|0 15 32978 1 8|ISSTAT4 VALUES: expected: 0, observed: 4
    220|0 15 1 15:02:10|FAIL
    410|0 15 1 15:02:10|IC End
    400|0 16 1 15:02:10|IC Start
    200|0 16 15:02:10|TP Start
    520|0 16 32978 1 1|Failed: isread() of record with isrecnum 1 from file
    isread-t
    0.1
    520|0 16 32978 1 2|Record number 0
    520|0 16 32978 1 3|RETURN VALUES: expected: 0, observed: -1
    520|0 16 32978 1 4|ERRNO VALUES: expected: 0 (NO ERROR), observed: 1011
    (ENOREC)
    520|0 16 32978 1 5|ISSTAT1 VALUES: expected: 0, observed: 1
    520|0 16 32978 1 6|ISSTAT2 VALUES: expected: 0, observed: 4
    520|0 16 32978 1 7|ISSTAT3 VALUES: expected: 0, observed: 1
    520|0 16 32978 1 8|ISSTAT4 VALUES: expected: 0, observed: 4
    220|0 16 1 15:02:10|FAIL
    410|0 16 1 15:02:10|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The ISAM specification on page 65 states that isrecnum is a long integer
    global variable, it is also shown on page 62 to have type extern long.
    While the specification states that the actual value is implementation
    dependent, this does not alter the fundamental type of the variable.

    The value of the record number is decreased by one in order to obtain a
    value which is one less than the value associated with a known record in
    the file. This value is then used in a call to isread() in order to access
    the record with the next higher record number than that provided at the
    time of the call. There seems to be no reason in the ISAM specification
    why this call should not behave correctly. This interpretation request
    should be forwarded to the working group for a full interpretation.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This waiver request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority