Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

S

Sets a pointer in the active input buffer.

Synopsis

S [field]

Arguments

field Optional — A field number. Specified as a number or as a reference to a buffer or a select list that contains the field number.

Description

The S PROC command sets the primary input buffer (PIB) pointer to a specified field within the buffer. If field is larger than the number of fields in the PIB, S adds the specified number of empty elements.

Emulation

In Caché, UniVerse, and PICK, S +field is equivalent to S field. In all other emulations, S +field is equivalent to S 1.

REALITY emulation does not add empty elements when field is larger than the number of fields in the PIB.

See Also

  • T PROC command