Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: PSXERR1

PSXERR1.m

Go to the documentation of this file.
  1. PSXERR1 ;BIR/WPB-Continuation of Error Processing Utility ; [ 04/08/97 2:06 PM ]
  1. ;;2.0;CMOP;;11 Apr 97
  1. ERRMSG ;sends an alert and mail message if a user tries to retransmit a batch
  1. ;that has been retransmitted once.
  1. S XQAMSG="Batch "_OLDBAT_" can't be retransmitted again. Contact the IRM for help." D GRP1^PSXNOTE,SETUP^XQALERT
  1. S XMSUB=("RETRANSMISSION ERROR"),XMDUZ=DUZ,LNCT=5
  1. D XMZ^XMA2
  1. G:XMZ'>0 EXIT
  1. S ^XMB(3.9,XMZ,2,1,0)="Batch # "_OLDBAT_" has been retransmitted once."
  1. S ^XMB(3.9,XMZ,2,2,0)="There is either a system problem or there is a problem with the data in the"
  1. S ^XMB(3.9,XMZ,2,3,0)="batch. Please contact your local IRM for assistance in determining and"
  1. S ^XMB(3.9,XMZ,2,4,0)="correcting the problem. Once the problem has been corrected the IRM can"
  1. S ^XMB(3.9,XMZ,2,5,0)="reset the batch and allow you to retransmit."
  1. S ^XMB(3.9,XMZ,2,0)="^3.9^"_LNCT_U_LNCT_U_DT,XMDUN="CMOP Manager"
  1. K XMY S XMDUZ=DUZ
  1. D GRP^PSXNOTE,ENT1^XMD
  1. G EXIT^PSXRTRAN
  1. ER3 S PSXCT=PSXCT+1,ERRTXT(PSXCT)=""
  1. Q
  1. ER5 S PSXCT=PSXCT+1,ERRTXT(PSXCT)=""
  1. Q
  1. ER6 S PSXCT=11
  1. ER4 S PSXCT=11
  1. EXIT K ERRTXT,LNCT,OLDBAT,XMDUN,XMDUZ,XMSUB,XMZ,XQA,XQAMSG,PSXCT
  1. Q