SEQUENCE NO PROBLEM IN FILE !!



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

SEQUENCE NO PROBLEM IN FILE !!

Postby Alan1208 » Wed Oct 15, 2014 11:42 am

Hi All,

Can you please help me in below problem I am facing -->

I have one FB file with REC LENGTH 25, you can see below records in file, I am not able to understand why my sequence no is taking last 6 digits from my records value.
When I do NUM OFF or when I increase size of file, it seems ok but how can I fix it permanently with the same REC LENGTH as I can not change my Program with different file length at this stage.

Because of this Issue it is creating problem in JCL while copying to another file. It also does not allow me to reduce size of any record.

 =COLS> ----+----1----+----2----+   
 ****** *****************************
 000101 0111160611111111100000101   
 000201 0111160611111111100000201   
 000301 0111160611111111100000301   
 000401 0111160611111111100000401   
 000501 0111160611111111100000501   
 000601 0111160611111111100000601   
 000701 0111160611111111100000701   
 000801 0111160611111111100000801   
 000901 0111160611111111100000901   
 001001 0111160611111111100001001   
 001201 0111160611111111100001201   
 001301 0111160611111111100001301   
 001401 0111160611111111100001401   
 001501 0111160611111111100001501   
 001502 0111160611111111100001502


Thank you so much in advance !!!

Alan

coded
Alan1208
 
Posts: 10
Joined: Tue Aug 05, 2014 1:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: SEQUENCE NO PROBLEM IN FILE !!

Postby Alan1208 » Wed Oct 15, 2014 2:11 pm

Can any body please help ??
Alan1208
 
Posts: 10
Joined: Tue Aug 05, 2014 1:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: SEQUENCE NO PROBLEM IN FILE !!

Postby BillyBoyo » Wed Oct 15, 2014 3:05 pm

Not sure what you mean at all. Try unnum.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: SEQUENCE NO PROBLEM IN FILE !!

Postby Terry Heinze » Wed Oct 15, 2014 6:54 pm

===> ren;unnum
then rekey the values that were in the last 6 columns since the unnum will replace those characters by spaces.
You should have posted this in the TSO and ISPF area.
.... Terry
Terry Heinze
 
Posts: 239
Joined: Wed Dec 04, 2013 11:08 pm
Location: Richfield, MN, USA
Has thanked: 12 times
Been thanked: 11 times

Re: SEQUENCE NO PROBLEM IN FILE !!

Postby Pedro » Thu Oct 16, 2014 9:11 pm

Use the editor PROFILE command. Make sure your profile does not automatically add the numbers the next time you edit the file.
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: SEQUENCE NO PROBLEM IN FILE !!

Postby prino » Thu Oct 16, 2014 11:15 pm

Pedro wrote:Use the editor PROFILE command. Make sure your profile does not automatically add the numbers the next time you edit the file.

Give the command UNNUM followed by NUM OFF followed by "PROF LOCK". If the LLQ of the dataset doesn't change, this will ensure you won't get any more sequence numbers.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post