_25

Document Sample
_25 Powered By Docstoc
					September 18, 2006                                                                          J4/06-0137
                                                                                     S-16       page 1 of 5


                                  COBOL Technical Committee
Subject: Candidate features for a future revision

Author: Don Schricker
Previous Version:                  05-0107
Comments on previous versions of this document:
        1.      03-0144 – Future revision candidates (Reimann)
        2.      03-0177 – Some comments on the future feature candidates (Friedman)

Within each section, features are arranged in descending order of J4 support. Possible scores were 0 to
60.

WG4 gave each feature one of these ratings:
          TR - do immediately in a TR
          yes - do in the 2008 revision
          investigate - investigate and include if feasible in the 2008 timeframe
          no - not now

Major New Features for Consideration
  1. Native XML support: J4 – 54, WG4 - TR
  2. Asynchronous processing: J4 – 54, WG4 – investigate
              03-0062 – Asynchronous Processing (Tauber)
  3. Enhanced Internationalization (may include date and time): J4 – 40, WG4 - yes, but limited to the
              lower-case and upper-case functions
              a. 99-0027/20 - Add an optional second argument to the LOWER-CASE and UPPER-
                       CASE functions that specifies the locale
  4. Dynamic Tables; facility was in the CD at one point; an alternative is proposed in 03-0107 -
              Variable-size (Dynamic) Tables (Piggott): J4 – 36, WG4 - yes
  5. Increased UNICODE support: J4 – 36, WG4 - no
                       UTF-8 for alphanumeric (96-0488, item 15) (ref UTF-8 in special-names)
                       Add new intrinsic functions to normalize UNICODE data 00-0389/4
                       Add new usages for multiple encoding schemes 00-0389/5
                       Consider special handling of UTF-16 (WG4 meeting November 2001)
  6. Date/Time support, including internationalization, greater precision, SQL-like data types: J4 – 33,
              WG4 – yes, but limited to a function for current date in ISO standard format
              02-0163 - Enhancement of Date and Time precision (Bonnin) – scan of 94-0412
              02-0199 - FORMAT-DATE Function (Piggott)
              99-0217 - Date/time: a new data type and other considerations
              Expand the dates handled by the INTEGER-OF-DATE function 00-0343, page 597
              96-0418 – Current date in ISO standard format (Wouk)

Other New Features to Consider
  7. Pipes for interprocess communication: J4 – 41, WG4 - yes
  8. Transaction processing facilities including COMMIT and ROLLBACK 00-0489: J4 – 29, WG4 - no
                 one suggestion is in Global file sharing and record locking, 03-0093
  9. Variable length data items: J4 – 27, WG4 - yes
                03-0098 - [COBOL-unique] Variable-Length Data Items (Piggott)
September 18, 2006                                                                          J4/06-0137
                                                                                     S-16      page 2 of 5

              C and PL/I style variable length strings (Wallace)
              Allow the literal "" which is alphanumeric and zero length. useful with concatenation and
              replacing
              03-0108 - Enabling files for variable data and tables (Piggott)
              03-0109 - Delimited variable-length data items (Piggott)
              03-0110 - Variable-length printed items (Piggott)
              03-0112 – File Keys – Reference Modification (Gavan)
 10. Improved string handling: J4 – 27, WG4 - no
              class library
              syntax
              new intrinsic functions 02-0168
              FUNCTION EDIT-ITEM (identifier, PIC-string)
              intrinsic function LENGTH-OF-STRING to return length of item minus trailing spaces.
              text of string
                Concatenation of data-items (02-0175)
                 02-0176 – INSPECT/STRING/UNSTRING ... DELIMITED BY TRAILING
                            literal/identifier (Grootveld) – scan of 97-0189
                 Extend the INSPECT statement with an option to do the tallying and/or replacing in
                 reversed order: INSPECT identifier [IN REVERSE ORDER] ... (Ebbinkhuijsen)
                 INSPECT PAYOR-NAME TALLYING COUNT-BLANKS FOR TRAILING BLANKS (Alvin)
                 Let INSPECT REPLACING have different replacement size *** new – not rated
                 STRING LAST-NAME DELIMITED BY TRAILING BLANKS
                            ','              DELIMITED BY SIZE
                            FIRST-NAME DELIMITED BY TRAILING BLANKS
                            INTO NEW-NAME. (Alvin)
 11.   Dynamic file attributes 02-0213, 02-0225, 02-0216: J4 – 23, WG4 - no
 12.   Macro/templates (02-0172/2): J4 – 23, WG4 – no
 13.   02-0198 - Virtual files (Piggott): J4 – 11, WG4 - no
                 00-0135 - DYNAMIC-STORAGE SECTION and the NAVIGATE verb (Smith)
 14.   02-0161 - Additional Rounding Facilities (scan of 93-1529) (Wouk): J4 – 9, WG4 - no
 15.   SHIFT and REPLICATE verbs - Ripple move of characters. Replicate a string through a
                 group: J4 – 7, WG4 - no
 16.   GUI: J4 – 4, WG4 - no
 17.   Localized exception handling – J4 – did not rate, WG4 - no
                 03-0091 – In-Line Exception Handling (Piggott)
                 TRY/CATCH
                 localized extension of the USE statement

Minor Enhancements to Consider
 18.   Allow reference modification with zero length (03-0041/7): J4 – 53, WG4 - no
 19.   Function pointers (02-0082/52, 65): J4 - 50, WG4 - yes
 20.   Method overloading (also called parameter polymorphism): J4 – 45, WG4 – investigate
 21.   a. 02-0227 (WR-681.1) - PIC clause user-defined insertion (Nelson): J4 – 43, WG4 - no
                  b. JUSTIFIED LEFT 02-0217: WG4 - no
 22.   02-0160 - Command line & environment variables (scan of 93-1045) (Schepman/Woerner):
                  J4 – 43, WG4 - investigate; see also 05-0029 - Environment variables (Klink)
 23.   waiting: J4 – 40, WG4 - no
                  02-0165 (WR-767) - Add a New WAIT Func (Fisher) – for period of time – scan of 94-0659
                  02-0167 - Comments on WR-767: Add a new WAIT Function (Piggott) – scan of 94-0669
                  Add wait to RETRY phrase a(03-0041/11)
 24.   Allow receiving items in INSPECT to be group items 01-0376/134: J4 – 40, WG4 - no
 25.   Don't require sections in nondeclarative portion just because there are declaratives: J4 – 39, WG4
                  - no
 26.   Allow figurative constants as arguments to intrinsic functions: J4 – 38, WG4 - no
September 18, 2006                                                                         J4/06-0137
                                                                                    S-16      page 3 of 5

 27. Extend the VALIDATE statement to check an item against the elements in a table: J4 – 38, WG4 –
                no
 28. Increase limit on size of nonnumeric literals. (Hubbell): J4 – 37, WG4 - yes
 29. 02-0228 - PUSH/POP Directives (Nelson): J4 – 37, WG4 - no
 30. Allow population of strongly-typed group items from an untyped group
                (03-0050/reference2, solution2): J4 – 36, WG4 - no
                04-0003
                04-0213
 31. 02-0177 - DELETE FILE (with WORKFILE) (Brieschke) – scan of WR-0567: J4 – 36, WG4 - no
 32. 02-0218 (WR-725.3) - Alternate key suppression (Nelson) – update of 96-0457: J4 – 34,
             WG4 - no
 33. 98-0471 - Interfacing with C: The ANY phrase (Friedman) any type, repeated: J4 – 32, WG4 - no
               for outbound calls only
 34. Reference modification to specify partial alternate keys in the START statement
               START a-file KEY IS GREATER THAN an-alternate-key (1: whatever)

                   This is completely compatible. This avoids the complex and bug-prone
                   methods of redefining areas to specify partial keys. Status: in JOD. [DN - the
                   LENGTH phrase in START sort of allows this but is not as simple and clear
                   as reference modification - this feature exists in the Compaq NonStop
                   implementations.]: J4 – 32, WG4 - no
 35.   Structured constants – Chuck will develop this further (02-0005 and 02-0008): J4 – 32, WG4 - yes
 36.   avoid necessity of qualification for expansions of TYPEDEF and SAME AS: J4 – 30, WG4 - no
                   02-0215 - Specify name construction for items subord to a TYPEDEF– scan of 96-0473
                   03-0012/1
                   03-0050/reference 3, item 1
                   04-0003
                   04-0215
 37.   03-0003 - OPEN OUTPUT REQUIRED: J4 – 30, WG4 - no
 38.   Allow MAX, MIN, ORD-MAX, ORD-MIN function to take strongly-typed args (03-0041/9):
                   J4 – 27, WG4 - no
 39.   Remove restriction that REDEFINES clause must follow the entry-name clause: J4 – 26, WG4 - no
 40.   Initialize working-storage, file section and/or local-storage: J4 – 25, WG4 - no
 41.   Allow both BEFORE and AFTER phrases with WRITE ... ADVANCING (02-0004): J4 – 25, WG4 -
                   no
 42.   02-0162 (WR-652) - Portability issues (scan of 93-1544) (Klein): J4 – 24, WG4 - no
                   93-1051 - X/Open COBOL Minimum Compiler Limits (X/Open, Wallace)
                   93-1556 - JTC1 Directives - re "Portability Annexes"
                   95-0080 - SPIRIT COBOL Outline (Kuroda)
                   02-0082/8 – Response to 01-0376
                   @Portability Profiles & Issues, WR-652, 96-0368 – Dennis to retrieve
 43.   Allow boolean expressions in the DEFINE directive 00-0370: J4 – 24, WG4 - no
 44.   97-0265 - CANCEL class-name (Schricker): J4 – 23, WG4 - no
 45.   Search ALL extension Add ASCENDING/DESCENDING key clause to the SEARCH
                   ALL statement: J4 – 23, WG4 - no
 46.   Add longer native binary types 00-0358 change for page 367: J4 – 22, WG4 - no
 47.   Allow RETRY phrase on SELECT statement (00-0352/2): J4 – 19, WG4 - no
 48.   Allow the use of ALL as a subscript for user-defined function arguments: J4 – 18, WG4 -
                   no
 49.   Allow sections in the declarative section without USE statements (03-0041/6): J4 – 17,
                   WG4 - no
 50.   Add GROUP-USAGE DISPLAY 00-0358 change for page 297: J4 –16, WG4 - no
 51.   WRITE BEFORE/AFTER ADVANCING TO FOOTING - allow lines containing totals to
                   be printed in the footing area of a page without having to count the number of
                   lines that need to be skipped. (Ebbinkhuijsen): J4 - 14, WG4 - no
September 18, 2006                                                                           J4/06-0137
                                                                                      S-16       page 4 of 5

 52. 02-0179 - HIGHEST-, LOWEST-ALGEBRAIC - extensions (Wouk) – reissue of 96-0187
                02-0180 – Highest- and lowest-algebraic – improving (Wouk) – reissue of 97-0069:
                J4 – 14, WG4 - no
 53. Allow grouping separators in numeric literals (in JOD): J4 – 14, WG4 - no
 54. Allow synchronized on group items (03-0041/8): J4 – 13, WG4 - no
 55. deleted (combined with 33)
 56. Enhance SOURCE FORMAT directive 00-0493; consider adding ENDING col, as well: J4 – 11,
                WG4 - no
 57. Allow tables whose subscripts do not start with 1: J4 – 10, WG4 - no
 58. 02-0181 - Conditional Compile Enhancement (>>DISPLAY error-severity text-message) (Potter) –
                reissue of 98-0515; also requested by 02-0231: J4 – 9, WG4 - no
 59. ACCEPT and DISPLAY with numeric and boolean conversion (triggered by a keyword): J4 – 9,
                WG4 - no
 60. Increase the minimum number that the implementor can specify for the maximum number of
                record locks that may be held by a file connector and the maximum number of record
                locks that may be held by a run unit: J4 – 9, WG4 - yes
 61. SORT like EQUAL-KEYS: J4 – 8, WG4 - no
                A procedure would be specified and this would be done when the sort process
                detected equal keys. You would do a series of RETURNs to get all the equal
                ones and one RELEASE to produce the accumulated one (or ones). 5/18/95
                - comp.lang.cobol.
 62. Allow PROPERTY clause on a group item 98-0499/9: J4 – 8, WG4 – no
 63. 02-0183 – New relational operator <> (Ebbinkhuijsen): J4 – 7, WG4 - yes
 64. Allow the data-name referenced in the SAME AS clause to be described with an OCCURS clause
                or to be a group with level number other than level 1: J4 – 6, WG4 - no
 65. Allow the use of ALL as a subscript outside of intrinsic functions: J4 – 5, WG4 - no
 66. Allow figurative constant in a VALUE clause in the screen section. (VALUE clause SR12): J4 – 5,
                WG4 - no
 67. Numeric prime and alternate keys: J4 – 3, WG4 - no
 68. Report writer enhancements: 02-0197 - Last Page Number (Piggott), 02-0207 (WR-763) - Multiple
                Reports (Piggott), 02-0205 - Default Values for FIRST DETAIL and FOOTING (Piggott),
                02-0194 - Odd and Even Pages (Piggott); 02-0192 (WR-756) - REPORTS ARE ALL
                (Piggott); 02-0202 (WR-757) - FIRST PAGE NO ADVANCING (Piggott); 02-0193 (WR-
                758) - SUM and Arithmetic OVERFLOW (Piggott); 02-0206 (WR-759) - Multiple Control
                Footing (Piggott); 02-0187 - Multiple-Choice Entries (Piggott); 02-0188 (WR-760) -
                REPORT as Synonym for FINAL (Piggott); 02-0203 - WINDOW Clause (Piggott); 02-
                0190 (WR-761) - PRESENT AFTER (Piggott); 02-0204 (WR-762) - WRAP Clause
                (Piggott); 02-0196(WR-764) - MULTIPLE PAGE Clause (Piggott); 02-0189 (WR-765) -
                Variable-Length Items (Piggott); 02-0191 - STYLE clause (Piggott); Split the report-writer
                format of the OCCURS clause into one for fixed and one for variable tables. 00-0334
                subject 7 ; 03-0104 – 4 Report Writer Enhancements, subject 4 (Knights): J4 – 3, WG4 -
                no
 69. END[-]PARA[GRAPH] paragraph-name and maybe END-SECTION: J4 – 3, WG4 - no
 70. Have typedef reference make use of SELECT WHEN clause (03-0012/14): J4 – 3, WG4
                - no
 71. 02-0164 (WR-753) - Hexadecimal and other numeric base conversion functions (Fisher) – scan of
                94-0618 ) -
                02-0166 - Ray Fisher’s Paper WR-753 on Hex Functions (Piggott) – scan of 94-0666
                J4 – 2, WG4 - no
 72. deleted
 73. 02-0195 (WR-773) – EXCLUSIVE-OR in conditions (Piggott) – reissue of 96-0073: J4 - 2, WG4 -
                no
 74. Consider mapping to LIA-1 and LIA-2 (WG4 meeting November 2001): J4 – 1, WG4 - no
                02-0096(I-2292) - Language Compatible Arithmetic Standard
 75. 02-0184 - Extension of boolean operators (Ebbinkhuijsen): J4 – 0, WG4 - no
 76. Add a simple DIVIDE … BY format 00-0392: J4 – 0, WG4 - no
September 18, 2006                                                                          J4/06-0137
                                                                                     S-16      page 5 of 5

 77. Delta function (03-0095) (Friedman): WG4 - no
 78. Allow END-DECLARATIVES, END-PROGRAM, END-FUNCTION, END-METHOD, ... (Bonnin,
     Knights): WG4 – no
 79. Allow numeric literals in VALUE clause for numeric-edited items (Ebbkhuijsen): WG4 – no
 80. Consider allowing ENTRY-CONVENTION in a method (Kiesel) 03-0140/11: unrated

Fixes and Clarifications – no ranking of these items by J4
 81. Consider organization of 8.3.1.1.1, User-defined words, with respect to externalized names as
                 suggested in item 13 of 00-0178: WG4 - no
 82. PAGE clause corrections 00-0581: WG4 – yes
 83. Consistent use of (synonymous, abbreviation, or equivalent) 01-0206/9: WG4 - no
 84. Investigate use of future tense and change to present tense where appropriate 01-0206/15: WG4 -
                 no
 85. deleted
 86. Remove "hardware" from ACCEPT SR2 regarding association of mnemonic-name-1: WG4 - yes
 87. deleted
 88. Clarification of 8.4.1.1, Qualification, especially rule 4. (raised but not solved by 03-0012/10) –
                 WG4 - yes
 89. deleted
 90. Make FROM optional in PERFORM ...VARYING with default 1 (02-0172/1a): WG4 - no
 91. Clarify the description of “phrase” and its relationship to “clause” and “statement”: WG4 - no
 92. deleted
 93. Consider cleaning up 8.3.2, Separators, especially the second sentence of rule 4, which requires
                 parentheses to be in balanced pairs: WG4 - no


Other Suggestions
 94. Change "COBOL" to "Cobol" 02-0226 - no


New and therefore unranked Suggestions
 95. External types - 04-0006 (Helms) - possibly add to REPOSITORY paragraph (Lanam)
 96. Allow PICTURE Format 2 in a CONSTANT RECORD, so long as the associated
                LOCALE is STATIC (04-0028)
 97. Allow SELECT WHEN in the declaration of a CONSTANT RECORD (04-0028)
 98. Allow a CONSTANT RECORD or a component of one as the subject of an ADDRESS
                OF clause (04-0028)
 99. Allow coexistence of EXTERNAL and CONSTANT RECORD in the same data item (04-
                0028)
 100. Allow the table format SORT statement to reference items subordinate to an XML file.
 101. Provide explicit infinite loop capability - 04-0195 (Stevens)
 102. Class identifier (04-0212/bullet 4)
 103. Explicit addressing of based items (04-0214)
 104. Variables local to a paragraph, perhaps even as a parameter to the paragraph (Al
                Fleck: alf@wd2c.com)

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:2
posted:5/26/2012
language:
pages:5