|
My client is using a software product that, in its latest
inception, decided to switch most of its descriptive/name
fields from (A) Alphanumeric to (O) DBCS-Open data types.
There are hundreds or thousands of queries that have been
developed over the years using SEQUEL (not to be confused with
SQL), which apparently has problems supporting this data. It
turns out that if we specify (for example) SST(problem_field, 1,
30) then SEQUEL does what we want, but careers can be made in
locating each of these fields and then making the appropriate
change to each and performing the necessary testing. And with the caveat that these sorts of problems are found only at run
time, this has the potential of being a longstanding nightmare.
To bridge this gap, I would like to create SQL views and/or DDS
logical files over the problem physicals, whereby the "view"
would have (A)-type data, thereby giving us an intermediate file
against which to query until the SEQUEL problem is resolved.
(There is no current ETA for such resolution.) I cannot seem to
come up with a means of converting the data with any - shall we
say "interesting" - DDS file descriptions. I'm sure I could
fairly easily write an SQL function that could be used in an SQL
view (e.g. DBCS2ALPHA), but I'd rather avoid that if only for
performance reasons. In my initial design, the views would have
the same name as the physical, but would reside in a different
library, which would ideally be first in the query's library
list, hopefully limiting the complexity of this whole scenario.
Is this a problem that has been solved before by anyone on this
list who might be willing to share? Do you have a trick for
handling a DBCS-Open field as alpha, for example? Do you have
some other solution?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.