Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$TYPE^XPDMENU(): Get Option Type

Reference Type: Supported, Category: Menu Manager, ICR#: 1157

Description

The $$TYPE^XPDMENU extrinsic function returns the option's TYPE (#4) field in the OPTION (#19) file.

Format

  $$TYPE^XPDMENU(option)

Input Parameters

option:

(required) The name of the option.

Output

returns:

Returns the one character TYPE (#4) field value in the OPTION (#19) file for the input option. For example:

  • A—Action

  • E—Edit

  • I—Inquire

  • M—Menu

  • P—Print

  • R—Run routine

  • O—Protocol

  • Q—Protocol Menu

  • X—Extended Action

  • S—Server

  • L—Limited

  • C—ScreenMan

  • W—Window

  • Z—Window Suite

  • B—Broker (Client/Server)