VistA Analysis » VistA Reference » RPCs » ORWU VERSRV

ORWU VERSRV

Returns the server version of a particular option. This is specificallyused by CPRS GUI to determine the current server version of the associatedsoftware.

Properties

Property Value
Label VERSRV
MUMPS Implementation ORWU
Return Type SINGLE VALUE

MUMPS Method Description

Property Value
Method VERSRV^ORWU
Method Comment Return server version of option name
Input Parameters X, CLVER
Code
 S ORWCLVER=$G(CLVER)  ; leave in partition for session
N BADVAL,ORLST
D FIND^DIC(19,"",1,"X",X,1,,,,"ORLST")
I 'ORLST("DILIST",0) S VAL="0.0.0.0" Q
S VAL=ORLST("DILIST","ID",1,1)
S VAL=$P(VAL,"version ",2)
S BADVAL=0
I $P(VAL,".",1)="" S BADVAL=1
I $P(VAL,".",2)="" S BADVAL=1
I $P(VAL,".",3)="" S BADVAL=1
I $P(VAL,".",4)="" S BADVAL=1
I ((BADVAL)!('VAL)!(VAL="")) S VAL="0.0.0.0"

CPRS

File Type Description
Pascal File rMisc.pas


Document generated on August 31st 2022, 2:55:43 pm