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

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


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: Canada

PostPosted: Thu Mar 29, 2007 4:44 pm
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
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: 1436
Location: Bangalore,India

PostPosted: Thu Mar 29, 2007 5:17 pm
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: 2358
Location: Israel

PostPosted: Thu Mar 29, 2007 5:48 pm
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: 691
Location: Earth

PostPosted: Thu Mar 29, 2007 8:26 pm
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

Moderator Emeritus


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

PostPosted: Fri Mar 30, 2007 12:34 am
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
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
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
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
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: 177
Location: Seattle, WA

PostPosted: Fri Mar 30, 2007 10:46 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compile rexx code with jcl CLIST & REXX 6
Search our Forums:

Back to Top