Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Problem with Line numbers

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Gnanas N

Active Member


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

PostPosted: Thu Jun 19, 2008 5:05 pm    Post subject: Problem with Line numbers
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    Post subject:
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: 788
Location: Chennai, India

PostPosted: Thu Jun 19, 2008 7:08 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Problem commiting to DB2 from IMS MPP Ole Soerensen IMS DB/DC 2 Wed Jul 26, 2017 5:19 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us