View previous topic :: View next topic
|
Author |
Message |
mubashshirji
New User
Joined: 14 Nov 2006 Posts: 16
|
|
|
|
Can someone tell me what is the significance of RENUM COB command ?
Thanx in advance. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
None, other than neatness and order..... |
|
Back to top |
|
|
IQofaGerbil
Active User
Joined: 05 May 2006 Posts: 183 Location: Scotland
|
|
|
|
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 |
|
|
mubashshirji
New User
Joined: 14 Nov 2006 Posts: 16
|
|
|
|
Thanx a million IQofaGerbil for this valuable information. |
|
Back to top |
|
|
|