The initial question about include files, that depends on what was used for the #include in the source. If it was something like #include “abc.h” then it should take the current directory first (see the LSEARCH option defaults). Only if they used the #include <abc.h> form in the source would they get the issue they mentioned since that is a system include which uses the system paths (obvious security issue if it took the current working directory first for system headers). - There's a namespace clash with termcap.h but on Linux systems it doesn't matter as the contents are identical. Not so with z/OS.
For the second issue about the file type error, they can try setting the CCMODE environment variable. Ex. Do export _C89_CCMODE=1 before the compilation command. Note that keeping the -L and -l is fine and should work as well. - Perfect! Thanks. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN