Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: KMPVCCFG

Package: VistA System Monitor

Routine: KMPVCCFG


Information

KMPVCCFG ;SP/JML - VSM configuration functions -- APIs for data access ;5/1/2017

Source Information

Source file <KMPVCCFG.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
VA FileMan 6 DD^%DT  (H,YMD)^%DTC  FIND^DIC  FILE^DIE  $$FLDNUM^DILFD  $$GET1^DIQ  
Kernel 4 ($$OS,$$VERSION,GETENV)^%ZOSV  $$FMDIFF^XLFDT  $$PROD^XUPROD  OPTSTAT^XUTMOPT  
VistA System Monitor 2 (CFGMSG,MONLIST)^KMPVCBG  ($$GETVAL,$$PROD)^KMPVCCFG  
MailMan 1 $$NETNAME^XMXUTIL  
Registration 1 $$SITE^VASITE  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 13

Package Total Caller Graph
VistA System Monitor 11 KMPVBETR  KMPVCBG  KMPVCCFG  KMPVCSRV  KMPVLM  KMPVPST2  KMPVRUN  KMPVVHLM  
KMPVVMCM  KMPVVSTM  KMPVVTCM  
Capacity Management Tools 1 KMPDRDAT  
Kernel 1 ZOSVKRO  

Entry Points

Name Comments DBIA/ICR reference
CFGARR(KMPVMKEY,KMPVCFG,KMPVFLAG) ; Return configuration by monitor in array
GETDEF(KMPVMKEY,KMPVDEF,KMPVFLAG) ; Return default configuration in array
CFGSTR(KMPVMKEY,KMPVFLAG) ; Return configuration in "^" delimited string
GETVAL(KMPVMKEY,KMPVFLD,KMPVFILE,KMPVFLAG) ; retrieve value from VSM CONFIGURATION or VSM MONITOR DEFAULTS files
SETONE(KMPVMKEY,KMPVFNAM,KMPVNVAL,KMPVERR) ; set a value into the VSM CONFIGURATION file
SETVALS(KMPVMKEY,KMPVFVAL,KMPVERR,KMPVLOG) ; set multiple values into the VSM CONFIGURATION file
; KMPVFVAL(FieldName)=FieldValue, KMPVERR: Output array if errors
RESTCFG(KMPVMKEY) ; Restore default configuration to VSM CONFIGURATION file
STRSTP(KMPVMKEY,KMPVSTIME) ; Record run time values
SYSCFG() ; Return system configuration values
MONSTAT(KMPVTEXT) ; Return status information for all configured monitors
USERNAME(KMPVDUZ) ; Return users name from DUZ
PROD() ; Return "Prod" if production, "Test" otherwise
SITEINFO() ;
SLOT(KMPTIME,KMPSINT,KMPTFORM) ;
; NOTE: code in %ZOSVKR similar. All other VSM monitors call here.
ISBENODE(KMPNODE) ;

External References

Name Field # of Occurrence
DD^%DT MONSTAT+24
H^%DTC SLOT+7
YMD^%DTC STRSTP+4, STRSTP+5
$$OS^%ZOSV SYSCFG+1
$$VERSION^%ZOSV SYSCFG+1
GETENV^%ZOSV SITEINFO+5
FIND^DIC USERNAME+4
FILE^DIE SETONE+12, SETVALS+18
$$FLDNUM^DILFD SETONE+9, SETVALS+11
$$GET1^DIQ GETVAL+5
CFGMSG^KMPVCBG RESTCFG+4
MONLIST^KMPVCBG MONSTAT+4
$$GETVAL^KMPVCCFG MONSTAT+12
$$PROD^KMPVCCFG SITEINFO+2
$$SITE^VASITE SITEINFO+4
$$FMDIFF^XLFDT STRSTP+6
$$NETNAME^XMXUTIL SITEINFO+3
$$PROD^XUPROD PROD+2
OPTSTAT^XUTMOPT MONSTAT+13

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] FIND^DIC
^KMPV(8969 - [#8969] FLDNUM^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^KMPTMP("KMPV" MONSTAT+8, MONSTAT+10
^KMPV(8969 - [#8969] CFGARR+3, CFGARR+5, CFGARR+6, CFGSTR+3, CFGSTR+6, GETVAL+2, SETONE+7, SETVALS+6
^KMPV(8969.02 - [#8969.02] GETDEF+3, GETDEF+5, GETVAL+3

Label References

Name Line Occurrences
$$GETVAL CFGARR+7, CFGARR+10, CFGSTR+9, CFGSTR+10, SETONE+5
$$PROD SYSCFG+1
$$SETVALS RESTCFG+3, STRSTP+10
CFGARR MONSTAT+7
GETDEF RESTCFG+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% STRSTP+3~, STRSTP+4, STRSTP+5
%H STRSTP+3~, STRSTP+4*, STRSTP+5*, SLOT+2~
%T SLOT+2~, SLOT+7
FDA SETONE+3~, SETVALS+4~
FDA( SETONE+11*, SETVALS+12*
KMPINST ISBENODE+1~, ISBENODE+4*, ISBENODE+5
KMPNODE ISBENODE~, ISBENODE+3, ISBENODE+4
KMPNTYP ISBENODE+1~
KMPSEC SLOT+2~, SLOT+5*, SLOT+7*, SLOT+8*, SLOT+9
KMPSINT SLOT~, SLOT+3
KMPSLOT SLOT+2~, SLOT+9*, SLOT+10
KMPSSEC SLOT+2~, SLOT+3*, SLOT+9, SLOT+10
KMPSTIME SLOT+2~, SLOT+10*, SLOT+11
KMPTFORM SLOT~, SLOT+4, SLOT+6
KMPTIME SLOT~, SLOT+5, SLOT+7
KMPV0 CFGARR+2~, CFGARR+5*, CFGARR+7, CFGARR+8, GETDEF+2~, GETDEF+5*, GETDEF+6, GETDEF+7, GETDEF+8, GETDEF+9
, CFGSTR+2~, CFGSTR+6*, CFGSTR+9
KMPV1 CFGARR+2~, CFGARR+5*, CFGARR+8, CFGARR+9, CFGARR+10, CFGARR+11, GETDEF+2~, GETDEF+5*, GETDEF+9, GETDEF+10
, CFGSTR+2~, CFGSTR+6*, CFGSTR+9, CFGSTR+10, CFGSTR+11
KMPV2 CFGARR+2~, CFGARR+6*, CFGARR+12, CFGARR+13, CFGSTR+2~
KMPV3 CFGARR+2~, CFGARR+6*, CFGARR+13, CFGARR+14, CFGARR+15, CFGSTR+2~
KMPVBGD MONSTAT+2~, MONSTAT+13, MONSTAT+19
KMPVBGD( MONSTAT+21, MONSTAT+22
KMPVCDAYS MONSTAT+2~, MONSTAT+11*, MONSTAT+18
KMPVCFG CFGARR~, CFGARR+1!, CFGSTR+2~, CFGSTR+5*, CFGSTR+9*, CFGSTR+10*, CFGSTR+11*, CFGSTR+12, MONSTAT+7
KMPVCFG("ALLO W TEST SYSTEM" , CFGARR+10*
KMPVCFG("CACH E DAILY TASK" , CFGARR+9*
KMPVCFG("COLL ECTION INTERVAL" , CFGARR+9*
KMPVCFG("DAYS TO KEEP DATA" , CFGARR+8*
KMPVCFG("LAST RUN TIME" , CFGARR+13*, MONSTAT+16,  START TIME" , CFGARR+12*, MONSTAT+15,  STOP TIME" , CFGARR+12*
KMPVCFG("LOCA L SUPPORT EMAIL ADDRESS" , CFGARR+15*
KMPVCFG("NATI ONAL DATA EMAIL ADDRESS" , CFGARR+13*, ONAL SUPPORT EMAIL ADDRESS" , CFGARR+14*
KMPVCFG("ONOFF" CFGARR+7*, MONSTAT+14
KMPVCFG("TASK MAN OPTION" , CFGARR+11*, MAN SCHEDULE FREQUENCY" , CFGARR+10*, MAN SCHEDULE START" , CFGARR+11*
KMPVCFG("VERS ION INSTALL DATE" , CFGARR+8*
KMPVCFG("VERSION" CFGARR+7*
KMPVCFG("VSM CFG EMAIL ADDRESS" , CFGARR+15*
KMPVCOMP MONSTAT+2~, MONSTAT+10*, MONSTAT+11
KMPVDATA SETVALS+3~
KMPVDDAYS MONSTAT+2~, MONSTAT+9*, MONSTAT+17
KMPVDEF GETDEF~, GETDEF+1!, RESTCFG+2, RESTCFG+3
KMPVDEF("ALLO W TEST SYSTEM" , GETDEF+7*
KMPVDEF("CACH E DAILY TASK" , GETDEF+7*
KMPVDEF("COLL ECTION INTERVAL" , GETDEF+6*
KMPVDEF("DAYS TO KEEP DATA" , GETDEF+6*
KMPVDEF("NATI ONAL DATA EMAIL ADDRESS" , GETDEF+9*, ONAL SUPPORT EMAIL ADDRESS" , GETDEF+10*
KMPVDEF("TASK MAN OPTION" , GETDEF+9*, MAN SCHEDULE FREQUENCY" , GETDEF+8*, MAN SCHEDULE START" , GETDEF+8*
KMPVDEF("VSM CFG EMAIL ADDRESS" , GETDEF+10*
KMPVDLY MONSTAT+2~, MONSTAT+8*, MONSTAT+9
KMPVDOM SITEINFO+1~, SITEINFO+3*, SITEINFO+6
KMPVDUZ USERNAME~, USERNAME+3, USERNAME+4
KMPVEARR SETONE+1!, SETONE+2~, SETONE+13, SETONE+14, SETVALS+2!, SETVALS+15, SETVALS+17, SETVALS+20, SETVALS+21, STRSTP+10
KMPVEARR( SETVALS+13*
KMPVENT MONSTAT+2~, MONSTAT+22*, MONSTAT+23, MONSTAT+24, MONSTAT+26, MONSTAT+27
KMPVERR SETONE~, SETONE+1!, SETONE+14*, SETVALS~, SETVALS+2!, SETVALS+17*, SETVALS+21*, RESTCFG+3
KMPVETFM STRSTP+3~, STRSTP+5*, STRSTP+6, STRSTP+8
KMPVFILE GETVAL~, GETVAL+2, GETVAL+3, GETVAL+5
KMPVFLAG CFGARR~, CFGARR+7, CFGARR+10, GETDEF~, CFGSTR~, CFGSTR+9, CFGSTR+10, GETVAL~, GETVAL+5
KMPVFLD GETVAL~, GETVAL+5
KMPVFNAM SETONE~, SETONE+5, SETONE+9, SETONE+10, SETVALS+3~, SETVALS+9*, SETVALS+10*, SETVALS+11, SETVALS+12, SETVALS+13
KMPVFNUM SETONE+9*, SETONE+10, SETONE+11, SETVALS+3~, SETVALS+11*, SETVALS+12
KMPVFVAL SETVALS~, STRSTP+3~, STRSTP+10
KMPVFVAL( SETVALS+10, SETVALS+12
KMPVFVAL("LAS T RUN TIME" , STRSTP+9*, T START TIME" , STRSTP+7*, T STOP TIME" , STRSTP+8*
KMPVI MONSTAT+2~, MONSTAT+20*, MONSTAT+21*, MONSTAT+22
KMPVIEN CFGARR+2~, CFGARR+3*, CFGARR+4, CFGARR+5, CFGARR+6, GETDEF+2~, GETDEF+3*, GETDEF+4, GETDEF+5, CFGSTR+2~
, CFGSTR+3*, CFGSTR+4, CFGSTR+6, GETVAL+1~, GETVAL+2*, GETVAL+3*, GETVAL+4, GETVAL+5, SETONE+2~, SETONE+7*
, SETONE+8, SETONE+11, SETVALS+3~, SETVALS+6*, SETVALS+7, SETVALS+12
KMPVLOG SETONE+4*, SETVALS~, SETVALS+5*
KMPVMKEY CFGARR~, CFGARR+3, CFGARR+7, CFGARR+10, GETDEF~, GETDEF+3, CFGSTR~, CFGSTR+3, CFGSTR+9, CFGSTR+10
, GETVAL~, GETVAL+2, GETVAL+3, SETONE~, SETONE+5, SETONE+7, SETVALS~, SETVALS+6, RESTCFG~, RESTCFG+2
, RESTCFG+3, STRSTP~, STRSTP+1, STRSTP+10, MONSTAT+2~, MONSTAT+5*, MONSTAT+6*, MONSTAT+7, MONSTAT+8, MONSTAT+10
, MONSTAT+12, MONSTAT+14, MONSTAT+15, MONSTAT+16, MONSTAT+17, MONSTAT+18, MONSTAT+19, MONSTAT+25, MONSTAT+26, MONSTAT+27
KMPVML MONSTAT+2~, MONSTAT+4
KMPVML( MONSTAT+6
KMPVNAME USERNAME+1~, USERNAME+5*, USERNAME+6
KMPVNVAL SETONE~, SETONE+6, SETONE+11
KMPVOPT MONSTAT+2~, MONSTAT+12*, MONSTAT+13
KMPVOUT USERNAME+1~
KMPVOUT("DILIST" USERNAME+5
KMPVOVAL SETONE+2~, SETONE+5*, SETONE+6
KMPVPROD PROD+1~, PROD+2*, PROD+3*, PROD+4, SITEINFO+1~, SITEINFO+2*, SITEINFO+6
KMPVSCD SITEINFO+1~, SITEINFO+5*, SITEINFO+6
KMPVSINF SITEINFO+1~, SITEINFO+6*, SITEINFO+7
KMPVSITE SITEINFO+1~, SITEINFO+4*, SITEINFO+6
KMPVSTAT SETONE+2~, SETONE+4*, SETONE+6, SETONE+8*, SETONE+10*, SETONE+13, SETONE+15*, SETONE+16, SETVALS+3~, SETVALS+5*
, SETVALS+7*, SETVALS+15, SETVALS+16*, SETVALS+20, SETVALS+22*, SETVALS+23, RESTCFG+1~, RESTCFG+3*, RESTCFG+5, STRSTP+3~
, STRSTP+10*
KMPVSTFM STRSTP+3~, STRSTP+4*, STRSTP+6, STRSTP+7
KMPVSTIME STRSTP~, STRSTP+2, STRSTP+4
KMPVTASK MONSTAT+2~, MONSTAT+23*, MONSTAT+25, MONSTAT+26, MONSTAT+27
KMPVTDIFF STRSTP+3~, STRSTP+6*, STRSTP+9
KMPVTEXT MONSTAT~, MONSTAT+1!
KMPVTEXT( MONSTAT+14*, MONSTAT+15*, MONSTAT+16*, MONSTAT+17*, MONSTAT+18*, MONSTAT+19*, MONSTAT+25*, MONSTAT+26*, MONSTAT+27*
KMPVUP SETONE+2~
KMVEARR SETVALS+3~
RET ISBENODE+1~, ISBENODE+2*, ISBENODE+5*, ISBENODE+6
U CFGARR+1*, CFGARR+7, CFGARR+8, CFGARR+9, CFGARR+10, CFGARR+11, CFGARR+12, CFGARR+13, CFGARR+14, CFGARR+15
, GETDEF+1*, GETDEF+6, GETDEF+7, GETDEF+8, GETDEF+9, GETDEF+10, CFGSTR+1*, CFGSTR+9, CFGSTR+10, CFGSTR+11
, SITEINFO+5, SITEINFO+6
X STRSTP+3~, STRSTP+4, STRSTP+5, SLOT+2~, SLOT+7*
Y MONSTAT+2~, MONSTAT+24*, MONSTAT+25, SITEINFO+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All