Home > Archive > Cobol > February 2006 > Re: Search for a string using SORT
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: Search for a string using SORT
|
|
| yaeger@us.ibm.com 2006-02-09, 6:55 pm |
| docdwarf@panix.com wrote:
>...
> ... but I was unaware that DFSORT could do this ('SS' as a format is
> mentioned in the documentation here and there but appears to be missing
> from
> <http://publibz.boulder.ibm.com/cgi-...4143823#TBLBOZO>
> and
> <http://publibz.boulder.ibm.com/cgi-...124143823&CASE=>
> ... and to learn A New Thing can be pleasant.
You're looking too deep into the DFSORT doc. If you started at the
beginning of the INCLUDE statement doc, you would have found it:
http://publibz.boulder.ibm.com/cgi-...=20050222160456
See 2. under the four types of relational conditions.
Also, see this item on the DFSORT website:
http://www.ibm.com/servers/storage/...tmbinc.html#ssl
And if you want to see some even fancier stuff that DFSORT can do, look
for IFTHEN, OVERLAY, UFF, SFF, etc in my paper on DFSORT's Dec, 2004
PTF:
http://www.ibm.com/servers/storage/...pdug/index.html
Frank Yaeger - DFSORT Team (IBM) - yaeger@us.ibm.com
Specialties: ICETOOL, IFTHEN, OVERLAY, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort/
| |
|
| In article <1139507083.530975.67820@o13g2000cwo.googlegroups.com>,
<yaeger@us.ibm.com> wrote:
>docdwarf@panix.com wrote:
><http://publibz.boulder.ibm.com/cgi-...4143823#TBLBOZO>
><http://publibz.boulder.ibm.com/cgi-...124143823&CASE=>
>
>You're looking too deep into the DFSORT doc.
Eh? Looking in the tables that list the various format types is 'too
deep'? Another new thing learned!
>If you started at the
>beginning of the INCLUDE statement doc, you would have found it:
>
>http://publibz.boulder.ibm.com/cgi-...=20050222160456
>
>See 2. under the four types of relational conditions.
I saw... but perhaps I missed something. From the URL you give above:
--begin quoted text:
2. Substring Comparison Tests:
Search for a constant within a field value or a field value within a
constant.
For example, you can search the value in a 6-byte field for the character
constant C'OK', and include only those records for which C'OK' is found
somewhere in the field. Or you can search the character constant
C'J69,L92,J82' for the value in a 3-byte field, and include only those
records for which C'J69', C'L92', or C'J82' appears in the field.
See "Substring Comparison Tests" in topic 3.7.4 for information about
substring comparison tests.
--end quoted text:
.... where the URL for '"Substring Comparison Tests" in topic 3.7.4' is
<http://publibz.boulder.ibm.com/cgi-...60456#HDRSUBSTR>
and this text is, more-or-less, repeated.
Nary a peep about startpos,len,SS,C'string' that I can see... but perhaps
my eyes ain't what they used to be.
>
>Also, see this item on the DFSORT website:
>
>http://www.ibm.com/servers/storage/...tmbinc.html#ssl
>
>And if you want to see some even fancier stuff that DFSORT can do, look
>for IFTHEN, OVERLAY, UFF, SFF, etc in my paper on DFSORT's Dec, 2004
>PTF:
>
>http://www.ibm.com/servers/storage/...pdug/index.html
Newfangled stuff... '04, and of this century, too! Greatly appreciated,
Mr Yaeger.
DD
|
|
|
|
|