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



Running a CL program on a 520 at V5R3.  Within program, pumping fields to QM to 
write(INSERT) to a file.  The record is written, but the following occurs and 
pgm aborts.
 
   STRQMQRY   QMQRY(MGROSS/VAILIBSTSW) OUTPUT(*OUTFILE) +   
                OUTFILE(MGROSS/VAILIBSTS) OUTMBR(*FIRST +   
                *ADD) SETVAR((OBJNAM &OBJNAMX) (OBJSRCLIB + 
                &SRCLIB1X) (OBJTGTLIB &TGTLIB1X) (OBJTYP +  
                &OBJTYPX) (OBJATR &OBJATRX) (SYSDAT +       
                &SYSDATX) (SYSTIM &SYSTIMX) (OBJDUPSTS +    
                &OBJDUPSTSX) (OBJDUPMSG &OBJDUPMSGX))       
                                                            
No query data to SAVE.
 
Message ID . . . . . . :   QWM2204       Severity . . . . . . . :   30         
Message type . . . . . :   Information                                         
Date sent  . . . . . . :   11/22/05      Time sent  . . . . . . :   15:21:03   
                                                                               
Message . . . . :   No query data to SAVE.                                     
Cause . . . . . :   The SAVE DATA command was issued prior the successful      
  completion of a RUN QUERY command with an SQL SELECT statement.              
Recovery  . . . :   Issue a RUN QUERY command on a query that contains an SQL  
  SELECT statement and if it completes successfully try the SAVE DATA command  
  request again.   
 
Thanks for any suggestions....
 
Matt                                                            

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.