1 Jul 2010 02:03
Re: Problem with C++ module creation using INCLUDE env. variable
On 01/07/2010, at 12:40 AM, DARIUSZ OLBER wrote: > it is running interactively. OK, then it's not because the environment variables are not being copied to the batch job (see CPYENVVAR keyword on SBMJOB command for more information). I think it's perhaps because of the complicated relationships between SRCSTMF, INCDIR, OPTION, and the INCLUDE environment variable. Note that I don't use source stream files but I note from the C/C++ Compiler Reference (for VRM610): Chapter 4. Page 85 2. If SRCSTMF is specified, then the following compiler options are ignored: o INCDIR( ) o OPTION(*INCDIRFIRST) o TEXT(*SRCMBRTXT) o OPTION(*STDINC) o OPTION(*SYSINCPATH) Note that INCDIR is ignored in this case (seems peculiar behaviour to me so perhaps the documentation is wrong on this point. It also contradicts the C/C++ Programmer's Guide). Note also that OPTION(*INCDIRFIRST) is ignored; this is relevant to the next item (but also seems wrong to me).(Continue reading)
RSS Feed