Numbering on COBOL



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Numbering on COBOL

Postby vinudayal » Wed Jul 23, 2014 6:38 pm

I edited a COBOL program, and added many lines in many places of middle of the existing code. Whereever I added new code, line numbers are not displayed. What is the command which I can give to renum. RENUM ON is not adding the line numbers on new lines which I added. Please help me out on this,
vinudayal
 
Posts: 3
Joined: Wed Jul 23, 2014 6:35 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Numbering on COBOL

 

Re: Numbering on COBOL

Postby vinudayal » Wed Jul 23, 2014 6:56 pm

And, RENUM STD COB worked for me. But now problem is with comparing old and new programs. Since line numbers are changes, almost all lines are coming as differences in compare WIP report. Please suggest to how to get exact changes alone in the output?
vinudayal
 
Posts: 3
Joined: Wed Jul 23, 2014 6:35 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Numbering on COBOL

Postby Terry Heinze » Wed Jul 23, 2014 7:00 pm

Both SuperC and SuperCE allow you to limit the columns you are comparing. F1 is your friend.
.... Terry
Terry Heinze
 
Posts: 193
Joined: Wed Dec 04, 2013 11:08 pm
Location: Richfield, MN, USA
Has thanked: 10 times
Been thanked: 11 times

Re: Numbering on COBOL

Postby vinudayal » Wed Jul 23, 2014 7:05 pm

Yes, I had option to give column numbers to compare in Endeavor. Thank you for highlighting the tip to solve. Thanks!
vinudayal
 
Posts: 3
Joined: Wed Jul 23, 2014 6:35 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post