bdfd1m12 | Database Administration |
The DBDEF macro (along with the DSECT macro) defines the characteristics of a file; for example, whether the file uses an algorithm, indexed files, B+Tree indexing, or a combination of attributes. Segments UF2A-UF89 are reserved for customer DBDEF macro statements. To use the DBDEF macro statements that you code in these segments, include ENTRC statements in case 1 of the DFUEX segment. For example, if you have DBDEF macro statements coded in UF2A and UF2F, include the following statements in DFUEX:
ENTRC UF2A USER SPECIFIC DB DEFINITIONS FOR UF2A BR R7 RETURN TO ROUTINE ENTRC UF2F USER SPECIFIC DB DEFINITIONS FOR UF2F BR R7 RETURN TO ROUTINE
Notes:
It is not necessary to specify data level independence (DLI) with the DBDEF macro. The TPFDF product preserves all data levels holding blocks before a macro or function call. See TPFDF Programming Concepts and Reference for more information about DLI.