View previous topic :: View next topic
|
Author |
Message |
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi,
In my COBOL program i am having line nos on the right side.I gave NUM ON STD COB.,then the numbers are disappearing.but when i try to close the dataset and then reopen, again the numbers are coming....
Any C ALL command is there to get rid of this???
Thanks,
Arun |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
Try NUMBER OFF.
Then delete all LineNumbers.
Use ShiftRight-Comand ore CangeCommand.
Regards, UmeySan |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi,
You mean to say that I should delete all numbers manually.??..
Can u make it more clear???? |
|
Back to top |
|
|
saidharrao Warnings : 1 New User
Joined: 19 Feb 2005 Posts: 27 Location: hyderabad-ap-india
|
|
|
|
Hi,
Is there any specific reason to delete the line numbers. It is highly inefficient and non standard way of programming. What ever you want to do, please do it between 1-72 l(Inclusive) lines of the cobol coding sheet. from 73 it is left to system which will replace iwth its own line numbers using configuration management faility.
If you still remove them, please try the following command after NUM OFF <enter>
C all 73 80 p'¬' ' '
But I am not sure if it places again if you use any explicit configuration management tool.
Cheers, |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
For COBOL you should use "NUM ON COB" not "NUM ON STD" this will put the line numbers in 1-6 instead of 72-80. You should then code your COBOL in col 6-72, as COBOL is normally coded. |
|
Back to top |
|
|
logeswarank Warnings : 1 New User
Joined: 15 Oct 2006 Posts: 22 Location: Chennai
|
|
|
|
Hi,
Try this command "NUM ON STD COB" it will show the contents 7-72 character's only.
It will help You. |
|
Back to top |
|
|
skkp2006
New User
Joined: 14 Jul 2006 Posts: 93 Location: Chennai,India
|
|
|
|
Enter "Num on" followed by " UNNUM".... |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Quote: |
You mean to say that I should delete all numbers manually.??..
Can u make it more clear???? |
UmeySan has posted a method that addresses your requirement perfectly.
Do this in your edit session
Code: |
==> NUMBER OFF
PRESS ENTER
==> C ALL P'======' 73 ' '
PRESS ENTER |
I hope it is clear enough! |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 631 Location: Wisconsin
|
|
|
|
Execute the following commands
NUM ON
RENUM
UNNUM
NUM OFF
It may be overkill, but the num on/renum will ensure all lines have line numbers. UNNUM removes them all and num off ensures your edit profile for the dataset won't add numbers back in. |
|
Back to top |
|
|
|