View previous topic :: View next topic
|
Author |
Message |
shrivatsa Warnings : 1 Active User
Joined: 17 Mar 2006 Posts: 174 Location: Bangalore
|
|
|
|
Hi All,
Any one know how to Insert column Number 1-6(Which are in Bold)
=COLS> ----+----1----+----2----+----3----+
000001 000010 IDENTIFICATION DIVISION.
000002 000020 PROGRAM-ID. SEERFN03.
000003 000030 AUTHOR. AUTHOR.
000004 000040 DATE-WRITTEN. OCTOBER 1993.
000005 000050 DATE-COMPILED.
000006 000060
000007 000070 ENVIRONMENT DIVISION.
000008 000080 DATA DIVISION. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Just try giving NUM ON STD COB on command line |
|
Back to top |
|
|
shrivatsa Warnings : 1 Active User
Joined: 17 Mar 2006 Posts: 174 Location: Bangalore
|
|
|
|
By this command I can insert the Numbers But if I want to remove it back
how can I
can any one suggest me
If I give NUM OFF STD COB
It will give an error Inconsistent parameters |
|
Back to top |
|
|
thanooz
New User
Joined: 28 Jun 2005 Posts: 99
|
|
|
|
hi shrivatsa
you can try with this option
num nostd.
Thanks,
thanooz. |
|
Back to top |
|
|
shrivatsa Warnings : 1 Active User
Joined: 17 Mar 2006 Posts: 174 Location: Bangalore
|
|
|
|
If I use NUM NOSTD it will only shift to left
If I do again F10 it willshow
Is there any way from I can remove the Numbers |
|
Back to top |
|
|
new2cobol
New User
Joined: 04 Jan 2006 Posts: 77 Location: Bangalore
|
|
|
|
Well, a crude method...
Do a NUM OFF.
Then manually delete all those numbers. I know this is cumber some, but I have just finished manually deleting them for 1890 lines |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Here's an easy way to change all #s in 1 thru 6 to spaces:
On the cmd line -
Or to change any chars -
|
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Shri,
Do you have to have the requirement of having the COBOL seq numbers in increments of 10? The standard is in increments of 100 and is easy to do.
num on cob
renum
dave, |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
The command is UNNUM
It will remove the numbers on the left or the right, depending on you NUM ON option.
Once removed, use NUM OFF to prevent them from returning. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Marso
Quote: |
Any one know how to Insert column Number 1-6(Which are in Bold)
|
The question is how to Insert column numbers
Dave |
|
Back to top |
|
|
Pollyannaish
New User
Joined: 09 Jul 2005 Posts: 31 Location: Pune, India
|
|
|
|
As ekta mentioed
NUM ON STD COB ; renum on cob
would do all you want ................... for cobol numbers |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
To DavidatK
Sorry, I was refering to the other question:
shrivatsa wrote: |
Is there any way from I can remove the Numbers
|
|
|
Back to top |
|
|
rakesh.v18
New User
Joined: 14 Feb 2006 Posts: 7 Location: India
|
|
|
|
hi,
i got into verizon, hyderabad and i am thanking one and all in this forum for helping me on mainframe related topics. If anybody is working in Verizon please give your mail id or mail to me at ***EMail ID REMOVED... Read Forum Rules***.
Once again thanks to the admin and all the members of this forum for helping me.
thanks,
Rakesh Vasireddy. |
|
Back to top |
|
|
|