×
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.
My first suggestion would be to update to 7.1/7.2 :-) Those releases have a
lot of SQL goodies that make me drool every time I read about a new TR....
Regarding UDTFs, as expressed so aptly by Rob and Chuck, it shouldn't be a
great deal. The following is a *very* quick and dirty code, with a lot of
shortcomings, specially in the area of error handling. It is, I think,
relatively harmless. Buyers beware, though :-)
****************
DROP FUNCTION @520.dsp_objd;
CREATE FUNCTION @520.dsp_objd(lib_name varchar(10), obj_type
varchar(07))
RETURNS TABLE(
libname char(10)
, objName char(10)
, objType char(10)
, objAttr char(10)
, objText char(50)
)
LANGUAGE SQL
DISALLOW PARALLEL
MODIFIES SQL DATA
NOT FENCED
BEGIN
declare w_cmd varchar(80);
declare w_len numeric(15, 5);
declare table_already_exists condition for '42710';
declare continue handler for table_already_exists
delete from session.ret_objects;
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.