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

PRCBP1.m

Go to the documentation of this file.
  1. PRCBP1 ;WISC/CTB-PRINT OPTIONS FOR RD 2-285 REPORTS ;5/3/93 9:39 AM
  1. V ;;5.1;IFCAP;;Oct 20, 2000
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. OUT K %,%X,DP,IOX,IOY,PRCF Q
  1. EN1 ;FIRST QUARTER
  1. S FLDS="[PRCB 285 1ST QTR]" D ALL,OUT Q
  1. ;
  1. EN2 ;SECOND QUARTER
  1. S FLDS="[PRCB 285 2ND QTR]" D ALL,OUT Q
  1. EN3 ;THIRD QUARTER
  1. S FLDS="[PRCB 285 3RD QTR]" D ALL,OUT Q
  1. EN4 ;FOURTH QUARTER
  1. S FLDS="[PRCB 285 4TH QTR]" D ALL,OUT Q
  1. EN5 ;OCTOBER - DECEMBER
  1. S FLDS="[PRCB 285 OCT-MAR]" D ALL,OUT Q
  1. EN6 ;APRIL - SEPTEMBER
  1. S FLDS="[PRCB 285 APR-SEP]" D ALL,OUT Q
  1. EN7 ;COMPLETE FISCAL YEAR
  1. S FLDS="[PRCB 285 FISCAL YEAR]" D ALL,OUT Q
  1. ALL S PRCF("X")="ABFS" D ^PRCFSITE Q:'%
  1. D WAIT S FR=$O(^PRCF(421,"AJ",PRCF("SIFY"),0)) I FR="" W !,"NO TRANSACTIONS IN FY ",PRC("FY") Q
  1. S BY="[PRCB SORT BY SIFY/TDA]",FR=PRCF("SIFY"),TO=PRCF("SIFY"),DIC="^PRCF(421," D EN1^DIP Q
  1. Q
  1. WAIT ;
  1. W !,"..."
  1. W $P("Whoops^Hmmm^Excuse me^Sorry","^",$R(4)+1),", "
  1. W $P($T(LIST+$R(6)),";",3)_"..."
  1. LIST ;;This may take a few moments
  1. ;;Let me put you on 'HOLD' for a second
  1. ;;Hold on
  1. ;;Just a moment, please
  1. ;;I'm working as fast as I can
  1. ;;Let me think about this for a moment
  1. ;