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



Good news is that V6R1 brings you some terrific enhancements in this realm
that would solve this riddle for you (provided you're on V6R1 of course).
See this article for details:

http://www.mcpressonline.com/tips-techniques/programming/techtip-runsqlstm-i
s-bigger-and-better-in-v6r1.html

If you're on a prior release, I'm afraid you'll have to live with the
limitation or resort to an alternate way to build your database objects
(i.e. iNav's Run SQL Script facility).
BTW, I think STRQMQRY has a similar limitation (for some reason I keep
thinking 79, but that can't be right).

Hth, Elvis

Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
OS/400
www.centerfieldtechnology.com


-----Original Message-----
Subject: source file

Hi All,
To promote the SQL based objects such as Tables, Stored Procedures, etc.,
TurnOver uses the RUNSQLSTM which has the limitation that it only reads the
first 80 columns of the source file even when the file length is greater
than that and we took 112 as source file record length. So, if I create or
change the code using a file with record length greater than 80 and the
code extends beyond the 80 columns then the code in column 81 and above gets
ignored. This is resulting in a syntax error thus preventing the objects
from being promoted or if this doesn't result in a systax error then the
objects will be promoted with no errors and could cause runtime error .
Is it only resolution that I have to reduce source file length (QSQLSRC)
from 112 to 92?
Are there any commands that support only 80 length or less than that or more
that? any insights are highly appreciated.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.