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

Problem with Line numbers


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Jun 19, 2008 5:05 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Jun 19, 2008 6:31 pm
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Jun 19, 2008 7:08 pm
Reply with quote

Thanks Bill!
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Jun 20, 2008 7:44 pm
Reply with quote

Just don't ever type RENUM when you come in.
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top