|
|
| Author |
Message |
Gnanas SNG
Senior Member
Joined: 06 Sep 2007 Posts: 420 Location: India
|
|
|
|
This is a PS, Rec Length 10, created out of an application program.
| Code: |
****** *****************
691611 1316691611
691622 1316691622
691633 1316691633
691644 1316691644
691655 1316691655
691666 1316691666
****** ***************** |
Line numbers are messed up here.
When I insert a line with content 1111111111
it's inserting as 1116691667
So result is,
| Code: |
****** ***************
691611 1316691611
691622 1316691622
691633 1316691633
691644 1316691644
691655 1316691655
691666 1316691666
691667 1116691667
****** *************** |
These are profile options
| Code: |
****** ***************************** Top of Data ******************************
=PROF> ....POLICY (FIXED - 10)....RECOVERY OFF....NUMBER DISPLAY STD...........
=PROF> ....CAPS OFF....HEX OFF....NULLS OFF....TABS OFF....SETUNDO STG.........
=PROF> ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS OFF.............
=PROF> ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON................
=PROF> ....HILITE OFF CURSOR FIND.............................................. |
Please let me know what might the cause for this? |
|
| Back to top |
|
 |
References
|
Posted: Thu Jun 19, 2008 5:05 pm Post subject: Re: Problem with Line numbers |
 |
|
|
 |
Bill Dennis
Active User
Joined: 17 Aug 2007 Posts: 284 Location: Iowa, USA
|
|
|
|
Because your data ia all numeric, ISPF assumes the last 8 digits are sequential line numbers. Enter NUM OFF to change the profile and enter new data lines.
Unfortunately, each time you edit the file ISPF sees the numerics and turns NUM ON again ! You could assign an initial edit macro to this profile which would set NUM OFF for you. Search on IMACRO. |
|
| Back to top |
|
 |
Gnanas SNG
Senior Member
Joined: 06 Sep 2007 Posts: 420 Location: India
|
|
|
|
| Thanks Bill! |
|
| Back to top |
|
 |
stodolas
Senior Member
Joined: 13 Jun 2007 Posts: 647 Location: Wisconsin
|
|
|
|
| Just don't ever type RENUM when you come in. |
|
| Back to top |
|
 |
|
|