OpenTP1 Version 7 Programming Reference C Language

[Contents][Index][Back][Next]

DAM file service (dc_dam_~)

This section gives the syntax and other information of the following functions which are used for DAM file service:

Functions that can only be used in an online environment
  • dc_dam_close - Close a logical file
  • dc_dam_end - Terminate using an unrecoverable DAM file
  • dc_dam_hold - Shut down a logical file
  • dc_dam_open - Open a logical file
  • dc_dam_read - Input a logical file block
  • dc_dam_release - Release a logical file from the shutdown state
  • dc_dam_rewrite - Update a logical file block
  • dc_dam_start - Start using an unrecoverable DAM file
  • dc_dam_status - Reference the status of a logical file
  • dc_dam_write - Output a logical file block

Functions that can only be used in an offline environment
  • dc_dam_bseek - Seek a physical file block
  • dc_dam_create - Allocate a physical file
  • dc_dam_dget - Input directly a physical file block
  • dc_dam_dput - Output directly a physical file block
  • dc_dam_get - Input a physical file block
  • dc_dam_iclose - Close a physical file
  • dc_dam_iopen - Open a physical file
  • dc_dam_put - Output a physical file block

The functions for DAM file service (dc_dam_~) can be used only in UAPs of TP1/Server Base. They cannot be used in UAPs of TP1/LiNK.