RPG programs and COBOL programs that execute in the AS/400 environment often use copy statements that reference Database Description or Device Description files rather than copybooks. MCP COBOL programs occasionally use copy statements that reference DMSII DASDL files. If your application uses copy statements to reference these types of files, you need to verify the files and generate copybooks for the application before you verify program files.
Copybook generation takes place in two steps:
Settings on the Generate Copybooks tab of the Options - Project properties dialog box determine conversion behavior. The default values should be appropriate for most installations. Click . This opens the Options - Project properties dialog box. Click the Generate Copybooks tab and specify the options that you require.
The system creates a target copybook for each database or device file object, with a name of the form database file.DBCOPYBOOK or device file.DVCOPYBOOK, in the Target Copybooks folder.