Version 1.5 of ais/ai-00071.txt

Unformatted version of ais/ai-00071.txt version 1.5
Other versions for file ais/ai-00071.txt

!standard B.04 (63-65)          00-06-19 AI95-00071/04
!class binding interpretation 95-07-27
!status Corrigendum 2000 99-05-25
!status WG9 approved 96-12-07
!status ARG Approved 8-0-4 96-10-07
!status work item 95-11-01
!status received 95-07-27
!priority High
!difficulty Medium
!qualifier Error
!subject Correction to the Valid function in COBOL interface
!summary
The Valid function should return False if Item contains leading space characters, when Format is Unsigned, Leading_Separate, or Trailing_Separate.
!question
The semantics of the Valid function are incorrectly stated.
!recommendation
(See summary.)
!wording
The wording should thus be corrected as follows in B.4, with brackets indicating text to be deleted.
Para 63: "if Item comprises [zero or more leading space characters
followed by] one or more decimal digit characters..."
Para 64: "if Item comprises [zero or more leading space characters,
followed by] a single occurrence of the plus or minus sign character, and then one or more decimal digit characters..."
Para 65: "if Item comprises [zero or more leading space characters
followed by] one or more decimal digit characters..."
!discussion
This is necessary to match COBOL.
!corrigendum B.04(63)
Replace the paragraph:
by:
!corrigendum B.04(64)
Replace the paragraph:
by:
!corrigendum B.04(65)
Replace the paragraph:
by:
!ACATS test
ACATS test CXB4003 tests these cases.
!appendix

!section B.04(63)
!subject Correction to the Valid function in COBOL Interface
!reference RM95-B.04(63)
!reference RM95-B.04(64)
!reference RM95-B.04(65)
!from Ben Brosgol 95-07-10
!keywords COBOL Interface
!reference as: 95-5216.a Ben Brosgol 95-7-10>>
!discussion

The Valid function should return False if Item contains leading space
characters, when Format is Unsigned, Leading_Separate, or
Trailing_Separate (this was pointed out by R Dewar).  The wording should
thus be corrected as follows in B.4, with brackets indicating text to be
deleted.

Para 63: "if Item comprises [zero or more leading space characters
          followed by] one or more decimal digit characters..."

Para 64: "if Item comprises [zero or more leading space characters,
          followed by] a single occurrence of the plus or minus sign
          character, and then one or more decimal digit characters..."

Para 65: "if Item comprises [zero or more leading space characters
          followed by] one or more decimal digit characters..."





****************************************************************

Questions? Ask the ACAA Technical Agent