How to handle special register "TALLY".
I am working on a modernization code where we are upgrading netexpress to visual cobol for visual studio. In one of the code special register character "Tally" is being used which is throwing back error saying that "Operand tally is not declared.
After doing some search got to know that I need to enable it using either the OSVS or VSC2 compiler directives. Since I have basic idea on cobol and not an expert, so can someone please help me as how to include the compiler directives to get rid of the error.
For file level properties go to the Solution Explorer, right click on the program and on the Property Pages dialog select COBOL and you can select a mainframe dialect, which will set the compiler directives necessary for that particular dialect, or alternatively you can add the required directive to the Additional directives field.
For project level, right click on the project in Solution Explorer and select the COBOL tab. From there it is similar o what I have just mentioned ie you can select a mainframe dialect or add the required directive to the Additional directives field and that will be applied to all of the COBOL programs in the project.