×
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.
geir.kildal@xxxxxxxxxx wrote:
Yes - this may not belong here - but I'm only onto this
list for the time being.
I' just changed a couple of central files in my
COBOL-system and recompiled - all well, but I also have
a huge number of queries which are using the same files.
I have to open and close them to make them pick
up the new file definitions.
My question is: Do I have to do this manually one query
by one - or is there a cunning method of some kind that
will do this for me?
There is no API nor command interface to change a *QRYDFN object,
nor any interface to create-from-source that is provided by the
Query/400 feature. There is only the interactive WRKQRY [optionally
entered via QRY for s/36e] by which the *QRYDFN object can be
modified; except for run-time override by OVRDBF or QRYFILE of
RUNQRY, but that is of little to no assistance for changed files.
Refer to the following message which gives comment about keyboard
macros or other similar 'screen scraping' methods, and mention of
plus links to a usage of the Virtual Terminal [VT] APIs to
accomplish changes via the interactive interface, presumably with
little user intervention:
http://groups.google.com/group/it.comp.as400/msg/60cd82649761f92d?hl=en
Regards, Chuck
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.