| $$VERSION(PKG) | 
Returns the current version number for the given
package
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PKG | 
Input | 
Package namespace or name
 
 | 
 
 | 
$$PATCH(PATCH) | 
Returns 1 if the given patch exist and 0 if it
doesn't exist
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PATCH | 
Input | 
Patch name from Install file, format=AAAA*NN.NN*NNN
 
 | 
 
 | 
$$VER(NAME) | 
Returns the version number for the given Build name
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
NAME | 
Input | 
Build name from Build file or Install file
 
 | 
 
 | 
$$PKG(NAME) | 
Returns the Package name or namespace for the given
Build name
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
NAME | 
Input | 
Build name from Build file or Install file
 
 | 
 
 | 
$$RTNUP(RTN,ACT) | 
Changes the install action of a routine to delete at
site or skip this routine.  This can only be used during the Environment
Check.  Returns 1 if successfull, or 0 for failure.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
RTN | 
Input | 
Routine name
 
 | 
ACT | 
Input | 
Action for the routine.  1=Delete at site,  2=Skip
this routine
 
 | 
 
 | 
$$PRODE(PROT,ACT) | 
Enable or Disable the given protocol during the
Pre-Install or Post-Install routine.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PROT | 
Input | 
Protocol name
 
 | 
ACT | 
Input | 
1 = Enable this Protocol 0 = Disable this Protocol
 
 | 
 
 | 
$$OPTDE(OPT,ACT) | 
Enable or Disable the given option during the
Pre-Install or Post-Install routine.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
OPT | 
Input | 
Option name
 
 | 
ACT | 
Input | 
1 = Enable this Option 0 = Disable this Option
 
 | 
 
 | 
MES(X) | 
Writes the message X to the Install file.  Can used
during the Pre-Install or Post-Install routines.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
X | 
Input | 
X can be a string or an array.  Each line of the
array will be a seperate line in the message. If X is an array, it must be
passed by reference.
 
 | 
 
 | 
BMES(X) | 
Write a blank line before the message X is written to
the Install file.  Can used during the Pre-Install or Post-Install routines.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
X | 
Input | 
X can be a string or an array.  Each line of the
array will be a seperate line in the message. If X is an array, it must be
passed by reference.
 
 | 
 
 | 
$$NEWCP(CP,CB,PARM) | 
Create a new check point.  This can only be used in
the Pre-Install and Post-Install routines.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
CP | 
Input | 
Check Point name.
 
 | 
CB | 
Input | 
Call Back, this is the TAG^ROUTINE you want exeucted
for the given Call Back.
 
 | 
PARM | 
Input | 
This is a value that can be used to track the
progress of your checkpoint.
 
 | 
 
 | 
$$UPCP(CP,PARM) | 
Update a check point with a new parameter value.
This can only be used in the Pre-Install and Post-Install routines.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
CP | 
Input | 
Check Point name you want to update
 
 | 
PARM | 
Input | 
Value you want to save for the given check point.
 
 | 
 
 | 
$$COMCP(CP) | 
Complete a check point.  This can only be used in the
Pre-Install and Post-Install routines. Return the date/time of completion, or
0 for error.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
CP | 
Input | 
Check Point name you want to complete.
 
 | 
 
 | 
$$VERCP(CP) | 
Verify a check point, returns 1 if complete.  This
can only be used in the Pre-Install and Post-Install routines.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
CP | 
Input | 
Check point name you want to verify.
 
 | 
 
 | 
$$PARCP(CP,FLAG) | 
Returns the patameters for the given check point
name.  The Flag is used only if you want to get the parameters from a
'Pre-Install' check point while your in the Post-Install routine.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
CP | 
Input | 
Check Point name
 
 | 
FLAG | 
Input | 
FLAG is optional, it is set to 'PRE' if you are in
the Post-Install routine and you want a 'Pre-Install' check point.
 
 | 
 
 | 
$$CURCP(FLAG) | 
Returns the current Check Point that in process.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
FLAG | 
Input | 
This is used to determine if the current check point
should be return in external or internal format.  0 = external, 1 = internal.
 
 | 
 
 | 
$$LAST(PKG,VER,REL) | 
Returns the Patch # and Date of the last patch
applied to a package
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PKG | 
Input | 
The Package name as stored in the Package File (#9.4)
 
 | 
VER | 
Input | 
The version of the Package, optional, current version
will be used if not supplied
 
 | 
REL | 
Input | 
A flag, optional, when set to 1, will only return the
last released patch.  Available in patch XU*8*559.
 
 | 
 
 | 
$$INSTALDT(INSTALL, .RESULT) | 
Returns an array of all the installs in the Install
file, #9.7, for INSTALL.  The array is formatted as RESULT(internal
date/time)= TEST # ^ SEQ #.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
INSTALL | 
Input | 
The name of the entry in the Install file (#9.7)
 
 | 
RESULT | 
Both | 
Array name, passed by reference, that will contain
the results.
It will look like:  RESULT(internal date/time) = TEST # ^ SEQ #.
The variable RESULT will be equal to the number of records in the array.
 
 | 
 
 |