× 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 guess is the source file is too small...

Should be at least 91, per the help on the exception thrown (QWM2705) if
the file doesn't exist

If the file needs to be created to receive the output, use the
CRTSRCPF command with a record length parameter 12 positions wider than the
data width (for example, 91 for query management query source with data
width 79 or 162 for query management form source with data width 150).

Charles



On Fri, Feb 5, 2016 at 9:26 AM, <rob@xxxxxxxxx> wrote:

You're welcome.
Did you figure out how to resolve the truncation? Hopefully other than by
manually copying and pasting.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Hoteltravelfundotcom <hoteltravelfun@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 02/05/2016 09:22 AM
Subject: Re: query code from RTVQMQRY not ok
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Thanks Rob.

On Fri, Feb 5, 2016 at 7:51 AM, <rob@xxxxxxxxx> wrote:

Truncation error

If I use

select x, y, z, x*y as a, b,
(y*z)
from...

and my rtvqmqry returns

select x, y, z, x*y as
(y*z)
from...
SQL0104 - Token ( was not valid. Valid tokens: <IDENTIFIER>.

then it needs an <IDENTIFIER> like the a in the first example.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Hoteltravelfundotcom <hoteltravelfun@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 02/05/2016 06:58 AM
Subject: query code from RTVQMQRY not ok
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



HI I made RTVQMQRY on a Query/400 we have and this is giving error:
SQL0104 - Token ( was not valid. Valid tokens: <IDENTIFIER>.

Do you see what is wrong here?

SELECT
ALL T01.OUORDT, T01.OUORD#, T01.OUPRT#, T01.OUALS#, OUORG#-1 AS
((OUSHP#*OUNTU$))
FROM ASTA.OEHIStou T01 CROSS JOIN
ADTA.EGTYXRPF T02 CROSS JOIN
ASTA.OEINHdih T03
WHERE OUPRT# = EGITM#
AND OUORD# = IHORD#
AND( IHORDD BETWEEN 20151014 AND 20151014
AND EGTYPE = 'S')
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.