source: IHS-VA_UTILITIES-XB/trunk/XB1.m@ 1511

Last change on this file since 1511 was 642, checked in by Sam Habiel, 15 years ago

Modified directory structure; moved routines.

File size: 6.4 KB
Line 
1XB1 ; IHS/ADC/GTH - XB MENUS AND DOCUMENTATION ; [ 12/29/2004 11:11 AM ]
2 ;;4.0;XB;;Jul 20, 2009;Build 2
3 ; XB*3*9 IHS/SET/GTH XB*3*9 10/29/2002 Cache' mods.
4 ;
5 ; Each label represents a menu. The label must begin with
6 ; "M" and be followed by 1 or more 1 digit numbers 1-9.
7 ; Each digit represents the link # of the parent option.
8 ; E.G. 'M1' is the label for submenu options for the main
9 ; menu option with a link # of 1. 'M11' would be the label
10 ; for subsubmenu options for the option in 'M1' with a link
11 ; # of 1. Within a menu options are listed and selected
12 ; positionally. The only purpose of the link # is to link
13 ; options to their parent menu. Example:
14 ;
15 ; M1 ;;FILES/DICTIONARIES
16 ; ;;Submenu example one;;1
17 ; ;;Submenu example two;;2
18 ; M11 ;;SUBMENU ONE
19 ; ;;Submenu option;;^ROUTINEX
20 ; M12 ;;SUBMENU TWO
21 ; ;;Submenu option;;^ROUTINEY
22 ;
23 ; This label naming technique allows the menu tree to go
24 ; to seven levels. No more than nine options on one menu
25 ; may also be menus.
26 ;
27 ; For menu options the 2nd ";;" piece is the title, the 3rd
28 ; ";;" piece must be a number if the option is a submenu, a
29 ; valid routine or label^routine or executable code if the
30 ; 3rd piece begins with a !. The code following the ! will
31 ; be placed in a variable and the variable will be executed.
32 ; A P in the 4th ";;" piece indicates pause after execution.
33 ;
34M ;;MAIN XB UTILITY MENU
35 ;;Files/dictionaries;;1
36 ;;Globals;;2
37 ;;Routines;;3
38 ;;Miscellaneous;;4
39 ;;Developers;;5
40 ;;Check ^XB options and patch level;;CHECK^XB;;P;;IHS/SET/GTH XB*3*9 10/29/2002
41M1 ;;FILES/DICTIONARIES
42 ;;List fields;;^XBFLD
43 ;;List 0th nodes;;^XBLZRO;;P
44 ;;Check regular xrefs;;^XBCFXREF;;P
45 ;;Selective RE-INDEX;;^XBRXREF
46 ;;Compare dictionary in two UCIs/Namespaces;;^XBFCMP;;P;;IHS/SET/GTH XB*3*9 10/29/2002
47 ;;Search for routines executed from dictionary;;^XBRSRCH
48 ;;Fix 0th nodes;;^XBCFIX;;P
49 ;;Count entries in file;;^XBCOUNT
50 ;;FileMan;;P^DI
51 ;;Delete dictionaries;;^XBKD
52 ;;Clean dictionaries [caution];;^XBCDIC
53 ;;List file attributes in various ways;;1;;IHS/SET/GTH XB*3*9 10/29/2002
54 ;;Files Marked For Deletion;;!N L,DIC,BY,FLDS S L=0,DIC=1,(BY,FLDS)="[XB - FILES MARKED FOR DELETION]" D EN1^DIP;;P;;IHS/SET/GTH XB*3*9 10/29/2002
55 ;;Fields Marked For Deletion;;^XBLFMD;;P;;IHS/SET/GTH XB*3*9 10/29/2002
56 ;;Print File IDs, Specifiers, and Conditionals;;^XBSIC;;P;;IHS/SET/GTH XB*3*9 10/29/2002
57M11 ;;LIST FILE ATTRIBUTES IN VARIOUS WAYS;;IHS/SET/GTH XB*3*9 10/29/2002
58 ;;List Files, inc. Number, Name, Global, opt Desc.;;^XBLFD;;P;;IHS/SET/GTH XB*3*9 10/29/2002
59 ;;List Fields for RIM Modeling;;^XBLFAM;;P;;IHS/SET/GTH XB*3*9 10/29/2002
60 ;;List Fields for CodeSets (RTM) Modeling;;^XBLFSETS;;P;;IHS/SET/GTH XB*3*9 10/29/2002
61M2 ;;GLOBALS
62 ;;List global;;!D LG^ZIBVSS
63 ;;Directory of selected globals;;^ZIBGD;;P
64 ;;Count unique values;;^XBCNODE
65 ;;List high entry number;;^XBGLDFN;;P
66 ;;Copy to another global in same UCI/Namespace;;^XBGC;;;;IHS/SET/GTH XB*3*9 10/29/2002
67 ;;Copy global to another UCI/Namespace;;!D CG^ZIBVSS;;;;IHS/SET/GTH XB*3*9 10/29/2002
68 ;;Search global for value;;!D GSE^ZIBVSS
69 ;;Global edit;;!D GE^ZIBVSS
70 ;;Change global value;;!D GCH^ZIBVSS
71 ;;Global size/efficiency;;!D GSZE^ZIBVSS;;P
72 ;;Global characteristics;;!D GCHR^ZIBVSS
73 ;;Global delete;;!D GDEL^ZIBVSS
74 ;;Global restore;;!D GR^ZIBVSS
75 ;;Global save;;!D GS^ZIBVSS
76 ;;Find control chrs in globals;;^ZIBGCHR
77 ;;Compare Two Globals;;^XBGCMP
78M3 ;;ROUTINES
79 ;;List routines in various ways;;1
80 ;;Compare routines in two UCIs/Namespaces;;!D RCMP^ZIBVSS;;P;;IHS/SET/GTH XB*3*9 10/29/2002
81 ;;Restore routines;;!D RR^ZIBVSS
82 ;;Save routines;;!D RS^ZIBVSS
83 ;;Routine size;;^XBRSIZ;;P
84 ;;Delete routines;;!D RDEL^ZIBVSS;;P;;IHS/SET/GTH XB*3*9 10/29/2002
85 ;;Search routines for values (OR);;!D RSE^ZIBVSS;;P;;IHS/SET/GTH XB*3*9 10/29/2002
86 ;;Search routines for values (AND);;!D RSAND^ZIBVSS
87 ;;Find routines by edit date;;!D NEWED^ZIBVSS;;P
88 ;;Full screen editor;;!D REDIT^ZIBVSS
89 ;;Routine change;;!D RCHANGE^ZIBVSS
90 ;;Routine copy;;!D RCOPY^ZIBVSS
91 ;;Directory of selected routines;;^ZIBRD;;P
92 ;;Scan UCIs/Namespaces for routine;;^ZIBFR;;P;;IHS/SET/GTH XB*3*9 10/29/2002
93 ;;Run routine;;!R " Enter routine name: ",Y:30 Q:'$T S:Y'["^" Y="^"_Y S X=$P(Y,"^",2),X=$P(X,"(",1) X ^%ZOSF("TEST") W:'$T " huh? ",*7 I $T D @Y
94M31 ;;LIST ROUTINES
95 ;;List first one/two lines;;^%ZTP1;;P
96 ;;List to first label;;^XBRPTL;;P
97 ;;List routines;;!D RPRT^ZIBVSS;;P
98 ;;List routines by edit date;;^XBRPRTBD
99 ;;VA routine lister;;^%ZTPP;;P
100 ;;List one routine with character counts;;^XBRLL;;P
101 ;;%INDEX;;^%INDEX
102 ;;Flow chart from entry point;;^XTFCE
103 ;;Flow chart entire routine;;^XTFCR
104 ;;List routines by patch number;;^XBPATSE;;P
105M4 ;;MISCELLANEOUS
106 ;;Error report;;!D ER^ZIBVSS;;P;;IHS/SET/GTH XB*3*9 10/29/2002
107 ;;List ^UTILITY nodes for current job;;^XBLUTL;;P
108 ;;Kill ^UTILITY nodes for current job;;^%ZIBCLU0
109 ;;Cleanup utility globals in all UCIs;;EN^ZIBCLU
110 ;;Cleanup utility globals in current UCI;;EN^%ZIBCLU0
111 ;;Fix 'PT' nodes in all files;;^XBFIXPT
112 ;;Convert non-DINUM data global to DINUM;;^XBDINUM
113 ;;Check UCI routines against package file;;^ZIBCKPKG;;P
114 ;;Display FileMan installation data;;^ZIBFMD;;P
115 ;;Renamespace routines;;^ZIBRNSPC;;P
116 ;;Number base changer;;^XTBASE
117 ;;Print a Help Frame manual;;^XBHFMAN
118 ;;List Local Variables, by Namespace;;MESSAGE^XBVL;;P
119 ;;Print XB/ZIB Technical Manual;;^XBTM
120 ;;Check Patient Globals;;^XBPATC;;P
121M5 ;;DEVELOPERS
122 ;;Generate ^DIR call;;^XBDR;;P
123 ;;Standardize line 1 of routines;;^XBFIXL1
124 ;;Set version line;;^XBVLINE
125 ;;Set dictionary version numbers;;^XBDICV;;P
126 ;;Set no delete;;^XBNODEL;;P
127 ;;Set audit;;^XBSAUD;;P
128 ;;Set authorities;;^XBSAUTH;;P
129 ;;Analyze file for specifiers;;^XBCSPC
130 ;;Delete namespaced OPTIONS, KEYS, etc.;;RUN^XBPKDEL;;P
131 ;;List namespaced OPTIONS, KEYS, etc.;;LIST^XBPKDEL;;P
132 ;;Build pre-init routine;;^XBBPI
133 ;;Build integ routine;;^XBSUMBLD
134 ;;List callable subroutines;;^XBLCALL;;P
135 ;;Reset file data globals *** DANGER ***;;^XBFRESET
136 ;;Edit FM print template headers;;^XBDH
137 ;;List retired/replaced packages;;LIST^XBPKDEL1;;P;;XB*3*8
138 ;;Delete retired/replaced packages;;DECERT^XBPKDEL1;;P;;XB*3*8
139 ;;Edit File attribute for selected File(s);;^XBDDEDIT;;P;;IHS/SET/GTH XB*3*9 10/29/2002
140 ;;Move files into PACKAGE file FILE multiple;;^XBPKG;;P;;IHS/SET/GTH XB*3*9 10/29/2002
141 ;;Set dd audit;;^XBSDDAUD;;P;;IHS/SET/GTH XB*3*9 10/29/2002
142 ;;dd Field Numbering Conventions;;^XBFNC;;P;;IHS/SET/GTH XB*3*9 10/29/2002
143 ;;Options and Security Keys;;^XBSECK;;P;;IHS/SET/GTH XB*3*9 10/29/2002
Note: See TracBrowser for help on using the repository browser.