|
Ramesh: Ramesh T wrote: > Hi, > > Is it necessary that parts of Composite Key used to Key a Indexed Program > Described File should be contigious in the record. > RPG/400 User manual Topic- 7.2.1.1 says it should be continous. > But we feel it is not necessary that Parts of Key should be continous in > record even for Program Described Files. > > Is there any way to Key a Program Described Flat File without creating > External DDS. > > You can do this easily with BLDINDEX procedure for a program described flat file. For example for keys in position 2 with length 3 and part of key in position 34 with length 5, you can do alternated index file byBLDINDEX ALTFILE,2,3,PFNAME,,,,34,5 -- Thank You. Regards Dave Mahadevan.. mailto:mahadevan@fuse.net +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.