I need to know the correct format for NOT INVALID key..... as the below code segment is giving an error for 'NOT'.
Also, if I don't give the 'NOT INVALID KEY' clause,will the control return to the statement after INVALID KEY clause(i.e , PERFORM 2210-CALC-PRE) or simply exit the 2200-CHECK para.
I need to perform 2210-CALC-PRE only if the key is found in VSAM file.
I think the period(.) after the 9000-EXIT terminates your READ statement. Use a single period only at the end of a paragraph. It's better to use explicit scope-terminators(END-READ, END-IF etc) rather than using periods within a para.