|
I think you need to use command INZPFM. From the V3R2 database programming manual: 3.1.2.1 Initializing Data in a Physical File Member To use relative record processing in a program, the database file must contain a number of record positions equal to the highest relative record number used in the program. Programs using relative-record-number processing sometimes require that these records be initialized. You can use the Initialize Physical File Member (INZPFM) command to initialize members with one of two types of records: Default records Deleted records You specify which type of record you want using the RECORDS parameter on the Initialize Physical File Member (INZPFM) command. ... Deleted records cannot be read; they only hold a place in the member. A deleted record can be changed by writing a new record over the deleted record. Refer to "Deleting Database Records" in topic 2.3.5 for more information about processing deleted records. Brian Johnson Help/Systems, Inc. brian@helpsystems.com www.helpsystems.com (612) 563-1627 -----Original Message----- From: Rich Duzenbury Sent: Tuesday, November 24, 1998 15:25 To: brian; 'Midrange-L@Midrange.Com' Subject: Writing by Record number Is it possible to control the record number assigned to a record? I have to convert some records to a new format and the record numbers need to be preserved, regardless of whether deleted records are in the files. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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.