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

Line numbers contains last 6 digits of the data


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

New User


Joined: 18 Nov 2016
Posts: 3
Location: INDIA

PostPosted: Mon Apr 22, 2019 8:32 pm
Reply with quote

Hi all,

I have gdg base and each generation's lrecl is 10 bytes .
Every time when I edit any generations,line numbers
Contains last 6 digits of my data. Prof is num on std

Code:

011537 1423011537
925676 1423925676


When I try to edit the data , it says ' some input data ignored'

I can't able to edit the generation , until I issue num off.when I issue num off,data becomes editable like below

Code:

000001 1423011537
000002 1423925676



Suprising one is , when I issue unnum cmd , my data will be changed like below


Code:

000001 14
000002 14


it is happening to few datasets only in my ispf session.This generations created by a job which removes duplicates with help of sort. I/p file to the job also has same issue.. Can someone help me to figure this out?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon Apr 22, 2019 9:36 pm
Reply with quote

And you have already answered your own question!
Back to top
View user's profile Send private message
selvagukan

New User


Joined: 18 Nov 2016
Posts: 3
Location: INDIA

PostPosted: Mon Apr 22, 2019 11:26 pm
Reply with quote

Hi Prino,

sorry , I failed to read the manual.

My post was unclear I guess,can you please help me understand
Why last six characters of my data is showing in line numbers?
why my data is getting altered when I issue unnum command?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 22, 2019 11:32 pm
Reply with quote

From the z/OS ISPF Edit and Edit Macros manual, with emphasis added by me:
Quote:
The UNNUMBER primary command sets all sequence fields to blanks, turns off number mode, and positions the data so that column 1 is the first column displayed.

Unless special circumstances apply, the last 8 bytes of a fixed-length record will be used as the sequence number. Hence when you edit the data, the last bytes of the record are treated as the sequence number and thus the behavior you see.
Back to top
View user's profile Send private message
selvagukan

New User


Joined: 18 Nov 2016
Posts: 3
Location: INDIA

PostPosted: Mon Apr 22, 2019 11:57 pm
Reply with quote

Hi Robert,

Thank you. it is clear now.
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 Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top