Joined: 20 Feb 2009 Posts: 108 Location: Kansas City
You'll need a Cobol parser for this and I don't know of any free ones available. There are a few for pay if you search. I have a partial implemention, but I've not worked on it in quiet some time. Scope termination is one thing that makes Cobol tough to parse due PERIOD (.) closing all previous scopes.