DICL ;SEA/TOAD,SF/TKW-VA FileMan: Lookup: Lister ;28APR2012
Source file <DICL.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
LIST(DIFILE,DIFIEN,DIFIELDS,DIFLAGS,DINUMBER,DIFROM,DIPART,DINDEX,DISCREEN,DIWRITE,DILIST,DIMSGA,DIC) | ;
; ENTRY POINT--return a list of entries from a file ; (Note: DIC parameter only passed if called from ^DICQ) |
|
IN | ; Entry point from LIST^DIC
|
|
INPUT | ; Validate input parameters
|
|
OUTPUT | ; Establish output file name, starting output subscript no.
|
|
FILE | ; Validate file number and IENS.
|
|
CHECKS | ;
|
|
IXANDID | ; Gather information about index and field data to be returned.
|
|
IXNAME | ; Set default index name if null.
|
|
BADQ | ||
BRANCH | ; Continue on to actual search.
|
|
DINDEX(DIFILE,DIFLAGS) | ; Set DINDEX to index name for KEY. Also called at top of ^DIC & by DICF & DICF2
|
|
ERROUT | ||
OUT |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD("IX" - [#.11] | DINDEX+4 |
^DD("KEY" - [#.31] | DINDEX+3, DINDEX+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DIC | LIST~ |
DICLERR | IN+3~*, OUT, OUT+1 |
DID | INPUT+6~*, INPUT+7 |
DIDENT | INPUT+1~, BADQ+3 |
DIDENT( | INPUT+8* |
DIERN | INPUT+1~, CHECKS+1*, CHECKS+4*, ERROUT |
DIERR | IN+3!, OUTPUT+2, FILE+2, BADQ, BADQ+4, OUT, OUT+1* |
DIFIELDS | LIST~, INPUT+4*, INPUT+5, INPUT+6, BADQ+3 |
DIFIEN | LIST~, FILE+1 |
DIFILE | LIST~, FILE+1, FILE+3, IXNAME+3, IXNAME+4, BADQ+3, DINDEX~, DINDEX+3 |
DIFLAGS | LIST~, INPUT+2*, INPUT+3*, INPUT+7, INPUT+17, OUTPUT+2, FILE+1, FILE+3, CHECKS+1, CHECKS+2* , IXNAME+2, IXNAME+3, IXNAME+4, BADQ+3, DINDEX~, DINDEX+2 |
DIFM | IN+2~* |
DIFROM | LIST~, INPUT+11, FILE+2*, IXNAME+4 |
DIFROM( | INPUT+13, INPUT+14, BADQ+2 |
DIFROM("IEN" | INPUT+16*, FILE+2* |
DIFROM(1 | INPUT+11*, INPUT+12 |
DIGFT | IXNAME+1~ |
DIGFTEMP | IXNAME+1~, BRANCH+2 |
DILIST | LIST~, OUTPUT+1*, OUTPUT+3, OUTPUT+5*, OUTPUT+7, IXNAME+4 |
DILIST("ORDER" | OUTPUT+8*, OUTPUT+11* |
DIMSGA | LIST~, OUT+2 |
DINDEX | LIST~, INPUT+18*, IXNAME+3*, IXNAME+4, BADQ+1, BADQ+2, BADQ+3 |
DINDEX("#" | BADQ+2 |
DINDEX("WAY" | INPUT+17*, OUTPUT+8, OUTPUT+9, OUTPUT+10* |
DINUMBER | LIST~, INPUT+9*, OUTPUT+8, OUTPUT+9, CHECKS+3, IXNAME+4 |
DIOUT | IXANDID+1~*, IXNAME+4, BADQ |
DIPART | LIST~, INPUT+10, IXNAME+4 |
DIPART( | BADQ+2 |
DIPART(1 | INPUT+10* |
DIPE | INPUT+1~, ERROUT |
DIPE(1 | CHECKS+1*, CHECKS+4* |
DIQUIET | IN+1~* |
DISCREEN | LIST~, INPUT+19, FILE+3, IXNAME+4, BADQ+1 |
DISCREEN("S" | INPUT+19* |
DISCREEN("V" | BADQ+1 |
DIWRITE | LIST~, INPUT+21*, BADQ+3 |
E | INPUT+13~*, INPUT+14 |
I | INPUT+14~*, DINDEX+1~, DINDEX+3*, DINDEX+4 |
U | DINDEX+4, OUT+1 |
X | DINDEX+1~*, DINDEX+4*, DINDEX+5 |