In the first case, I was getting SQL0312 at the PREPARE. Is it because of the host variables? The second case works fine. MyFile was also supposed to be in a host variable as its name is composed with the year.
I will probably override its name in a CL.
I'd be grateful if anyone can explain why the first case is not possible and how it should be done.
This mailing list archive is Copyright 1997-2026 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.