Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Errors with Standard OO Program

$
0
0

Change the account class so that it uses just the UPDATE ON option of the repository directive and add the as "base" to the CLASS phrase as shown below:

     $set repository "UPDATE ON"
      CLASS-ID. Account INHERITS Base.
      ENVIRONMENT DIVISION.
      CONFIGURATION SECTION.
      REPOSITORY.
          CLASS Base as "base".

Do not use the repository directive for the bankmain.cbl at all.

This worked fine for me...

Thanks.          


Viewing all articles
Browse latest Browse all 4356


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>