Progress
Database Administration
Guide and Reference
Contents File Format
Figure 13–2 shows a sample contents file.
Figure 13–2: Sample Contents File
![]()
The trailer information contains information about the source database and certain startup parameters specified for the session in which the contents file was created. Certain variables are included for informational purposes only; other variables are used to load the data correctly. If you edit the contents (.d) file or create one manually, be sure to specify these variables correctly.
Table 13–3 explains these variables. If the database uses the default values for these variables, these variables do not appear in the contents file.
Table 13–3: Contents File Trailer Variables Field Description filename=table-name Table name. records=num-records1 Number of records contained in the file. ldbname=logical-db-name Logical database name of the source database. time stamp=time stamp Time stamp of the database. num format=1 thousands-separator,fractional-separator The numeric value of the character that represents the thousands-separator and fractional-separator identified in the code page. When you attempt to load the table contents file, the session and file must use the same numeric format. If not, the Progress 4GL reports a run-time error. dateformat=date-format1 The date format used by the database contents. map={MAP protermcap-entry | NO-MAP}1
The character mapping to support the MAP option on the INPUT FROM and OUTPUT TO statements. You can specify a mapping between a standard set of ASCII (7-bit) characters and extended (8-bit) characters in the PROTERMCAP file. Progress uses the PROTERMCAP entries to build a translation table for the stream.MAP specifies an entry that has been defined in the PROTERMCAP file. NO-MAP directs Progress to bypass character translation altogether. codepage=codepage The code page used by the database. For more information, see the Progress Internationalization Guide . Character count The number of characters contained in the contents file, up to and including the period (.) that indicates the end of the contents. This number is always a ten-digit number with leading zeros, if necessary.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |