×
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.
On 20 May 2013 17:58, Mike Cunningham wrote:
<<SNIP>> And there is always the option to have an application create
the DDS source on the fly and include only records that are "today",
create the LF and then delete it.
Replying to this message, because I am too lazy to find the Opening
Post or my reply suggesting similar and also because the quoted text is
a good lead-in.
And there is also the option to use OPNQRYF to share the ODP with an
RLA program [although I am under the impression this is not what the
Original Poster wants], with the selection performed by the query, most
likely using the QRYSLT parameter. Although not a /logical file/
specifically, it is in effect a logical view\path to the data, and a
temporary query ODP may be more desirable than a temporary logical file.
A possible example:
dcl &svDateTime *char 20
dcl &todaysdate *char 08 stg(*defined) defvar(&svDateTime 1)
rtvsysval QDATETIME &svDateTime
ovrdbf thefile share(*yes) ovrscope(as_appropriate)
opnqryf thefile qryslt('OHORDT *eq' *bcat &todaysdate) opnid(tf)
/* do here what is required of\with the shared ODP; e.g. CALL */
clof opnid(tf)
As an Amazon Associate we earn from qualifying purchases.
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.