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

$$PKGVER^XPDIP(): Update Patch Version

Reference Type: Supported, Category: KIDS, ICR#: 2067

Description

The $$PKGVER^XPDIP extrinsic function updates the VERSION (#22) Multiple field in the PACKAGE (#9.4) file. This function can be used during the Pre- or Post-Install routine.

Format

  $$PKGPAT^XPDIP(package_ien,[.]version)

Input Parameters

package_ien:

(required) The software file entry Internal Entry Number (IEN) in the PACKAGE (#9.4) file.

[.]version:

(required) This can be either a string or an array. If it is an array, then it must be passed by reference.

  • version = version number^date distributed^date installed^installed by user ien

  • version(1) = closed global root of the location of the description [e.g., ^XTMP($J,““WP””)].

All date values must be in internal VA FileMan date format.

The version number must contain a decimal (e.g., 8.0).

Output

returns:

Returns:

  version ien