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

What is the significance of RENUM COB command


IBM Mainframe Forums -> TSO/ISPF
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 Feb 01, 2007 2:44 pm
Reply with quote

Can someone tell me what is the significance of RENUM COB command ?

Thanx in advance.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Feb 01, 2007 3:04 pm
Reply with quote

None, other than neatness and order.....
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Thu Feb 01, 2007 4:29 pm
Reply with quote

Use the RENUM command (may be abbreviated REN ) to renumber the data starting at 100 and incrementing by 100.
The RENUM command also sets number mode on. It accepts the same parameters as the NUMBER command.

If number mode is on and you enter:
Command ===> renum leaves number mode unchanged.

If number mode is off and you enter:
Command ===> renum sets "number on std"

If you enter the optional parameters:
Command ===> renum std sets "number on std"
Command ===> renum cobol sets "number on COBOL"
Command ===> renum std cobol sets "number on std COBOL"

In all cases, the sequence fields in the data are renumbered.

To turn off number mode use the NUMBER OFF command.

The renum cobol commands set sequence numbers in the 1st 6 cols of your data and that cannot be overtyped thus you would only do this if you were writing cobol code.

Why don't you try it and see for yourself what happens.
Back to top
View user's profile Send private message
mubashshirji

New User


Joined: 14 Nov 2006
Posts: 16

PostPosted: Thu Feb 01, 2007 4:54 pm
Reply with quote

Thanx a million IQofaGerbil for this valuable information.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top