Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Problem regarding Tag i.e. starting from 73 to 80 colums
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: 130
Location: Guntur

PostPosted: Mon Sep 24, 2007 12:10 pm    Post subject:
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    Post subject: Reply to: Regarding Tag
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: 1439
Location: Bangalore,India

PostPosted: Mon Sep 24, 2007 12:19 pm    Post subject:
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    Post subject: Reply to: Regarding Tag
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: 1439
Location: Bangalore,India

PostPosted: Mon Sep 24, 2007 2:23 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us