Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using Text Units to Customize BDT Transaction Processing z/OS BDT Installation SC14-7582-00 |
|
For each parameter specified on a transaction, BDT builds a control block called a text unit. These text units describe the processing to be done for the transaction as a whole or the processing to be done specifically for the TO or the FROM data set. BDT puts the text units in the master job definition (MJD) for the transaction. Exit routine BDTUX08 can be used to define user transaction parameters that can be used to create text units. Before a transaction is placed on the BDT work queue, exit routine BDTUX19 can be used to add text units to the MJD. BDTUX19 can also be used to inspect and modify text units already in the MJD. BDT processes two kinds of text units:
Each text unit created for a transaction is identified by a key. Macro IEFZB4D2 maps the key values for dynamic allocation text units. Macro BDTDMJD maps the key values for BDT text units. User exit routines that have access to the MJD can use the BDTXTUAM macro to retrieve a particular text unit by specifying its key. Refer to BDTXTUAM for a description of how to use the BDTXTUAM macro. You can create your own transaction parameters and associated text units that specify processing unique to your installation. This can be done by using the BDTDKYWD macro in BDTUX08, the language processor keyword extension table. This table extends BDT’s keyword table that defines valid transaction parameters and the text unit table that describes the corresponding text unit for each keyword. Note that BDTUX08 does not contain executable code; its purpose is to add entries to the keyword and text unit tables. Refer to the description of BDTUX08 in BDTUX08—User-Defined File-to-File Transaction Keywords and the description of the BDTDKYWD macro in BDTDKYWD. You can also add text units to the MJD during transaction processing with BDTUX19, the transaction modification exit routine. BDTUX19 receives control from the language processor after it has processed all available transaction parameters. (Note that BDTUX19 will receive control twice: once in the user’s address space (or in BDT’s address space for some transactions entered at MCS consoles), and again in BDT’s address space after the language processor has processed the parameters specified in the GMJD library.) In BDTUX19 you may process the text units created in BDTUX08 for your installation-unique parameters. You may also inspect, modify, or add any other text units. See the description of BDTUX19 in BDTUX19—File-to-File Transaction Modification for a discussion of the functions this exit routine may perform. After BDTUX19 is invoked in the BDT address space to make any final changes to a transaction, the transaction is written to the BDT work queue. Subsequent user exit routines may retrieve text units via BDTXTUAM and inspect them, but they may not change existing text units or add new ones. |
Copyright IBM Corporation 1990, 2014
|