User Tools

Site Tools


utilitarios_cisis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
utilitarios_cisis [29/07/2007 10:50]
fernando
utilitarios_cisis [29/07/2007 10:59]
fernando
Line 17: Line 17:
  
 Estos utilitarios fueron desarrollados por [[Bireme]], y su distribución es gratuita. El código fuente permanece cerrado. Estos utilitarios fueron desarrollados por [[Bireme]], y su distribución es gratuita. El código fuente permanece cerrado.
 +
 +
  
  
Line 119: Line 121:
  
 ctlmfn <dbn> ctlmfn <dbn>
 +</​code>​
 +
 +
 +==== i2id ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility CTLMFN
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +ctlmfn <dbn>
 +</​code>​
 +
 +==== id2i ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility ID2I
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +id2i <​filein>​ [create[/​app]=]<​dbout>​ [option [option] ... ]
 +
 +options: {from/​to/​loop/​count/​offset/​tell/​id}=<​n>​
 +
 +
 +The logical record of <​filin>​ has the format:
 +
 +!ID mmmmmm
 +!vXXX!...contents of tag XXX.............
 +!vYYY!...contents of tag YYY.............
 +...
 +
 +where mmmmmm is the MFN to be loaded
 +
 +The contents of a tag may be split in 2 or more lines
 +</​code>​
 +
 +==== ifkeys ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility IFKEYS
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +ifkeys <​dbname>​ [from=<​key>​] [to=<​key>​] [+tags]
 +
 + <​dbname> ​  input inverted file
 + ​from=<​key>​ starting key
 + ​to=<​key> ​  ​ending key
 + ​+tags ​     output tag information
 + ​tell=<​n> ​  ​produce a message every each <n> keys
 +
 + ​Displays the dictionary terms preceeded by the total number of postings
 +</​code>​
 +
 +==== ifload ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility IFLOAD
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +ifload <​dbname>​ {<​file_lk1>​|void} {<​file_lk2>​|void} [<​option>​ [...]]
 +
 + <​dbname> ​              -> output inverted file
 + <​file_lk1> ​            -> sorted 10-byte link file
 + <​file_lk2> ​            -> sorted 30-byte link file
 +
 +options:
 +
 + ​master=<​name> ​         -> alternate master file
 + ​-reset ​                -> keep IF update is pending
 + ​-posts ​                -> do not load .ifp
 + ​-balan ​                -> do not rebalance the dict
 + ​tell=<​n> ​              -> tell <n> links has been loaded
 + ​+fix[/​m] ​              -> read fixed link records
 +</​code>​
 +
 +==== ifmerge ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility IFMERGE
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +ifmerge <out> <​if1>​[,​n1] <​if2>​[,​n2] [...] [<​option>​ [...]]
 +
 + <​out> ​                 -> output inverted file
 + <​if1>​[,​n1] ​            -> input inverted file #1, maxmfn#1
 + <​if2>​[,​n2] ​            -> input inverted file #2, maxmfn#2
 +  ...
 +
 +options:
 +
 + ​+mstxrf ​               -> create <out> M/F and its mstxrf <​out>​.pft
 + ​-posts ​                -> do not load .ifp
 + ​-balan ​                -> do not rebalance the dict
 + ​tell=<​n> ​              -> tell <n> keys has been loaded
 </​code>​ </​code>​
  
Line 175: Line 270:
  
    ​{+|-}control|leader|xref|dir|fields|all ​   [now] [mfrl]    ​{+|-}control|leader|xref|dir|fields|all ​   [now] [mfrl]
 +</​code>​
 +
 +==== msrt ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility MSRT
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +msrt <​dbname>​ <​keylen>​ <​keyfmt>​ [-mfn] [tell=<​n>​]
 +
 + <​dbname>​ master file to be sorted in place or <​dbn>,<​0>​
 + <​keylen>​ sort key length
 + <​keyfmt>​ format specification to generate sort keys or tag=<​n>​
 +
 + ​-mfn ​    keep the original MFNs
 + ​+del ​    ​delete duplicate tag=<​n>​ keys
 + ​tell=<​n>​ produce a message to the stderr every each <n> keys
 +</​code>​
 +
 +==== mxcp ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility MXCP
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +mxcp {in=<​file>​|<​dbin>​} [create=]<​dbout>​ [<​option>​ [...]]
 +
 +options: {from|to|loop|count|tell|offset}=<​n>​
 +         ​gizmo=<​dbgiz>​[,​tag_list>​]
 +         ​undelete
 +         clean [mintag=1] [maxtag=9999]
 +         ​period=.[,<​tag_list>​]
 +         ​repeat=%[,<​tag_list>​]
 +         ​log=<​filename>​
 +
 +
 + Ex: mxcp in create=out clean period=.,3 repeat=;,7
 +
 +      in = 3 «   Field 3 occ 1. »
 +           3 «Field 3 occ 2 . »
 +           7 « Field 7/1;Field 7/2 ;Field 7/3.»
 +
 +     out = 3 «Field 3 occ 1»
 +           3 «Field 3 occ 2»
 +           7 «Field 7/1»
 +           7 «Field 7/2»
 +           7 «Field 7/3.»
 +</​code>​
 +
 +==== mxf0 ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility MXF0
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +mxf0 <​dbname>​ [create=]<​dbnout>​ [<​tnrecs>​] [noedit] [tell=<​n>​] [total]
 +
 + <​dbname>​ input master file
 + <​dbnout>​ output master file for results
 + <​tnrecs>​ expected number of input records (default=0)
 +
 + ​noedit ​  ​suppress all leading spaces in the output data fields
 + ​tell=<​n>​ produce a message to the stderr every each <n> input records
 +
 + The following tags are output to <​dbnout>:​
 +
 +  1001: input master file name
 +  1003: date & time stamp
 +  1009: total number of records
 +  1010: number of active records
 +  1011: number of logically deleted records
 +  1012: number of physically deleted records
 +  1013: next MFN to be assigned
 +  1020: ^tTAG ^dDOCS ^oOCCS ^lMINLEN ^uMAXLEN ^nDATA BYTES
 +  1030: ^tall ^xCHRCODE ^nCHRFREQ
 +
 + Exit code is 0 if the total number of records is equal to <​tnrecs>​
 +</​code>​
 +
 +==== mxtb ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility MXTB
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +mxtb <dbn> [create=|append=]<​dbnout>​ <key> [<​key>​ ...] [<​option>​ [...]]
 +
 +keys:    keylen:​key_fmtspec
 +
 +options: {from|to|loop|count|tell|btell}=<​n>​
 +         ​tab=<​tab_val_fmt>​
 +         ​mfnsum=<#​levels>​ [{min|max}{avg|freq}=<​n>​]
 +         ​class=1000
 +         ​bool=<​expr>​
 +         ​uctab={<​file>​|ansi}
 +
 +Ex: mxtb in out len1:fmt1 len2:fmt2 len3:fmt3
 +
 +     out = 1  key/​key1_value (max len1 chars)
 +           ​2 ​ key/​key2_value (max len2 chars)
 +           ​3 ​ key/​key3_value (max len3 chars)
 +         ​998 ​ 999999999 - key_frequency
 +         ​999 ​ key_frequency
 +
 +Ex: mxtb in out len:fmt tab=Vtag
 +
 +     out = 1  key_value (max len chars)
 +         ​998 ​ 999999999 - Vtag_subtotal
 +         ​999 ​ Vtag_subtotal
 +</​code>​
 +
 +==== retag ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility RETAG
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +retag <​dbname>​ {<​retag.tab>​|unlock} [<​option>​ [...]]
 +
 + <​dbname> ​   master file to be retagged/​unlocked
 + <​retag.tab>​ retag table
 +
 +options: ​    ​{from|to|tell|shift}=<​n>​
 +
 +The retag table is a sequential file in the format:
 +
 +   <​tag>​ <new tag> ​  (max 5461 entries)
 +
 +The table:
 +
 + 24 240
 + 70 700
 +
 +changes tag 24 to 240 and 70 to 700
 </​code>​ </​code>​
utilitarios_cisis.txt · Last modified: 06/05/2009 00:00 (external edit)