17.10 - Get Attribute Requests - Access Module

Teradata® Tools and Utilities Access Module Programmer Guide

Product
Access Module
Release Number
17.10
Release Date
June 2021
Content Type
Programming Reference
Publication ID
B035-2424-061K
Language
English (United States)
Examples of Get Attribute functions are:
  • DeviceState
  • MediaMounted
  • VolID
  • DegreesC
In response to a Get Attribute request, an Access Module must respond with either:
  • The value of the requested information
  • A return code indicating that the attribute name was not recognized

This is a passive function, meaning that an Access Module can only accumulate and maintain the value of the requested information. It can only send a value to a client utility in response to a specific request. If, for example, an Access Module needs to provide a client utility with a value of several attributes that describe its state of operation, the Access Module cannot actively send this information to the client utility. Instead, the Access Module must wait for a utility to request the information with a Get Attribute request before it responds with the value for the requested attribute.