|
> 1º change directory CD '/mySources' > 2º CRTCMOD MODULE(SAMPLE) SRCSTMF(sample.c), with errors > 3º CRTCMOD MODULE(SAMPLE) SRCFILE(MYLIB/QCSRC) > SRCMBR(SAMPLE), without errors. > 4º change directory root CD '/' > 5º CRTCMOD MODULE(SAMPLE) SRCSTMF(/mySources/sample.c), > without errors Have you tried using (or setting) the INCLUDE environment variable before starting the compile ? ADDENVVAR or CHGENVVAR can be used to set the search paths for include files. If it's not set, the default is the current dir or lib, then QCLE and then QSYSINC only. Hope this may help, --phil +--- | This is the C/400 Mailing List! | To submit a new message, send your mail to C400-L@midrange.com. | To subscribe to this list send email to C400-L-SUB@midrange.com. | To unsubscribe from this list send email to C400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: bob@cstoneindy.com +---
As an Amazon Associate we earn from qualifying purchases.
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.