MAGVAG01 ;WOIFO/NST - Utilities for RPC calls ; 13 Feb 2012 4:18 PM
;;3.0;IMAGING;**118**;Mar 19, 2002;Build 4525;May 01, 2013
;; Per VHA Directive 2004-038, this routine should not be modified.
;; +---------------------------------------------------------------+
;; | Property of the US Government. |
;; | No permission to copy or redistribute this software is given. |
;; | Use of unreleased versions of this software requires the user |
;; | to execute a written test agreement with the VistA Imaging |
;; | Development Office of the Department of Veterans Affairs, |
;; | telephone (301) 734-0100. |
;; | The Food and Drug Administration classifies this software as |
;; | a medical device. As such, it may not be changed in any way. |
;; | Modifications to this software may result in an adulterated |
;; | medical device under 21CFR820, the use of which is considered |
;; | to be a violation of US Federal Statutes. |
;; +---------------------------------------------------------------+
;;
Q
;
;***** Returns all records in RETENTION POLICY file (#2006.914)
;
; RPC: MAGVA GET ALL RETPOLS
;
; if error found during execution
; MAGRY(0) = Failure status ^ "Error getting the list"
; if success
; MAGRY(0) = Success status ^^#CNT" - where #CNT is a number of records returned
; MAGRY(1) = "^" delimited string with all field names in RETENTION POLICY file (#2006.914)
; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
;
GETRP(MAGRY) ; RPC [MAGVA GET ALL RETPOLS]
D GALLLST^MAGVAF03(.MAGRY,2006.914,"")
Q
;
;***** Returns all records in ARTIFACT DESCRIPTOR file (#2006.915)
;
; RPC: MAGVA GET ALL ADS
;
; if error found during execution
; MAGRY(0) = "0^Error getting the list"
; if success
; MAGRY(0) = "1^^#CNT" - where #CNT is a number of records returned
; MAGRY(1) = "^" delimited string with all field names in ARTIFACT DESCRIPTOR file (#2006.915)
; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
;
GETAD(MAGRY) ; RPC [MAGVA GET ALL ADS]
D GALLLST^MAGVAF03(.MAGRY,2006.915,"")
Q
;
;***** Returns all records in STORAGE PROVIDER AVAILABILITY file (#2006.924)
;
; RPC: MAGVA GET ALL PROVAVAILS
;
; if error found during execution
; MAGRY(0) = Failure status ^ "Error getting the list"
; if success
; MAGRY(0) = Success status ^^ #CNT - where #CNT is a number of records returned
; MAGRY(1) = "^" delimited string with all field names in STORAGE PROVIDER AVAILABILITY file (#2006.924)
; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
;
GETPA(MAGRY) ; RPC [MAGVA GET ALL PROVAVAILS]
D GALLLST^MAGVAF03(.MAGRY,2006.924,"")
Q
;
;***** Returns all records in STORAGE PROVIDER file (#2006.917)
;
; RPC: MAGVA GET ALL PROVIDERS
;
; if error found during execution
; MAGRY(0) = Failure status ^ "Error getting the list"
; if success
; MAGRY(0) = Success status^^#CNT - where #CNT is a number of records returned
; MAGRY(1) = "^" delimited string with all field names in STORAGE PROVIDER file (#2006.917)
; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
;
GETP(MAGRY) ; RPC [MAGVA GET ALL PROVIDERS]
D GALLLST^MAGVAF03(.MAGRY,2006.917,"")
Q
;
;***** Returns all records in RETENTION POLICY STORAGE PROVIDER MAP file (#2006.923)
;
; RPC: MAGVA GET ALL RETPOL PROV MAPS
;
; if error found during execution
; MAGRY(0) = Failure status ^ "Error getting the list"
; if success
; MAGRY(0) = Success status ^^#CNT" - where #CNT is a number of records returned
; MAGRY(1) = "^" delimited string with all field names in
; RETENTION POLICY STORAGE PROVIDER MAP file (#2006.923)
; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
;
GETRPPM(MAGRY) ; RPC [MAGVA GET ALL RETPOL PROV MAPS]
D GALLLST^MAGVAF03(.MAGRY,2006.923,"")
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HMAGVAG01 4178 printed Nov 22, 2024@17:19:28 Page 2
MAGVAG01 ;WOIFO/NST - Utilities for RPC calls ; 13 Feb 2012 4:18 PM
+1 ;;3.0;IMAGING;**118**;Mar 19, 2002;Build 4525;May 01, 2013
+2 ;; Per VHA Directive 2004-038, this routine should not be modified.
+3 ;; +---------------------------------------------------------------+
+4 ;; | Property of the US Government. |
+5 ;; | No permission to copy or redistribute this software is given. |
+6 ;; | Use of unreleased versions of this software requires the user |
+7 ;; | to execute a written test agreement with the VistA Imaging |
+8 ;; | Development Office of the Department of Veterans Affairs, |
+9 ;; | telephone (301) 734-0100. |
+10 ;; | The Food and Drug Administration classifies this software as |
+11 ;; | a medical device. As such, it may not be changed in any way. |
+12 ;; | Modifications to this software may result in an adulterated |
+13 ;; | medical device under 21CFR820, the use of which is considered |
+14 ;; | to be a violation of US Federal Statutes. |
+15 ;; +---------------------------------------------------------------+
+16 ;;
+17 QUIT
+18 ;
+19 ;***** Returns all records in RETENTION POLICY file (#2006.914)
+20 ;
+21 ; RPC: MAGVA GET ALL RETPOLS
+22 ;
+23 ; if error found during execution
+24 ; MAGRY(0) = Failure status ^ "Error getting the list"
+25 ; if success
+26 ; MAGRY(0) = Success status ^^#CNT" - where #CNT is a number of records returned
+27 ; MAGRY(1) = "^" delimited string with all field names in RETENTION POLICY file (#2006.914)
+28 ; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
+29 ;
GETRP(MAGRY) ; RPC [MAGVA GET ALL RETPOLS]
+1 DO GALLLST^MAGVAF03(.MAGRY,2006.914,"")
+2 QUIT
+3 ;
+4 ;***** Returns all records in ARTIFACT DESCRIPTOR file (#2006.915)
+5 ;
+6 ; RPC: MAGVA GET ALL ADS
+7 ;
+8 ; if error found during execution
+9 ; MAGRY(0) = "0^Error getting the list"
+10 ; if success
+11 ; MAGRY(0) = "1^^#CNT" - where #CNT is a number of records returned
+12 ; MAGRY(1) = "^" delimited string with all field names in ARTIFACT DESCRIPTOR file (#2006.915)
+13 ; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
+14 ;
GETAD(MAGRY) ; RPC [MAGVA GET ALL ADS]
+1 DO GALLLST^MAGVAF03(.MAGRY,2006.915,"")
+2 QUIT
+3 ;
+4 ;***** Returns all records in STORAGE PROVIDER AVAILABILITY file (#2006.924)
+5 ;
+6 ; RPC: MAGVA GET ALL PROVAVAILS
+7 ;
+8 ; if error found during execution
+9 ; MAGRY(0) = Failure status ^ "Error getting the list"
+10 ; if success
+11 ; MAGRY(0) = Success status ^^ #CNT - where #CNT is a number of records returned
+12 ; MAGRY(1) = "^" delimited string with all field names in STORAGE PROVIDER AVAILABILITY file (#2006.924)
+13 ; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
+14 ;
GETPA(MAGRY) ; RPC [MAGVA GET ALL PROVAVAILS]
+1 DO GALLLST^MAGVAF03(.MAGRY,2006.924,"")
+2 QUIT
+3 ;
+4 ;***** Returns all records in STORAGE PROVIDER file (#2006.917)
+5 ;
+6 ; RPC: MAGVA GET ALL PROVIDERS
+7 ;
+8 ; if error found during execution
+9 ; MAGRY(0) = Failure status ^ "Error getting the list"
+10 ; if success
+11 ; MAGRY(0) = Success status^^#CNT - where #CNT is a number of records returned
+12 ; MAGRY(1) = "^" delimited string with all field names in STORAGE PROVIDER file (#2006.917)
+13 ; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
+14 ;
GETP(MAGRY) ; RPC [MAGVA GET ALL PROVIDERS]
+1 DO GALLLST^MAGVAF03(.MAGRY,2006.917,"")
+2 QUIT
+3 ;
+4 ;***** Returns all records in RETENTION POLICY STORAGE PROVIDER MAP file (#2006.923)
+5 ;
+6 ; RPC: MAGVA GET ALL RETPOL PROV MAPS
+7 ;
+8 ; if error found during execution
+9 ; MAGRY(0) = Failure status ^ "Error getting the list"
+10 ; if success
+11 ; MAGRY(0) = Success status ^^#CNT" - where #CNT is a number of records returned
+12 ; MAGRY(1) = "^" delimited string with all field names in
+13 ; RETENTION POLICY STORAGE PROVIDER MAP file (#2006.923)
+14 ; MAGRY(2..n) = "^" delimited string with values of fields listed in MAGRY(1)
+15 ;
GETRPPM(MAGRY) ; RPC [MAGVA GET ALL RETPOL PROV MAPS]
+1 DO GALLLST^MAGVAF03(.MAGRY,2006.923,"")
+2 QUIT