For Programmers: Free Programming Magazines  


Home > Archive > Cobol > October 2007 > Re: "Substantive Changes"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: "Substantive Changes"
Karl Kiesel

2007-10-09, 3:56 am


"William M. Klein" <wmklein@nospam.netcom.com> schrieb im Newsbeitrag
news:DWtOi.74132$zh6.71755@fe10.news.easynews.com...
>I don't know exactly why EXAMINE was removed and INSPECT was added. As far
>as I can tell TRANSFORM was never part of any ANSI Standard. In fact, the
>'74 Standard did not have the functionality of TRANSFORM in its version of
>INSPECT. That came "back" with the '85 Standard when INSPECT CONVERTING
>(rather than REPLACING) was added.
>
> If I had a copy of the '74 Standard, I probably could "look up" in its
> Substantive Change section what the rationale was. However, they have
> scanned the '68 Standard, but not the '74 -- so I don't have a copy.
> (EXAMINE was in it).


ANSI X3.23-1974, page XIV-9...:
'2. APPENDIX B: THE REVISION OF AMERICAN NATIONAL STANDARD COBOL ...
2.3 DIFFERENCES BETWEEN X3.23-1968 AND THE REVISED STANDARD ...
2.3.2 Overview of the Revised Modules
As in X3.23-1968, the Nucleus is divided into two levels. The major changes
introduced into the Nucleus are...
(2) The EXAMINE statement has been deleted in favor of the more general and
powerful INSPECT statement. The INSPECT statement provides the ability to
count (Format 1), replace (Format 2) or count and replace (Format 3)
occurrences of single characters or groups of characters in a data item.'

Not much of a reason given there

K. Kiesel
Fujitsu Siemens Computers, München


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com