source: IHS-VA_UTILITIES-XB/trunk/XBLCALL.m@ 1736

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

Modified directory structure; moved routines.

File size: 5.3 KB
RevLine 
[641]1XBLCALL ; IHS/ADC/GTH - LIST CALLABLE SUBROUTINES ; [ 02/07/97 3:02 PM ]
2 ;;4.0;XB;;Jul 20, 2009;Build 2
3 ;
4 ; This routine lists callable subroutines that are known to
5 ; this routine. To add subroutines to this routine just add
6 ; them to the end of this routine in same manner.
7 ;
8START ;
9 NEW I,X,Y
10 F I=1:1 S X=$T(@("L")+I) Q:X="" W !,$P(X,";",3),$E("...............",1,15-$L($P(X,";",3))),$P(X,";",4,99) I '(I#20) Q:'($$QUIT)
11 Q
12 ;
13QUIT() ;
14 NEW I,X,Y
15 Q $$DIR^XBDIR("E")
16 ;
17STARDATE(X) ; Return Stardate of FM date/time.
18 I X'?7N.1".".6N Q -1
19 NEW Y
20 S Y=$P(X,".",2),Y=+$E(Y,1,2)/24+(+$E(Y,3,4)/(60*24))+(+$E(Y,5,6)/(60*60*24))
21 Q $FN($E(X,3,7)+Y,"-",2)
22 ;
23L ;
24 ;;^XBCLS;Clears the screen
25 ;;EP^XBCLM(STR);Lists numbered column headings over the passed string
26 ;;^XBDAD0;Returns DA array for D0,D1, etc. or vice versa
27 ;;KILL^XBDAD0;KILL D0, D1, ETC.
28 ;;^XBDATE;Limits selected routines to those edited after given date
29 ;;^XBDBQUE;Double Q'uing shell handler
30 ;;^XBDIE;Exclusive NEW of Kernel vars for nesting DIE calls
31 ;;^XBDIFF;Returns difference between two date/times
32 ;;$$DIC^XBDIQ1(FN);Extrensic entry to return DIC from global
33 ;;EN^XBDIQ1;Returns single entries
34 ;;ENM^XBDIQ1;Returns multiple entries
35 ;;ENP^XBDIQ1(DIC,DA,DR,DIQ,FMT);Param pass into EN
36 ;;ENPM^XBDIQ1(DIC,DA,DR,DIQ,FMT);Param pass into EN
37 ;;PARSE^XBDIQ1(DA);Parse DA literal into da array
38 ;;$$VAL^XBDIQ1(DIC,DA,DR);Return a value for a field
39 ;;$$VALI^XBDIQ1(DIC,DA,DR);Return internal value for a field
40 ;;$$DIR^XBDIR();Standard interface to Reader
41 ;;EN1^XBDSET;Return FileMan dictionaries
42 ;;EN^XBENHANCE(NS);Print enhancements from PACKAGE given namespace
43 ;;FLD^XBFDINFO(FILE,FIELD,ROOT);Return field info from dd
44 ;;^XBFMK;Kills variables left around by FileMan
45 ;;EN1^XBFRESET;Reset global(s), confirm with user
46 ;;EN2^XBFRESET;Reset global(s), do not confirm with user
47 ;;^XBGXFR;Copies global to another global
48 ;;^XBGXREFS;Returns xrefs for file/subfile,field
49 ;;$$C^XBFUNC(X,Y);Center X in field length Y/IOM/80.
50 ;;$$CV^XBFUNC(N);Return current version for package with namespace N
51 ;;$$DECFRAC^XBFUNC(DECIMAL VALUE);returns fraction equivilent
52 ;;$$FNDPATRN^XBFUNC(STR,PAT);finds pattern in string
53 ;;$$GDT^XBFUNC(JDT);Return Gregorian Date, given Julian Date.
54 ;;$$GETPATRN^XBFUNC(STR,PAT);returns pattern from string
55 ;;$$INTSET^XBFUNC(FILE,FIELD,EXTVAL);returns internal value
56 ;;$$JDT^XBFUNC(FMDT);Return Julian Date, given FM date.
57 ;;$$EXTSET^XBFUNC(FILE,FIELD,INTVAL);returns external value
58 ;;$$LOC^XBFUNC;Return location name from file 4 based on DUZ(2).
59 ;;$$USR^XBFUNC;Return name of current user for ^VA(200.
60 ;;$$PROVCLS^XBFUNC1(PROV,FORM);Return Provider Class from New Person
61 ;;$$PROVCLSC^XBFUNC1(PROV);Return Provider Class Code given New Person IEN
62 ;;$$PCCPPINT^XBFUNC2(VISIT);Return primary provider ien from 200
63 ;;$$PCCPPN^XBFUNC2(VISIT);Return visit primary provider (NAME)
64 ;;$$PCCPPI^XBFUNC2(VISIT);Return visit primary provider (INITIALS)
65 ;;$$PCCPPCLS^XBFUNC2(VISIT,FORM);Return visit primary provider class (CODE)
66 ;;$$PCCPPCLC^XBFUNC2(VISIT);Return visit primary provider class (CODE)
67 ;;$$PCCPPAFF^XBFUNC2(VISIT,FORM);Return visit primary provider (affiliation)
68 ;;^XBGSAVE;Generic global save for transmission globals
69 ;;HELP^XBHELP(L,R,T);Display text beginning at label L of routine R
70 ;;EN1^XBKD;Kill DICs and globals, info in vars
71 ;;EN2^XBKD;Kill DICs and globals, info in ^UTILITY("XBDSET",$J)
72 ;;^XBKERCLN;Clean out kernel namespace items prior to install
73 ;;^XBKTMP;KILL nodes in ^TMP( that have $J as 1st or 2nd subscripts
74 ;;^XBKVAR;Set minimum Kernel vars
75 ;;ARRAY^XBLM(AR,HDR);Display array that has (...,n,0) structure
76 ;;DIQ^XBLM(DIC,DA);Display DIC and DA after call to EN^DIQ
77 ;;FILE^XBLM(DIR,FN);Read file into the TMP global for display
78 ;;GUID^XBLM(ROU,Y);Give routine and target array for FM prints
79 ;;GUIR^XBLM(ROU,Y);Give routine and target array
80 ;;SFILE^XBLM;Select a host file for display
81 ;;VIEWD^XBLM(ROU);Use ROU to print to a host file for viewing
82 ;;VIEWR^XBLM(ROU,HDR);Use ROU to print to a host file for viewing
83 ;;EN^XBLZRO;List 0th nodes of pre-selected list of FileMan files
84 ;;MAIL^XBMAIL(NS,REF);Send mail msg to holders of NS* security key
85 ;;EN^XBNEW(XBRET,XBNS);Nest Die calls, "TAG^ROUTINE:VAR;NSVAR*"
86 ;;^XBOFF;Set reverse video off
87 ;;^XBON;Set reverse video on
88 ;;PFTV^XBPFTV(FILE,ENTRY,VALUE);Returns terminal value for pointer
89 ;;^XBPKDEL;Delete parts of package, namespace in XBPKNSP
90 ;;EN1^XBRESID;Clean up residuals in ^DD from XBRLO to XBRHI
91 ;;EN^XBRPTL;Print routines down to first label
92 ;;EN^XBSFGBL(SUBFILE,ref,FORM);Return global ref of file or sub-file.
93 ;;^XBSITE;Ask user to select site to set DUZ(2)
94 ;;SET^XBSITE;Request set of DUZ(2) from applications
95 ;;^XBUPCASE;Upcases value in X
96 ;;EN^XBVIDEO(X);Set video attribute in X, return cursor
97 ;;EN^XBVK(NS);KILLS local variables in the passed namespace
98 ;;^XBVL;List variables in the selected namespace
99 ;;$$KILLOK^ZIBGCHAR(G);Allow kill of global G
100 ;;$$KILLNO^ZIBGCHAR(G);Prevent kill'ing of global G
101 ;;$$JOURN^ZIBGCHAR(G);Set Journaling to ALWAYS for global G
102 ;;$$NOJOURN^ZIBGCHAR(G);Set Journaling for global G to NEVER
103 ;;$$UCIJOURN^ZIBGCHAR(G);Journal global G when UCI is Journaled
104 ;;$$ERR^ZIBGCHAR(#);Return cause of error #
105 ;;$$Z^ZIBNSSV(ERR);Return values of Non-Standard ($Z) Special Variables
106 ;;^ZIBRUN;Sets $T based on whether routine in X is running
107 ;;$$RSEL^ZIBRSEL(NS,Y);Select a list or range of routines
Note: See TracBrowser for help on using the repository browser.