Print Page as PDF
UPDATE PACKAGE FILE VERSION/APPLICATION HISTORY ICR (2067)

UPDATE PACKAGE FILE VERSION/APPLICATION HISTORY    ICR (2067)

Name Value
NUMBER 2067
IA # 2067
DATE CREATED 1997/07/22
CUSTODIAL PACKAGE KERNEL
CUSTODIAL ISC San Francisco
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE XPDIP
NAME UPDATE PACKAGE FILE VERSION/APPLICATION HISTORY
GENERAL DESCRIPTION
These functions can be used during the Pre or Post
Install routine to update the VERSION multiple and the PATCH APPLICATION
HISTORY multiple in the PACKAGE file.
STATUS Active
KEYWORDS
  • PACKAGE
  • VERSION
  • APPLICATION HISTORY
ID XPDIP
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$PKGPAT(package ien, version, .ARRAY)
Update the PATCH APPLICATION HISTORY of the VERSION
multiple in the PACKAGE file.
VARIABLES TYPE VARIABLES DESCRIPTION
package ien Input
PACKAGE file entry ien.

version Input
This is the version number, must contain a decimal.
e.g.  8.0
ARRAY Input
ARRAY needs to be passed by reference if you want to
update the DESCRIPTION field in the PATCH APPLICATION HISTORY multiple.

ARRAY = patch number^date installed^installed by

patch number = number SEQ#number, i.e.  51 SEQ #32 date installed = Fileman
format, use DT
installed by = user ien, use DUZ

ARRAY(1) = closed global root of location of the Description
e.g.  ^XTMP($J,""WP"")
$$PKGPAT Output
version ien^patch ien
$$PKGVER(package ien, .version)
Update the VERSION multiple in the PACKAGE file, #9.4
VARIABLES TYPE VARIABLES DESCRIPTION
package ien Input
PACKAGE file entry ien
version Input
This can be either a string or 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 internal FileMan date format
version number must contain a decimal point
$$PKGVER Output
version ien
DATE ACTIVATED 2018/02/02