I have a program A in which at the beginning I am assigning a ws-count variable to a value of '0' using value is clause.
During program execution this value changes and my program ends with 'go back' statement,
now the transaction has not been committed and the jcl which invoked this program is also still running. Program A is called again , and the value of ws-count i see is preserved..
I thought that each time program would start , "value is" clause should initialize this variable ws-count to '0'.. Is that wrong.