Redefines clause is used to allocate more than one data in
same memory location
ex:- 77 a pic 9(5).
77 b redefines a pic 9(5).
Type: Posts; User: eminem123; Keyword(s):
Redefines clause is used to allocate more than one data in
same memory location
ex:- 77 a pic 9(5).
77 b redefines a pic 9(5).
Well, since your question sounds basic, i will just explain the most basic answer -
1.Prepare your batch job
2.JEM (utility to check if the job is error free)
3.Once you have zero errors, ...
the INSPECT TALLYING clause in COBOL can be used in an effective manner to get the count of characters and also to replace with the required character of spaces as required.
SOC7 happens most frequently in cases of data mismatch.
For eg,
W-RT-AGE PIC 99
Now if u move a value 100 into this field, a SOC7 abend would occur.This is just one example of data mismatch.You...