Reference Type: Supported, Category: KIDS, Integration Agreement: 10141
This extrinsic function returns the last patch and the date it was
applied to the software. The patch will also include the Sequence # if the last
patch was a released patch.
NOTE: This API can be used outside of KIDS.
(required) Software name or software namespace entered within quotes (e.g., "KERNEL" or "XU").
(optional) Full software version number with decimal point entered within quotes (e.g., "8.0"). The current version is assumed if this parameter is not supplied.
(optional) This parameter was added with Kernel Patch XU*8.0*559. If set to 1, then only the last released patch information is returned.
Returns the last patch information in a caret-delimited string:
>S X="KERNEL" >S Y="8.0" >W $$LAST^XPDUTL(x,y) 543^3110503
>S X="KERNEL" >S Y="8.0" >S Z=1 >W $$LAST^XPDUTL(X,Y,Z) 431 SEQ #453^3110425.122831
>S X="KERNEL" >S Y="9.0" >S Z=1 -1
For this example, since there is no Kernel Version 9.0 the expected result should be -1.
August 26, 2011