#MEMBER# is set to the name of the source module to be compiled by an external process. All of the source files -- .C and .h -- are in the same folder, but I guess they would not need to be. This is CBCC, but CBCCL should be very similar.
Member CCOPTF does not contain any of the SEARCH type parameters. //CC EXEC CBCC, // CPARM='OPTF(DD:SYSOPTF)' //SYSIN DD PATH='/u/userid/Source/#MEMBER#.C' //SYSLIN DD PATH='/u/userid/Object/#MEMBER#.o', // PATHOPTS=(OWRONLY,OCREAT),PATHMODE=SIRWXU //SYSLIB DD PATH='/u/userid/Source' //SYSOPTF DD DISP=SHR,DSN=hlq.CNTL(CCOPTF) Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Donald Likens Sent: Wednesday, February 25, 2015 7:23 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: C++ Batch compile with includes in a USS directory I want to do a batch compile using procedure CBCCL with the #includes that are required to compile the source in /VERSYSB/usr/lpp/IHSA/V8R5/include. I tried pointing the SYSLIB DD to this directory. I also tried the SEARCH option. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN