!standard B.04 (63) 96-11-16 AI95-00071/02 !class binding interpretation 95-07-27 !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 !subject Correction to the Valid function in COBOL Interface !summary 95-07-27 The Valid function should return False if Item contains leading space characters, when Format is Unsigned, Leading_Separate, or Trailing_Separate. !question 95-07-27 The semantics of the Valid function are incorrectly stated. !recommendation 95-07-27 (See Summary.) !wording 95-07-27 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 95-07-27 This is necessary to match COBOL. !appendix 95-07-27 !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..." ****************************************************************