Page 1 of 1

Compile error when using Procedure called OpenAllFiles()

Posted: Fri Aug 20, 2010 10:13 am
by RichDotson
I created a procedure called OpenAllFiles(). When I try to compile the program I get the following errors:

Code: Select all

*RNF7030 30   1266 000020+ The name or indicator P_ is not defined.      

Line   <---------------------- Source Specifications --
Number ....1....+....2....+....3....+....4....+....5...
  1266+   QrnOpenAccess_T.stateInfo = P_;


If I change the procedure name to OpnAllFiles() the program compiles and executes correctly.

Is there a problem with using the word 'Open' in procedure names?

Re: Compile error when using Procedure called OpenAllFiles()

Posted: Fri Aug 20, 2010 11:08 am
by Rob
It looks like the pre-processor is getting confused with the name of the procedure. We will investigate and make a change to a future release. Thank you for your feedback.