Page 1 of 1

SEQUENCE NO PROBLEM IN FILE !!

PostPosted: Wed Oct 15, 2014 11:42 am
by Alan1208
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

Re: SEQUENCE NO PROBLEM IN FILE !!

PostPosted: Wed Oct 15, 2014 2:11 pm
by Alan1208
Can any body please help ??

Re: SEQUENCE NO PROBLEM IN FILE !!

PostPosted: Wed Oct 15, 2014 3:05 pm
by BillyBoyo
Not sure what you mean at all. Try unnum.

Re: SEQUENCE NO PROBLEM IN FILE !!

PostPosted: Wed Oct 15, 2014 6:54 pm
by Terry Heinze
===> 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.

Re: SEQUENCE NO PROBLEM IN FILE !!

PostPosted: Thu Oct 16, 2014 9:11 pm
by Pedro
Use the editor PROFILE command. Make sure your profile does not automatically add the numbers the next time you edit the file.

Re: SEQUENCE NO PROBLEM IN FILE !!

PostPosted: Thu Oct 16, 2014 11:15 pm
by prino
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.