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
 

 

How to shift the line numbers to the right of program code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
mubashshirji

New User


Joined: 14 Nov 2006
Posts: 16

PostPosted: Thu Mar 29, 2007 4:35 pm    Post subject: How to shift the line numbers to the right of program code
Reply with quote

I want to know How to shift the line numbers to the right of program code ?



thanx in advance...
Back to top
View user's profile Send private message

muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Chennai

PostPosted: Thu Mar 29, 2007 4:44 pm    Post subject: Re: How to shift the line numbers to the right of program co
Reply with quote

Which line numbers you want to shift?
Back to top
View user's profile Send private message
mubashshirji

New User


Joined: 14 Nov 2006
Posts: 16

PostPosted: Thu Mar 29, 2007 5:03 pm    Post subject:
Reply with quote

The column which is renumbered by renum cob command...
Back to top
View user's profile Send private message
murmohk1

Senior Member


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

PostPosted: Thu Mar 29, 2007 5:17 pm    Post subject:
Reply with quote

mubashshirji,

Quote:
by renum cob command


I belive that you dont have any renum cob command.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Mar 29, 2007 5:48 pm    Post subject:
Reply with quote

As far as I know, RENUM is an ISPF Editor Primary Command.

O.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Thu Mar 29, 2007 8:26 pm    Post subject:
Reply with quote

use >> line command to shift the lines.
Use pair of >> for shifting blocks.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Mar 30, 2007 12:34 am    Post subject:
Reply with quote

Hello,

What i believe mubashshirji wants is for the line numbers to be taken out of the left side of the edit panel and placed on the right side. So that instead of
Code:
000100 somedata
000200 some more data
the screen would show
Code:
somedata                                   000100
some more data                             000200


Please let us know if i'm mistaken.
Back to top
View user's profile Send private message
mubashshirji

New User


Joined: 14 Nov 2006
Posts: 16

PostPosted: Fri Mar 30, 2007 9:42 am    Post subject: Re: How to shift the line numbers to the right of program co
Reply with quote

Ya , dick scherrer is correct . i want the same thing.......
Back to top
View user's profile Send private message
firoz
Currently Banned

New User


Joined: 29 Mar 2007
Posts: 1
Location: India

PostPosted: Fri Mar 30, 2007 12:52 pm    Post subject:
Reply with quote

try writing "std cob on" in the command line
Back to top
View user's profile Send private message
mubashshirji

New User


Joined: 14 Nov 2006
Posts: 16

PostPosted: Fri Mar 30, 2007 3:58 pm    Post subject:
Reply with quote

STD COB ON is not working
Back to top
View user's profile Send private message
mubashshirji

New User


Joined: 14 Nov 2006
Posts: 16

PostPosted: Fri Mar 30, 2007 4:33 pm    Post subject:
Reply with quote

STD COB ON is not working
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Fri Mar 30, 2007 10:46 pm    Post subject:
Reply with quote

When you begin editing, type PROFILE to see your edit profile. Key entries to check are the NUMBER on line 1 of the profile. It can be a variety of values, but mine is set to NUM OFF as I dislike the line numbers. I use columns 73-80 to document code changes.

NUM STD ON COBOL puts line numbers in columns 1 through 6 and shifts the screen a little to the right so you don't see them.

NUM ON STD does not place numbers on the left, but on the right in columns 73 throug 80. However, you won't see them unless you shift your screen to the right (F11 on my function key setup).

Want to get rid of line numbers altogether? UNNUM does a sweet job of it.

You know - typing HELP on the command line really answers a lot of these basic questions. But I guess that's the price we pay for exporting our jobs to India. They get the jobs and we get stuck telling them how to do them.
Back to top
View user's profile Send private message
mubashshirji

New User


Joined: 14 Nov 2006
Posts: 16

PostPosted: Fri Apr 13, 2007 4:23 pm    Post subject: Re: How to shift the line numbers to the right of program co
Reply with quote

I just came to know about the answer ...

it is NUM ON STD or NUM STD ON to shift the line nimbers to right or left side of the code.




Thanx to all for ur help...!!!!!!!!!!
Back to top
View user's profile Send private message
sudhaaa

New User


Joined: 24 Mar 2005
Posts: 51

PostPosted: Fri Apr 13, 2007 9:31 pm    Post subject:
Reply with quote

Hope it is worth to raise above query as ' how to display column numbers at right end of the program/data'..

Don't think that without giving answer I was giving suggestion
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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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