Page 1 of 1

include error

PostPosted: Wed May 23, 2012 7:54 pm
by surime72
hi guys ,
i was tried to compile t was getting following error
IBM3841I S 70.0 The INCLUDE file EOGPREC could not be opened.

Re: include error

PostPosted: Wed May 23, 2012 8:27 pm
by NicC
So? Some details please, if you wish some help. Like: foreground or batch? EOGPREC - is that the name of the member to be included? Is it in the library the compiler is expecting it to be in? Are you sure that the library is in the concatenation for source code?

Re: include error

PostPosted: Wed May 23, 2012 9:35 pm
by dick scherrer
Hello,

As Nic mentioned - if you want help, you need to post something that we can use to help you.

Suggest you post the JCL you used when the error was detected - we can go forward from there.

Re: include error

PostPosted: Wed May 23, 2012 9:37 pm
by NicC
Dick, if it is foreground compile then there would be no JCL hence my query on that.

On the other subject from yesterday - got it sorted!!!!! Courtesy of a post on THIS forum. Just goes to show - invest time in using the facilities one does not need to post.

Re: include error

PostPosted: Thu May 24, 2012 12:31 am
by Akatsukami
surime72 wrote:hi guys ,
i was tried to compile t was getting following error
IBM3841I S 70.0 The INCLUDE file EOGPREC could not be opened.

This is a preprocessor error. Does this module use CICS and/or DB2? Are you attempting to use the macro preprocessor and, if so, do you really need to? (Are you using preprocessor directives other than %INCLUDE and %PAGE?)