IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem regarding Tag i.e. starting from 73 to 80 colums


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jayanta_nit

New User


Joined: 13 Apr 2006
Posts: 22
Location: hyderabad

PostPosted: Mon Sep 24, 2007 11:38 am
Reply with quote

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
View user's profile Send private message
balakrishna reddy

Active User


Joined: 13 Jul 2007
Posts: 128
Location: Guntur

PostPosted: Mon Sep 24, 2007 12:10 pm
Reply with quote

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
View user's profile Send private message
jayanta_nit

New User


Joined: 13 Apr 2006
Posts: 22
Location: hyderabad

PostPosted: Mon Sep 24, 2007 12:15 pm
Reply with quote

No thats only the example and thats why i have mentioned it that Tag wil starting frm 73 col........
Thanks
Jayanta
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Sep 24, 2007 12:19 pm
Reply with quote

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
View user's profile Send private message
jayanta_nit

New User


Joined: 13 Apr 2006
Posts: 22
Location: hyderabad

PostPosted: Mon Sep 24, 2007 2:10 pm
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Sep 24, 2007 2:23 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts list pds members name starting with xyz CLIST & REXX 11
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
Search our Forums:

Back to Top