True, if you select all columns you will have the same format id.
ABL01
R ABR                       PFILE(AB) 
K MYDATE 
S MYDATA                    COMP(EQ 'X')
                      Record  Format Level 
Format       Fields   Length  Identifier 
ABR               3       31  2932933592714
DLTF ROB/ABL01
create index rob.abl01 on rob.ab (mydate)
where mydata='X' 
rcdfmt abr 
                      Record  Format Level 
Format       Fields   Length  Identifier 
ABR               3       31  2932933592714
but if pick and choose columns then you will have issues.
ABL02
R AB2R                      PFILE(AB) 
  MYDATE 
  MYKEY 
  MYDATA 
K MYKEY 
S MYDATA                    COMP(EQ 'X')
                      Record  Format Level 
Format       Fields   Length  Identifier 
AB2R              3       31  21682B20BAE2E
create index rob.abl02 on rob.ab (mykey)
where mydata='X' 
rcdfmt ab2r add mydate, mykey, mydata 
                      Record  Format Level 
Format       Fields   Length  Identifier 
AB2R              3       31  294054D03232A
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.