This document provides an advanced guide for developing macros in IBM Rational Host Access Transformation Services (HATS). It covers macro structure, data types, operators, expressions, how the macro runtime processes macros, screen description and recognition, and available macro actions. The guide contains definitions of terms and includes conceptual diagrams and code samples to illustrate macro concepts and functionality. It is intended to help macro developers better understand and utilize the full capabilities of the HATS macro language.