I am trying to use the Environment Statement to replace the Old Wang Putparm VSSubs. Here are the statements I am using. SET ENVIRONMENT compcod to "DB" in the program AR07.txt. Here is the other ENV. ACCEPT COMPANYCODE FROM ENVIRONMENT "COMPCOD" in AR0710.txt.
When I run the programs Companycode is blank not "DB". I must be doing something wrong but what? Any reference to a Acucobol Manual will help. I have included the programs and just search for compcod and companycode