× 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've been trying more and more with SQL in recent months so I thought that
I would try your sample below.  It all worked fine except for the parm:
STRDLM(*DBLQUOTE)
Is this a V5R4 thing?  We're at V5R3 with the latest PTF's as of about 2
weeks ago.  I did substitute a double-quote character (") and it worked
fine from that point on.


Dave Parnin
--
Nishikawa Standard Company
Topeka, IN  46571
daparnin@xxxxxxxxxxxxxx




                                                                                
                                                          
                      rob@xxxxxxxxx                                             
                                                          
                      Sent by:                    To:       Midrange Systems 
Technical Discussion <midrange-l@xxxxxxxxxxxx>               
                      midrange-l-bounces@m        cc:                           
                                                          
                      idrange.com                 Subject:  Re: Converting 
Query Manager query output to Excel and Access                 
                                                                                
                                                          
                                                                                
                                                          
                      06/01/2006 04:03 PM                                       
                                                          
                      Please respond to                                         
                                                          
                      Midrange Systems                                          
                                                          
                      Technical Discussion                                      
                                                          
                                                                                
                                                          




STRSQL
CREATE TABLE QTEMP/ODOM (MYCHAR CHAR (15 ) NOT NULL WITH DEFAULT,
MYDEC DEC (7 , 2) NOT NULL WITH DEFAULT, MYDATE DATE NOT NULL WITH
DEFAULT)
INSERT INTO QTEMP/ODOM VALUES('A', 1.25, '05/31/2006')
1 rows inserted in ODOM in QTEMP.
INSERT INTO QTEMP/ODOM VALUES('B', 8.55, '05/25/2006')
1 rows inserted in ODOM in QTEMP.
INSERT INTO QTEMP/ODOM VALUES('C', 9, '05/15/2006')
1 rows inserted in ODOM in QTEMP.
F3
CPYTOIMPF FROMFILE(QTEMP/ODOM) TOSTMF('/ROB/ODOM.CSV')
STMFCODPAG(*PCASCII) RCDDLM(*CRLF) STRDLM(*DBLQUOTE) FLDDLM(',')
Start, Explorer    \\gdisys\root\rob\ODOM.CSV
A           B           C
A          1.25   5/31/2006
B          8.55   5/25/2006
C          9      5/15/2006

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Dave Odom" <Dave.Odom@xxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
06/01/2006 03:16 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
<midrange-l@xxxxxxxxxxxx>
cc

Subject
Converting Query Manager query output to Excel and Access






Rob, et al,

You mentioned once that to do what I want I should use the CPYTOIMPF
command.   Do you or anyone have any specific examples of the steps
where output of a QM query or Query/400 for that matter is "exported" to
a PC in a format for Excel and/or Access?

Thanks in advance,

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


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



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.