Function
Usage Notes
The Function field specifies the operation to be carried out by DBCHCL.
Language |
Variable Name |
COBOL: |
DBCAREA-FUNC |
C: DBCAREA.H: |
func |
Routine |
Action Taken |
DBCHINI: |
writes |
DBCHCL: |
reads |
Used by |
Action Taken |
application program |
writes |
The application program must set the Function field to the appropriate non‑zero value before calling DBCHCL. It is recommended that mnemonics be used for the codes.
Each of the following codes represents a different operation:
Code |
Operation |
Mnemonic |
1 |
Connect |
DBFCON |
2 |
Disconnect |
DBFDSC |
3 |
Run Startup |
DBFRSUP |
4 |
Initiate Request |
DBFIRQ |
5 |
Fetch |
DBFFET |
6 |
Rewind |
DBFREW |
7 |
Abort |
DBFABT |
8 |
End Request |
DBFERQ |
15 |
Continue Request |
DBFCRQ |