Big thanks to Scott Klement for getting me on the right track.
Trouble I was having with one CLI program calling another was that the 
second program was doing an additional connection to the database. 
According to the manual this additional connection in the same envrionment 
is not approved by the system.  The error I was getting was SQL0842 or 
08002.  It just doesn't imply what to do when you need to do this. (Unless 
I just missed it...)   Further digging I found the switch in the manual 
that changes the environments connection to server mode.   This 
essentially forces each connection into it's own server job so that 
multiple CLI programs can be called.
Thanks again
Jack Long
CBK Ltd.
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 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.