Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details |  All
Print Page as PDF
Sub-Field: .4011624

Package: VA Fileman

SORT TEMPLATE(#.401)-->.4011624

Sub-Field: .4011624


Information

Parent File Name Number Package
SORT TEMPLATE(#.401) SORT RANGE DATA FOR BY(0) .4011624 VA Fileman

Details

Field # Name Loc Type Details
.01 SUBSCRIPT LEVEL 0;1 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  AUG 28, 1996
  • HELP-PROMPT:  Enter a number, 1 or more. L(0)-1 is the upper limit.
  • DESCRIPTION:  This field corresponds to a subscript in, and contains sort from/to ranges and/or subheader information for, any of the variable subscripts in the BY(0) global. Any number here should never be greater than L(0)-1. This
    can represent a sparse array.
  • TECHNICAL DESCR:  
    Corresponds to subscript levels in the BY(0) global, and will be used to put sort from/to and subheader information into the DPP array when the sort data is being built.
  • CROSS-REFERENCE:  .4011624^B
    1)= S ^DIBT(DA(1),"BY0D","B",$E(X,1,30),DA)=""
    2)= K ^DIBT(DA(1),"BY0D","B",$E(X,1,30),DA)
1 FR(0,n) 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>62!($L(X)<1) X
  • LAST EDITED:  AUG 28, 1996
  • HELP-PROMPT:  Starting value for the sort on this subscript. Answer must be 1-62 characters in length.
  • DESCRIPTION:  Use this field to define the FR(0,n) variable as you would in a call to EN1^DIP that included BY(0). If defined, the value will be used as the starting point as FileMan sequences through the global array referenced by
    BY(0) at this subscript level (n).
    Values are not transformed, so enter the internal form just as it is stored in the global array.  A date, for example, would be 2960829, not Aug 29, 1996.
    Don't attempt to use the at-sign (@) to include records with null values (as can be done in ordinary sorts).  Only use values that can be compared with actual data in this subscript of the global array referenced by
    BY(0).  (The only records that can be selected are ones that exist in this global array.  A record with a null value for this subscript would exist in the data file but not in this array and thus can't be selected.)
  • TECHNICAL DESCR:  
    Equivalent to the FR(0,n) input variable to the programmer call EN1^DIP.
2 TO(0,n) 0;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>62!($L(X)<1) X
  • LAST EDITED:  AUG 28, 1996
  • HELP-PROMPT:  Ending value for sort on this subscript. Answer must be 1-62 characters in length.
  • DESCRIPTION:  Use this field to define the TO(0,n) variable as you would in a call to EN1^DIP that included BY(0). If defined, the value will be used as the ending point as FileMan sequences through the global array referenced by
    BY(0) at this subscript level (n).
    Values are not transformed, so enter the internal form just as it is stored in the global array.  An inverse date, for example, would be 7039268, not 7/31/96.  Do not attempt to use @ to select records with null values
    for this subscript.
  • TECHNICAL DESCR:  
    Equivalent to the TO(0,n) input variable to the programmer call EN1^DIP.
3.1 DISPAR(0,n) PIECE ONE 1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1)!("#!#"'[X) X
  • LAST EDITED:  SEP 10, 1996
  • HELP-PROMPT:  Answer with #, !, #!, or null.
  • DESCRIPTION:  Just as when setting the first piece of DISPAR(0,n) in a programmer call that includes BY(0) when calling EN1^DIP, this field can hold the sort qualifiers for page breaks (#) or rankings (!).
    The # and/or ! are the only qualifiers that can be used.  Others, such as + for subtotals, cannot be used.
  • TECHNICAL DESCR:  
    Equivalent to the 1st piece of DISPAR(0,n) in the EN1^DIP call.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
3.2 DISPAR(0,n) PIECE TWO 1;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1)!'((X[";""")!(X[";L")!(X[";C")!(X[";S")) X
  • LAST EDITED:  SEP 11, 1996
  • HELP-PROMPT:  Answer with qualifiers like ;"" or ;S2;C10;L30;"VALUE: "
  • DESCRIPTION:  As when defining the second piece of DISPAR(0,n) in a programmer call that includes BY(0) when calling EN1^DIP, this field can hold the sort qualifiers that normally appear after a sort-by field in interactive mode. The
    ones that can be used are as follows:
    ;""         to have the subheader appear
    ;"caption"  to give the subheader a caption
    ;Ln         to left-justify the subheader to n characters
    ;Cn         to start the display in the nth column
    ;Sn         to skip n lines before each subheader
    If this field is null, subheaders are supressed (@ is assumed).
  • TECHNICAL DESCR:  
    Equivalent to the 2nd piece of DISPAR(0,n) in the EN1^DIP call.  Note that if DISPAR(0,n) is defined, subheaders will appear even if used with a print template that normally suppresses subheaders.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
4 DISPAR(0,n,OUT) 2;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  AUG 29, 1996
  • HELP-PROMPT:  Enter code to transform subscript. This is Standard M code.
  • DESCRIPTION:  As when defining DISPAR(0,n,"OUT") for a call to EN1^DIP that includes BY(0), enter M code that will transform the sort-by value for this subscript (n) when it is output (e.g. printed). At the time the code is executed
    the untransformed value of the subscript will be in Y.  The code should put the transformed value back into Y.
    For example, for an inverse date, S:Y Y=99999999-Y S Y=$$FMTE^XLFDT(Y)"
  • TECHNICAL DESCR:  
    Equivalent to the DISPAR(0,n,"OUT") input variable to the programmer call EN1^DIP.
    WRITE AUTHORITY:  @
Info |  Details |  All