File Close - Access Module

Teradata Tools and Utilities Access Modules Programmer Guide

Product
Access Module
Release Number
15.00
Language
English (United States)
Last Update
2018-09-27
dita:id
B035-2424
lifecycle
previous
Product Category
Teradata Tools and Utilities

File Close

The File Close function closes a file that is currently open for read or write operations.

The term file refers to a data source or destination on any sort of data storage device (such as magnetic tape, disk, CD‑ROM, or another database) that an Access Module supports. The terms read and write refer to data moving from (read) and to (write) the data source or destination. The structure follows:

typedef struct _pmiClose                                             
{                                                            
  char       EyeCatcher[pmiMAX_EC_LEN];/* Struct eyecatcher string */
  pmUInt32   StructLength;             /* Length of this structure */
  void       *FIData;
} pmiClose_t;

where:

 

Parameter

Field

Description

EyeCatcher

input

Structure description string, such as pmCloseParms.

StructLength

input

Total structure length, including the EyeCatcher string.

FIData

input

Value provided by the Access Module in response to a previous file open request call.