IMPORTANT NOTICE: As of 21 February, anything posted in this community WILL NOT BE MIGRATED to our new community site. We have pulled all user information and data from this site and are now in an approximately week long process of importing users, roles, and data to our new site. We are leaving this site open and active so you can post and hopefully get a response until the migration is complete. Once complete, the URL that currently takes you to this site will take you to our new site so your bookmarks will work as always. Please read the information on a New Login Process
Problem
When I try to parse a source module that contains 1 or more nested programs in it, (ie there is more than one IDENTIFICATION DIVISION within the source module), then I get an error on subsequent IDENTIFICATION DIVISION statements saying they are illegal.
How do I proceed?
Resolution
Although a number of Cobol compilers (eg OSVS and Micro Focus) support nested programs, they are not supported by Enterprise Analyzer (EA) or Modernization Workbench (MW). The work-around is to remove the sub-programs and place them into separate files and then parse them as separate entities.
If this is being done as part of the BRP process, then this should be done as part of the staging user exit, as it needs to have done prior to the programs being loaded into the product, which is the update phase.
Incident # 2603921