On Tue, 20 Oct 2009 08:47:51 -0400, Don Poitras <sas...@sas.com> wrote:
>des...@verizon.net wrote: >> >> sas...@sas.com (Don Poitras) writes: >> >> > Try: >> > >> > #include <sys/types.h> >> > >> > If you look inside the EDC4H031 member, you see this as the comment. >> > >> > * <sys/types.h> header file >> >> Note that to get hold of something in "sys/" you really >> should not be defining the location of header files with >> DD cards. There just aren't enough hints in a concatenation >> of PDSs. >> >> Use the SEARCH/LSEARCH parameters and give up SYSLIB completely. > >For standard headers? I've never needed to do this. The IBM PROCs seem >to be setup correctly. For SAS/C, we have a separate file you need to >use that maps odd #includes to member names. > >-- >Don Poitras - zSeries R & D - SAS Institute Inc. - SAS Campus Drive >mailto:sas...@sas.com (919)531-5637 Fax:677-4444 Cary, NC 27513 > You should review the compile listing to see if the SEARCH option is in effect. HTH, Dave Waldman ***z/OS V1R9.0 XL C/C++ User's Guide*** 4.97 SEARCH | NOSEARCH Category Compiler input Pragma equivalent None. Purpose Specifies the directories or data sets to be searched for system include files. When the SEARCH compiler option is in effect, the preprocessor looks for system include files in the specified directories or data sets . System include files are those files that are associated with the #include <filename> form of the #include preprocessor directive. See "Using include files" in topic 7.16 for a description of the #include preprocessor directive. When the NOSEARCH compiler option is in effect, the preprocessor searches only those data sets that are specified in the SYSLIB statement. Syntax <─,────&#9472;──────┐ ┌─SE──(────┬────┬──opt─┴──)─┐ │ └─//─┘ │ >>──┴─NOSE──&#9472;────────────&#9472;──────┴────────────&#9472;──────────── ─────────────&#9472;>< Defaults For C++, the default option is SE(//'CEE.SCEEH.+, //'CBC.SCLBH.+'). For C, the default option is SE(//'CEE.SCEEH.+'). ***end snip*** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html