Joined: 31 Oct 2007 Posts: 11 Location: Bangalore - India
My requirement is as below. I have to search for a particular String S1 whether it is part (ie.., Substring) of another string S2.
The basic verb INSPECT can be used with TALLYING Option to identify whether S1 is part of S2. But the Length of S1 is not pre-defined. Only the Maximum Length is known to me & S1 can have any number of characters incluing Spaces.
Is there any Cobol Verb that can be used for above requirement?