# output-macro

References attribute 16 of file-defining items. For file-defining
items, the text in output-macro describes the default attribute list
to be used in an AQL report. For a file-defining item, the text in
this field is substituted into any TCL statement that outputs this
file. For an attribute-defining item, this attribute has no relevance.

If the output-macro attribute is null on a file-defining
item, the text from the macro attribute is used for output as well
as input.

If the attributes to be displayed are explicitly defined
in the TCL statement, the default output-macro (or macro) attributes
are ignored.

The TCL command list filename
displays the file using the attributes defined in the output-macro
attribute of the file-defining item. However, the TCL command list filename name address zip displays the file showing
the name, address, and zip attributes.

Note: Options on the macro
attribute are ignored.

## See also

- [Default attribute items (Attribute-Defining Items)](https://d3codex.com/attributedefiningitem/default-attribute-items-attribute-defining-items/)
- [Default output specifications](https://d3codex.com/access/default-output-specifications/)
- [macro](https://d3codex.com/attributedefiningitem/macro/)
- [macro attribute](https://d3codex.com/updateprocessor/macro-attribute/)

---
Source: https://d3codex.com/attributedefiningitem/output-macro/ - part of the D3Codex reference.
