View previous topic :: View next topic
|
Author |
Message |
TS70363
New User
Joined: 07 Apr 2010 Posts: 94 Location: Bangalore, India
|
|
|
|
Do we any command or utility or function to find out the corresponding scope terminator in cobol? |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
The 'IF/THEN/ELSE' terminators are provided in the compile listing, directly to the left of the code.
Unless you have a 3rd-Party debugger, which may give you these terminators, it's a manual process.
Bill |
|
Back to top |
|
|
mtaylor
Active User
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. |
|
Back to top |
|
|
|