Created On:  26 April 2010
Problem:
In a COBOL program the following is specified:
COPY RDJABSAI OF SYSLIB.
This produces an error message during compilation:
COBCH0008S Unknown COPY file SYSLIB.lbr specified
How can we specify the SYSLIB?
COPY RDJABSAI OF SYSLIB.
This produces an error message during compilation:
COBCH0008S Unknown COPY file SYSLIB.lbr specified
How can we specify the SYSLIB?
Resolution:
Create a folder in the project containing the copybooks, for example SYSLIB.
In the build settings for the program set NOCOPYLBR directive.
With NOCOPYLBR, the Compiler assumes that the library is a path-name.
In the Project Workgroup, add dependency folder in All Dependencies - this path should be the folder created i.e. SYSLIB, add the copybooks required and the program should compile.
In the build settings for the program set NOCOPYLBR directive.
With NOCOPYLBR, the Compiler assumes that the library is a path-name.
In the Project Workgroup, add dependency folder in All Dependencies - this path should be the folder created i.e. SYSLIB, add the copybooks required and the program should compile.
Incident #2447320
Old KB# 31414
#MFDS
#EnterpriseDeveloper

