Author: enrico-sorichetti
Subject: Reply to: Wildcard logic in COBOL
Posted: Mon Sep 05, 2016 4:22 pm (GMT 5.5)
my snippets were not a direct suggestion for You to use them,
the question tickled my mathematics oriented mind - and I posted them
there should be a section dedicated to algorithm and code snippets - not/loosely related to questions asked
but really FIRST THE LOGIC and after that the programming language,
if You have a good logic the programming language will just be a lowly technicality
the rexx approach should work with cobol
and it will be easier because it splits the problem in two
the first half will be concerned only with the mask/pattern
the second one only with the string to be matched
all should be easy to implement with string reference and a couple of arrays
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort![icon_cool.gif]()
Subject: Reply to: Wildcard logic in COBOL
Posted: Mon Sep 05, 2016 4:22 pm (GMT 5.5)
my snippets were not a direct suggestion for You to use them,
the question tickled my mathematics oriented mind - and I posted them
there should be a section dedicated to algorithm and code snippets - not/loosely related to questions asked
but really FIRST THE LOGIC and after that the programming language,
if You have a good logic the programming language will just be a lowly technicality
the rexx approach should work with cobol
and it will be easier because it splits the problem in two
the first half will be concerned only with the mask/pattern
the second one only with the string to be matched
all should be easy to implement with string reference and a couple of arrays
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
