Edit codes for metadata
You can use the metadata edit code M to display in a report the descriptive data for a column rather than the actual data.
Edit Code | Format | Notes |
---|---|---|
M | Displays in character format a column's metadata. | The metadata for a column is found in the Descriptor Area (DA) and consists of the type and the length of the data that will be included in the column. If a column with the edit code M is null, a null indicator is displayed rather than the metadata. If the column size is less than the amount needed to display the metadata, the metadata is truncated in order to fit into the column space. |