I'm glad you've had some progress.
However, Y2CCxxxx "date processing" looks like "Year 2000" stuff. If you remove it, you'd best be sure it is no longer needed.
I think you need to track the S0C4. If the program-code is memory is being "overwritten", then removing a bit of code can sometimes make the problem "go away" in that an abend is no longer caused, but can just mean that something else is going on that doesn't get noticed, over overwriting "first time" code, so you don't know it's gone.
It may well be the first line of code in the copybook, then the compiler is showing you the first line-number in the compile that "could be" involved.
000200 MOVE A
000201 TO B
If it is A which causes an abend, you'd want to see 000200. If B, to avoid confusion, you'd still want to see 000200.
000200 MOVE A TO B MOVE C TO D MOVE E TO
If "F" causes a problem...
Maybe have a look at http://ibmmainframes.com
going forward. It won't automatically be assumed you are a beginner, but make sure you ask "good questions".