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