× 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.



I am looking at using an SQL function on a working field that is not in a
table. I've found some references in the archive about using QSQPTABL as
the from-table to accomplish this.

Because I am looking to use this in a production application, I am trying to
determine how reliable it is for me to assume that:
1) the QSQPTABL will always be available, and
2) it will always have ONLY one record.

I searched for QSQPTABL in the v5r4 InfoCenter, and came up with zero
results. When I searched using the "global" search box in InfoCenter, the
results were PSP (Preventive Service Planning) notices or PTF cover letters
that use QSQPTABL in example code to demonstrate how an SQL function is
used, with no explanation of what QSQPTABL is or why it is used. Of course,
the implicit reason is that it is presumed to always exist on every system
and always has one record.

And what a weird table! One record, with one field, a 4-byte binary having
a value of 1. There's no description on the file object.

Is this table documented by IBM anywhere that indicates its purpose?

TIA,
Dan

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.