View previous topic :: View next topic
|
Author |
Message |
jayanta_nit
New User
Joined: 13 Apr 2006 Posts: 22 Location: hyderabad
|
|
|
|
Hi,
I have one problem regarding Tag i.e. starting from 73 to 80 colums.
I have many( approx5000) lines of cobol code in my program and I have to give the Tag for all those lines in ascending order. Instead of doing it manually, can any one suggest me that how can I do that,any command or any logic.
Example as:
If var1=........ TAG01
Move ..... to ......... TAG02
Move ..... to ......... TAG03
End-if. TAG04
like this.
Thanks
Jayanta,
Hyderabad. |
|
Back to top |
|
|
balakrishna reddy
Active User
Joined: 13 Jul 2007 Posts: 128 Location: Guntur
|
|
|
|
hi Jayanta,
the example format doesn't support your requirement,
Code: |
If var1=........ TAG01
Move ..... to ......... TAG02
Move ..... to ......... TAG03
End-if. TAG04
|
or you want like this
Code: |
If var1=........ TAG01
Move ..... to ......... TAG02
Move ..... to ......... TAG03
End-if. TAG04
|
Since you have given it should start from 73 column.
Please make it clear. |
|
Back to top |
|
|
jayanta_nit
New User
Joined: 13 Apr 2006 Posts: 22 Location: hyderabad
|
|
|
|
No thats only the example and thats why i have mentioned it that Tag wil starting frm 73 col........
Thanks
Jayanta |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Jayanta,
Quote: |
Instead of doing it manually, can any one suggest me that how can I do that,any command or any logic. |
Try RENUM.
Generally we dont bother about these values. Could you let us know, why are you so particular about this? |
|
Back to top |
|
|
jayanta_nit
New User
Joined: 13 Apr 2006 Posts: 22 Location: hyderabad
|
|
|
|
Hi murmohk1,
Actually I got the code without TAG and I have to put all the TAG because of coding standard before compiling.Thats why I want this.
Thanks
Jayanta |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Jayanta,
Quote: |
Actually I got the code without TAG and I have to put all the TAG because of coding standard before compiling.Thats why I want this. |
For my previous post, I assumed your program has TAG# (in random order). That is the reason why I had given RENUM option.
Try NUM ON. |
|
Back to top |
|
|
|