File Set Position - Access Module

Teradata Tools and Utilities Access Modules Programmer Guide

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

The File Set Position function repositions the media of an open file. The structure follows:

  typedef struct _pmPosData
{
  pmUInt32      Length;
  char          *Data;
} pmPos_t;
  typedef struct _pmiPos 
{
  char       EyeCatcher[pmiMAX_EC_LEN];/* Struct eyecatcher string */
  pmUInt32   StructLength;             /* Length of this structure */
  void      *FIData;
  pmPos_t    Position;
} pmiPos_t;

where:

 

Parameter

Field

Description

EyeCatcher

input

Structure description string, such as pmSetParms.

StructLength

input

Total structure length, including the EyeCatcher string.

FIData

input

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

Position

input

A twofield structure as follows:

  • Length – The length, in bytes, of the Data field
  • Data – A pointer to the media position information