Depending on the client language in which the program is coded (for example, 370 Assembler, C, COBOL, PL/I), the DBCAREA can be allocated as follows:
- Using program storage by coding or copying the DBCAREA structure directly into the program
- Dynamically allocating storage and referencing the area obtained within the program
- Passing the structure from a higher-level routine