× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



message: 9
date: Thu, 21 Apr 2005 11:19:41 -0700
from: dpalme@xxxxxxxxxxx
subject: Logical file COMP designation

I need to setup a LF that has multiple COMP designations and I am not quite 
sure how to position it within the SEU.

What I need to do is a date range for 02/01/2005 through 01/31/2006

I thought I could do something like

     A          S IHDINVDATE                COMP(GT '02/01/2005' AND LT
     A                                      '01/31/2006')              


But that doesn't work.

Suggestions? All of the manuals I have do not give examples or instructions 
on making multiple comparison statements within the dds.

----

I'm a bit rusty on this, but wouldn't you just do:
     A          S IHDINVDATE                COMP(GT '02/01/2005')
     A            IHDINVDATE                COMP(LT '01/31/2006') 

AFAIK, the above is an 'AND' condition, and if you had prefixed the second
'IHDINVDATE'
with 'S', then it would have been an 'OR'. Each 'S' in column 17 starts a
new, and unrelated select group. You might need to add an omit group
afterwards as well, like:
     A          O                           ALL                        

You should double-check the DDS Reference Manual though, I'm positive it has
plenty of examples and explanations of this in the logical file section.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.