List,

I am trying to direct my COBOL compiles to look in a specific 
library/sourcefile for copybooks when executing CRTBNDCBL. Looking at the 
parameter list for CRTBNDCBL, the closest thing I see to support this is the 
INCDIR() parameter. But the help for INCDIR is confusing. It references 
"directories" and not "sourcefiles" in libraries.

Is INCDIR what I need to use or is there some other way to do this?

If INCDIR is correct, is the format the same for specifying a 
library/sourcefile, i.e. INCDIR(UTILLIB/QCBLLESRC) ?

             Include directory (INCDIR) - Help

 Specifies one or more directories to add to the search
 path used by the compiler to find copy files.  The
 compiler will search the directories specified here if the
 copy files in the source program can not be resolved.


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.