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



This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi All,

i'm trying to start SQL CLI and Query "CLI" in one Programm. But i've a
problem, at first i'm doing SQLConnect() to my 400 Database,
after that  i'm trying to do this Query Commands "START ...,   RUN ...,
SAVE DATA AS ...
And by step "SAVE DATA AS ...", my program crash with this error :

QWM1201    Information             40    02.10.11   13:15:48   QQXSRV01
QSYS        *STMT    QQXSRV01     QSYS         *STMT
                          Ausgangsmodul . . . . . . . :   QQXCPIMESS

                          Ausgangsprozedur  . . . . . :
QQxCPIMessage__SendMessage

                Anweisung . . . . . . . . . :   16
                Zielmodul . . . . . . . . . :   QQXSQLSTAT
                Zielprozedur  . . . . . . . :
QQxSQLStatement__HandleSQLError
                Anweisung . . . . . . . . . :   28
                Message . . . :   Command SAVE for Objekt DATA failed with
SQLCODE -204.
                Cause     . . . . :  The SQLCODE is -204. The SQLSTATE is
42704.
                                     The DB2 SQL OS/400-message text is :
The QQXTEMP1 type  *FILE in QTEMP
                                      not found.
                Recovery . . .  :  Check the job log for more information,
correct the error and try the request again.

And when i'm looking into QTEMP the QQXTEMP1 is there ????!!!! I could not
find another info about this problem !
And what interesting is, that if i'm trying to do at first the "SAVE DATA
AS ..." Query Command, its working but if i'm trying then
do a SQLConnect() it failed with message that, "source already connected"
!!!!????

Regards peter


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.