DDBRT ;SFISC/DCL-BROWSER TEST ROUTINE ;NOV 04, 1996@13:55
;;22.0;VA FileMan;;Mar 30, 1999
;Per VHA Directive 10-93-142, this routine should not be modified.
Q
TEST() ;TEST IF CRT CAN USE BROWSER;USER MUST GO THRU ZU OR XUP FIRST
Q:$G(IOST(0)) $$GET(+IOST(0))
Q:$G(IOS) $$GET($$GET1^DIQ(3.5,+IOS,"SUBTYPE","I"))
Q:$G(^XUTL("XQ",$J,"IOST(0)")) $$GET(+^("IOST(0)"))
Q:$G(^XUTL("XQ",$J,"IOS")) $$GET($$GET1^DIQ(3.5,+^("IOS"),"SUBTYPE","I"))
Q 0
GET(DDBRTIEN) ;
I $$GET1^DIQ(3.2,DDBRTIEN,"SET TOP & BOTTOM MARGINS")="" Q 0
I $$GET1^DIQ(3.2,DDBRTIEN,"REVERSE INDEX")="" Q 0
Q 1
DDBRT ;SFISC/DCL-BROWSER TEST ROUTINE ;NOV 04, 1996@13:55
+1 ;;22.0;VA FileMan;;Mar 30, 1999
+2 ;Per VHA Directive 10-93-142, this routine should not be modified.
+3 QUIT
TEST() ;TEST IF CRT CAN USE BROWSER;USER MUST GO THRU ZU OR XUP FIRST
+1 IF $GET(IOST(0))
QUIT $$GET(+IOST(0))
+2 IF $GET(IOS)
QUIT $$GET($$GET1^DIQ(3.5,+IOS,"SUBTYPE","I"))
+3 IF $GET(^XUTL("XQ",$JOB,"IOST(0)"))
QUIT $$GET(+^("IOST(0)"))
+4 IF $GET(^XUTL("XQ",$JOB,"IOS"))
QUIT $$GET($$GET1^DIQ(3.5,+^("IOS"),"SUBTYPE","I"))
+5 QUIT 0
GET(DDBRTIEN) ;
+1 IF $$GET1^DIQ(3.2,DDBRTIEN,"SET TOP & BOTTOM MARGINS")=""
QUIT 0
+2 IF $$GET1^DIQ(3.2,DDBRTIEN,"REVERSE INDEX")=""
QUIT 0
+3 QUIT 1