Skip to main content
Version: 11.2

Cols.ioFormat()

note

This article is about the ioFormat() function of the Cols object.

Cols.ioFormat()

Gets the IO format of the first column in scope.

Returns a string.

Syntax

$.udb( *ds* ).cols( [columns] ).ioFormat()

The required ds parameter is a data source selector.

The optional columns is a column selector. If omitted, all columns in scope are selected.

Example

let pattern = $.udb('EMP').cols('POSTAL_CODE').ioFormat();

See $.udb.ioFormat for the mask syntax this pattern is written in, and for the functions that actually apply it to format or parse values.