Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to remove line numbers

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Thu Sep 13, 2007 4:01 pm    Post subject: How to remove line numbers
Reply with quote

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

UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Thu Sep 13, 2007 4:09 pm    Post subject:
Reply with quote

Hi !

Try NUMBER OFF.

Then delete all LineNumbers.

Use ShiftRight-Comand ore CangeCommand.

Regards, UmeySan
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Thu Sep 13, 2007 6:43 pm    Post subject:
Reply with quote

Hi,

You mean to say that I should delete all numbers manually.??..
Can u make it more clear????
Back to top
View user's profile Send private message
saidharrao
Warnings : 1

New User


Joined: 19 Feb 2005
Posts: 27
Location: hyderabad-ap-india

PostPosted: Thu Sep 13, 2007 7:52 pm    Post subject: Reply to: How to remove line numbers
Reply with quote

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

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Sep 13, 2007 8:54 pm    Post subject:
Reply with quote

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
View user's profile Send private message
logeswarank
Warnings : 1

New User


Joined: 15 Oct 2006
Posts: 22
Location: Chennai

PostPosted: Tue Sep 18, 2007 11:49 am    Post subject:
Reply with quote

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

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Tue Sep 18, 2007 1:51 pm    Post subject: Reply to: How to remove line numbers
Reply with quote

Enter "Num on" followed by " UNNUM"....
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Tue Sep 18, 2007 2:11 pm    Post subject:
Reply with quote

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! icon_smile.gif
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Tue Sep 18, 2007 5:45 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us