^%ZIS(14.5,0)="VOLUME SET^14.5^1^1"
^%ZIS(14.5,1,0)="ROU^N^N^N^N^VAH^1^^14^G^1^12"
^%ZIS(14.5,"B","ROU",1)=""
^%ZIS(14.5,"LOGON","VISTA")=0
From XWBTCPM.m
NEWJOB() ;Check if OK to start a new job, Return 1 if OK, 0 if not OK.
N X,Y,J,XWBVOL
D GETENV^%ZOSV S XWBVOL=$P(Y,"^",2)
S X=$O(^XTV(8989.3,1,4,"B",XWBVOL,0)),J=$S(X>0:^XTV(8989.3,1,4,X,0),1:"ROU^y^1")
I $G(^%ZIS(14.5,"LOGON",XWBVOL)) Q 0 ;Check INHIBIT LOGONS?
;I $D(^%ZOSF("ACTJ")) X ^("ACTJ") I $P(J,U,3),($P(J,U,3)'>Y) Q 0
Q 1
I have the feeling I'm playing with completely out of date code trying to get Lloyds VistA reduction going, but I'd like to understand a couple of things in the above fragments.
1. It seems to me that I $G(^%ZIS(14.5,"LOGON",XWBVOL)) Q 0 could never be True?
2. I have commented out the line below, because I believe this code had something to do with Cache licence restrictions? On GT.M no such restrictions exist. I can now create jobs when I run D CHECK^XWBTCPMT
3. I don't believe that FileMan could edit or even create ^%ZIS(14.5,"LOGON","VISTA")=0. That data has been created directly from code?
Thanks,
Rob.