STANDARD DATA DICTIONARY #45.62 -- PTF ARCHIVE/PURGE HISTORY FILE FILE                                            3/24/25    PAGE 1
STORED IN ^DGP(45.62,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains a history of all Archive/Purge functions performed on the PTF file(#45). The fields in this file should not be 
updated through Fileman; they are updated by the PTF Archive/Purge options throughout the Archive/Purge process.  


              DD ACCESS: @
              RD ACCESS: d
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @

CROSS
REFERENCED BY: NAME(B), ARCHIVE DATE(C), PURGE DATE(D)



45.62,.01     NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      APR 26, 1993 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:      This field contains the name of the Archive/Purge Template. The name is automatically generated by
                                the option based on the month/year selected for the A/P process. 

                                UNEDITABLE
              CROSS-REFERENCE:  45.62^B 
                                1)= S ^DGP(45.62,"B",$E(X,1,30),DA)=""
                                2)= K ^DGP(45.62,"B",$E(X,1,30),DA)


45.62,.02     ARCHIVE USER           0;2 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      SEP 14, 1992 
              DESCRIPTION:      This field contains a pointer to the New Person File (#200) for the person who performed the
                                Archive of the PTF data.  


45.62,.03     ARCHIVE DATE           0;3 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 14, 1992 
              DESCRIPTION:      This field contains the date/time the Archive was performed. This field is updated by the Archive
                                option.  

              CROSS-REFERENCE:  45.62^C 
                                1)= S ^DGP(45.62,"C",$E(X,1,30),DA)=""
                                2)= K ^DGP(45.62,"C",$E(X,1,30),DA)


45.62,.04     ARCHIVE STATUS         0;4 SET

                                '1' FOR ARCHIVED; 
                                '0' FOR NOT ARCHIVED; 
              LAST EDITED:      SEP 14, 1992 
              DESCRIPTION:
                                This field indicates if the PTF data selected has been archived.  


45.62,.05     PURGE USER             0;5 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      SEP 14, 1992 
              DESCRIPTION:      This field contains a pointer to the New Person File (#200) for the person who performed the Purge
                                of the PTF data.  


45.62,.06     PURGE DATE             0;6 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 14, 1992 
              DESCRIPTION:      This field contains the date/time the Purge was performed. This field is updated by the Purge
                                option.  

              CROSS-REFERENCE:  45.62^D 
                                1)= S ^DGP(45.62,"D",$E(X,1,30),DA)=""
                                2)= K ^DGP(45.62,"D",$E(X,1,30),DA)


45.62,.07     PURGE STATUS           0;7 SET

                                '1' FOR PURGE DATA; 
                                '0' FOR NOT PURGED; 
              LAST EDITED:      SEP 14, 1992 
              DESCRIPTION:
                                This field indicates if the PTF data selected has been purged.  


45.62,.08     SEARCH TEMPLATE        0;8 POINTER TO SORT TEMPLATE FILE (#.401)

              LAST EDITED:      SEP 14, 1992 
              DESCRIPTION:      This field contains a pointer to the Sort Template file (#.401). The sort template contains the
                                entries selected for the PTF A/P process. Through the A/P options, the sort template is edited so
                                that only the entries that should be Archived/Purged for the date range selected will be contained
                                in the sort template.  


45.62,.09     # OF RECORDS           0;9 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      APR 05, 1993 
              HELP-PROMPT:      Type a Number between 1 and 99999999999, 0 Decimal Digits 
              DESCRIPTION:      This field contains the total number of PTF records that will be processed through the
                                Archive/Purge option for the date range selected. This number will be updated by the A/P options as
                                the A/P template is edited.  


45.62,.1      START DATE             0;10 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      APR 05, 1993 
              DESCRIPTION:
                                This field contains the Start Date for the date range to Archive/Purge PTF records.  


45.62,.11     END DATE               0;11 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      APR 05, 1993 
              DESCRIPTION:
                                This field contains the End Date for the date range to Archive/Purge PTF records. 


45.62,100     ARCHIVE/PURGE DATA     100;0   WORD-PROCESSING #45.63   (NOWRAP)

              DESCRIPTION:      This field will contain the Archive/Purge data. The data should be writen to a sequential device
                                for storage.  


                LAST EDITED:      OCT 20, 1992 
                HELP-PROMPT:      This field contains data from the PTF A/P process. 




      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 ARCHIVE USER (#.02)
                                  PURGE USER (#.05)

SORT TEMPLATE (#.401)             SEARCH TEMPLATE (#.08)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):