ALOWCOPYLOC

ALOWCOPYLOC affects whether COPYLOC options can be used when compiling COBOL programs.

Syntax

Read syntax diagramSkip visual syntax diagramALOWCOPYLOC=YESNO
Default
ALOWCOPYLOC=YES
YES
Allows the specification of COPYLOC options when compiling COBOL programs.
NO
Diagnoses the specification of any COPYLOC options as an error.
Note:
  • ALOWCOPYLOC cannot be overridden at compile time because it cannot be included in the PROCESS (or CBL) statement.
  • If your installation requirements do not allow COPYLOC compiler options to be specified in a source program, specify ALOWCOPYLOC=NO.

Related references  
COPYLOC (Enterprise COBOL Programming Guide)