Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


The first line of a PROC.


PQ [comment]
PQN [comment]
PQX [comment]


The first line of a Caché MultiValue PROC must contain the PQ, PQN, or PQX declarator. These keywords specify the type of PROC and its compatibility with different MultiValue emulations.

This declarator can be followed by a descriptive comment containing any characters.

  • PQ — Caché PQ procs always use @AM as the input buffer delimiter. MVBasic PROCREAD and PROCWRITE convert these @AM delimiters to spaces.

  • PQN — If an emulation doesn't support PQN (D3, for example), the system compiles the PQN proc as a PQ proc.

  • PQX — Supported for compatibility with D3 and MVBase.


PQ and PQN PROCS use @AM as the buffer delimiter for INFORMATION, IN2, PICK, PIOpen, and UniVerse emulations. Other emulations use a blank space as the buffer delimiter.

See Also

  • T PROC command