I am trying to filter on a field that is 260 characters and is filled with concantenated values of a code. There can be one or many codes in this 260 character field.
I have used a statement of:
*WHERE ( SBDIS LIKE '%D30600%' OR '%D30602%' OR '%D30614%' OR '%D30616%')
to find specific intances of codes within this field.
and I have seprately used a statment of:
WHERE B593KEY_13 IN FILE 13BTN
to find a match between the field and a file that has a collection of values I am looking for.
Is there anyway to do a combined "in file" with wildcards? Something like:
WHERE %SBDIS% LIKE IN FILE 13BTN
What I need to find is a set of records where SBDIS contain any of a list of 150 specific codes. I would like to use a file to lookup those values instead of hardcoding them into a statement like the first one.
Any suggestions?
PROD: WebFOCUS 7.1.4 on Win 2003/Microsoft-IIS 6.0/ServletExec 4.2/JAVA version 1.5.0_09
DEV: WebFOCUS 7.6.1 on Win 2003/Microsoft-IIS 6.0/ServletExec 4.2/JAVA version 1.5.0_09
LOCAL: WebFOCUS 7.6.2 on Win XP SP2/Apache Tomcat 5.5.17/JAVA version 1.5.0_09