×
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.
You sadistic dyslexic! It's not SQL1078, it's SQL0178. I used a utility
called SCNMSGF to find it. :-)
If you use
DSPMSGD RANGE(SQL0178) MSGF(QSQLMSG)
and look at the full text of the message you will see:
Message . . . . : Query expression text for view &1 in &2 too long.
Cause . . . . . : The query expression text for view &1 in &2 is longer
than
10000 bytes and does not fit in the SYSVIEWS catalog view. The
statement
text cannot be stored in the system catalog views. The VIEW_DEFINITION
column of the SYSVIEWS catalog view will contain the null value for this
view.
Recovery . . . : No recovery is necessary. If the complete text is
required in the system catalog views, recreate the view with the length
of
the query expression less than or equal to 10000 bytes.
Basically, if you rely upon SYSVIEWS to be able to retrieve the source,
you're screwed.
I do not know what bearing, if any, this message has upon this api
Generate Data Definition Language (QSQGNDDL) generates the SQL data
definition language statements required to recreate a database object.
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/qsqgnddl.htm?lang=en-us
I suspect little to none since the system catalog can easily be rebuilt by
a RCLSTG *DBXREF.
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.