Skip to main content

This article explains a workaround if MTO-BMS demo prompts to rebuild after a Rebuild All.

Problem:


  1. Open ...\\demo\\MTO-BMS\\acct.app
  2. Rebuild All
  3. Start animating
  4. A pop-up window shows up indicating that "The following project files need rebuilding:" The files are acct01.cbl, acct02.cbl, and acct03.cbl.

Resolution:

It is normal to be prompted to rebuild again because the BMS is compiled last in the project, which means that the generated copybook from that BMS file will be more recent than the one used to compile the other COBOL programs that were compiled before the BMS. A workaround is:


  1. Remove all CBL's from the project tree
  2. Add all CBL's to the project tree
  3. Sort the project tree according to project order (in the order the files were added)

The result should cause the BMS to be compiled first and all COBOL programs that will use the newly generated copybook to be compiled after.

Old KB# 14306

#COBOL
#netexpress
#Enterprise
#Server
#EnterpriseServer