PRCHCS4 ;WISC/RHD-LOG CODE SHEET EDIT--CALLED FROM PRCHCS ;12/1/93 09:52
V ;;5.1;IFCAP;;Oct 20, 2000
;Per VHA Directive 10-93-142, this routine should not be modified.
SIG ; PUT ELEC.SIG.BASED ON ISSUE REQUEST ONTO REQUEST
K PRCHNM S DA=PRCHR,P=+PRC("PER") S PRCSIG="" D ESIG^PRCUESIG(DUZ,.PRCSIG) S ROUTINE="PRCUESIG" G:PRCSIG'=1 QQ
D NOW^%DTC S PRCSIG="" D ENCODE^PRCSC4(DA,DUZ,.PRCSIG) S ROUTINE=$T(+0) G:PRCSIG<1 QQ
Q
QQ S:'$D(ROUTINE) ROUTINE=$T(+0) W !!,$$ERR^PRCHQQ(ROUTINE,PRCSIG) W:PRCSIG=0!(PRCSIG=-3) !,"Notify Application Coordinator!",$C(7) S DIR(0)="EAO",DIR("A")="Press <return> to continue" D ^DIR
Q ;EXIT ROUTINE FOR PRCHCS3
K %DT,DA,DIC,DIE,DIK,DR,J,PRCFA,PRCH,PRCHAUTO,PRCHDPT,PRCHR,PRCHCC,PRCHNSN,PRCHIT,PRCHPRN,PRCHMO,PRCHLI,PRCFASYS,PRCFCS,PRCH0,PRCH2,PRCH4,PRCHCOM,PRCHI,PRCHI0,PRCHIV0,PRCHLCNT,PRCHOK,PRCHR0,PRCHRRI,PRCHSRC,ROUTINE Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HPRCHCS4 874 printed Dec 13, 2024@02:06:20 Page 2
PRCHCS4 ;WISC/RHD-LOG CODE SHEET EDIT--CALLED FROM PRCHCS ;12/1/93 09:52
V ;;5.1;IFCAP;;Oct 20, 2000
+1 ;Per VHA Directive 10-93-142, this routine should not be modified.
SIG ; PUT ELEC.SIG.BASED ON ISSUE REQUEST ONTO REQUEST
+1 KILL PRCHNM
SET DA=PRCHR
SET P=+PRC("PER")
SET PRCSIG=""
DO ESIG^PRCUESIG(DUZ,.PRCSIG)
SET ROUTINE="PRCUESIG"
if PRCSIG'=1
GOTO QQ
+2 DO NOW^%DTC
SET PRCSIG=""
DO ENCODE^PRCSC4(DA,DUZ,.PRCSIG)
SET ROUTINE=$TEXT(+0)
if PRCSIG<1
GOTO QQ
+3 QUIT
QQ if '$DATA(ROUTINE)
SET ROUTINE=$TEXT(+0)
WRITE !!,$$ERR^PRCHQQ(ROUTINE,PRCSIG)
if PRCSIG=0!(PRCSIG=-3)
WRITE !,"Notify Application Coordinator!",$CHAR(7)
SET DIR(0)="EAO"
SET DIR("A")="Press <return> to continue"
DO ^DIR
Q ;EXIT ROUTINE FOR PRCHCS3
+1 KILL %DT,DA,DIC,DIE,DIK,DR,J,PRCFA,PRCH,PRCHAUTO,PRCHDPT,PRCHR,PRCHCC,PRCHNSN,PRCHIT,PRCHPRN,PRCHMO,PRCHLI,PRCFASYS,PRCFCS,PRCH0,PRCH2,PRCH4,PRCHCOM,PRCHI,PRCHI0,PRCHIV0,PRCHLCNT,PRCHOK,PRCHR0,PRCHRRI,PRCHSRC,ROUTINE
QUIT