Page 1 of 1

How to comment multiple lines in cobol

PostPosted: Thu Jun 26, 2008 1:46 pm
by aravindmainframe
hi to all
how to comment multiple lines in cobol,suppose my program having 1000 lines imagine i want to comment line from 100th line to 225th line how can i do this with a single command.or i want to put "*" in all the lines from 100 to 225....
i think its very tedious......can anyone tell me plz........

thanks in advance....

Re: cobol

PostPosted: Thu Jun 26, 2008 2:55 pm
by jayind
lable the 100th line as .A (on 100th line type .A on the left side numbering) and 225 line as .B and execute the following command at prompt

C ALL ' ' '*' 7 .A .B

If single quotes doesnt work then try with double quotes