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



So much of...

Except that CL can't write data to a source file (directly).  You'd
have 
to call an HLL or QShell to write the records, and if you're going to
do 
that, you may as well use the HLL or QShell to execute the SQL commands

directly rather than writing it to a source file  <<<

Call the SQL from REXX (best way) using something like:
                                                               
   INSERT_STMT = 'INSERT INTO HTEUSR/PRNCELS   VALUES(?,?)'    
                                                               
 ADDRESS '*EXECSQL'                                            
      EXECSQL 'SET OPTION COMMIT = *NONE'                      
      EXECSQL,                                                 
               'PREPARE S1 FROM :INSERT_STMT'                  
      EXECSQL 'EXECUTE S1 USING :fname1, :exten'               

 OR write to files via REXX and you don't have to mess with any CL,
QShell, HLL, etc. 

Just a workable and simple alternative.

Take care,

Dave 

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.