Annotation of freem_fileman/DINIT255.m, revision 1.1.1.1

1.1       snw         1: DINIT255       ;SFISC/MLH-FILEGRAM ERROR LOG ;9/9/94  14:26
                      2:        ;;21.0;VA FileMan;;Dec 28, 1994
                      3:        ;Per VHA Directive 10-93-142, this routine should not be modified.
                      4:        F I=1:2 S X=$T(Q+I) G ^DINIT26:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
                      5: Q      Q
                      6:        ;;^DIC(1.13,"%D",0)
                      7:        ;;=^^2^2^2930712^
                      8:        ;;^DIC(1.13,"%D",1,0)
                      9:        ;;=This file stores information about Filegram errors and the text
                     10:        ;;^DIC(1.13,"%D",2,0)
                     11:        ;;=of the affected Filegrams.
                     12:        ;;^DD(1.13,0,"IX","B",1.13,.01)
                     13:        ;;=
                     14:        ;;^DIC("B","FILEGRAM ERROR LOG",1.13)
                     15:        ;;=
                     16:        ;;^DD(1.13,0)
                     17:        ;;=FIELD^^2100^4
                     18:        ;;^DD(1.13,0,"DDA")
                     19:        ;;=N
                     20:        ;;^DD(1.13,0,"DT")
                     21:        ;;=2900904
                     22:        ;;^DD(1.13,0,"NM","FILEGRAM ERROR LOG")
                     23:        ;;=
                     24:        ;;^DD(1.13,.001,0)
                     25:        ;;=FILEGRAM NUMBER^NJ6,0^^ ^K:+X'=X!(X>999999)!(X<1)!(X?.E1"."1N.N) X
                     26:        ;;^DD(1.13,.001,3)
                     27:        ;;=Type a Number between 1 and 999999, 0 Decimal Digits
                     28:        ;;^DD(1.13,.001,23,0)
                     29:        ;;=^^1^1^2900904^
                     30:        ;;^DD(1.13,.001,23,1,0)
                     31:        ;;=Filegram number
                     32:        ;;^DD(1.13,.001,"DT")
                     33:        ;;=2900904
                     34:        ;;^DD(1.13,.01,0)
                     35:        ;;=LINE OF ERROR^RNJ5,0^^0;1^K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
                     36:        ;;^DD(1.13,.01,1,0)
                     37:        ;;=^.1
                     38:        ;;^DD(1.13,.01,1,1,0)
                     39:        ;;=1.13^B
                     40:        ;;^DD(1.13,.01,1,1,1)
                     41:        ;;=S ^DIAR(1.13,"B",$E(X,1,30),DA)=""
                     42:        ;;^DD(1.13,.01,1,1,2)
                     43:        ;;=K ^DIAR(1.13,"B",$E(X,1,30),DA)
                     44:        ;;^DD(1.13,.01,3)
                     45:        ;;=Type a Number between 1 and 99999, 0 Decimal Digits
                     46:        ;;^DD(1.13,.01,23,0)
                     47:        ;;=^^2^2^2900904^
                     48:        ;;^DD(1.13,.01,23,1,0)
                     49:        ;;=Line number returned in second piece of DIFGER indicating filegram line
                     50:        ;;^DD(1.13,.01,23,2,0)
                     51:        ;;=where error occurred
                     52:        ;;^DD(1.13,.01,"DT")
                     53:        ;;=2900904
                     54:        ;;^DD(1.13,.02,0)
                     55:        ;;=ERROR CODE^NJ2,0^^0;2^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
                     56:        ;;^DD(1.13,.02,3)
                     57:        ;;=Type a Number between 1 and 99, 0 Decimal Digits
                     58:        ;;^DD(1.13,.02,23,0)
                     59:        ;;=^^2^2^2900904^
                     60:        ;;^DD(1.13,.02,23,1,0)
                     61:        ;;=Error code returned in first piece of DIFGER indicating type of
                     62:        ;;^DD(1.13,.02,23,2,0)
                     63:        ;;=installation error
                     64:        ;;^DD(1.13,.02,"DT")
                     65:        ;;=2900904
                     66:        ;;^DD(1.13,2100,0)
                     67:        ;;=FILEGRAM^1.1321^^21;0
                     68:        ;;^DD(1.13,2100,23,0)
                     69:        ;;=^^1^1^2900904^
                     70:        ;;^DD(1.13,2100,23,1,0)
                     71:        ;;=Text of the filegram
                     72:        ;;^DD(1.1321,0)
                     73:        ;;=FILEGRAM SUB-FIELD^^.01^1
                     74:        ;;^DD(1.1321,0,"DT")
                     75:        ;;=2900904
                     76:        ;;^DD(1.1321,0,"NM","FILEGRAM")
                     77:        ;;=
                     78:        ;;^DD(1.1321,0,"UP")
                     79:        ;;=1.13
                     80:        ;;^DD(1.1321,.01,0)
                     81:        ;;=FILEGRAM^WL^^0;1^Q
                     82:        ;;^DD(1.1321,.01,"DT")
                     83:        ;;=2900904

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>