OpenTP1 Version 7 Programming Guide
DAM file service functions (dc_dam_~) can be used to access TAM file records. In this case, a logical file name used for a DAM file is regarded as a TAM table name. A relative block number used for a DAM file is regarded as a TAM table key value. The following DAM service functions can be used to access TAM files:
When the function dc_dam_hold() (which shuts down logical files) or the function dc_dam_release() (which releases logical files from the shutdown state) is issued for a TAM file, the function returns normally. However, the TAM file is not actually shut down or released from the shutdown state.
The following DAM service functions cannot be used to access TAM file records:
To enable TAM access for a DAM file, change the file as explained below:
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.